保存进度!
This commit is contained in:
17
code/db/twr_常用.sql
Normal file
17
code/db/twr_常用.sql
Normal file
@@ -0,0 +1,17 @@
|
||||
select *
|
||||
from twr_telsaler_team;
|
||||
|
||||
|
||||
|
||||
SELECT ry.<EFBFBD><EFBFBD>Ա<EFBFBD><EFBFBD><EFBFBD><EFBFBD>,
|
||||
ry.<EFBFBD><EFBFBD>Ա<EFBFBD><EFBFBD><EFBFBD><EFBFBD>,
|
||||
team.team_code,
|
||||
team.team_name,
|
||||
bm.department_code,
|
||||
bm.department_name
|
||||
FROM twr_telsaler ry,
|
||||
twr_telsaler_team team,
|
||||
idst0.bm_t bm
|
||||
WHERE ry.<EFBFBD>Ŷ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> = team.team_name
|
||||
AND team.department_code = bm.department_code
|
||||
AND (ry.<EFBFBD><EFBFBD>Ա<EFBFBD><EFBFBD><EFBFBD><EFBFBD> = '<EFBFBD><EFBFBD>С<EFBFBD><EFBFBD>' OR ry.<EFBFBD><EFBFBD>Ա<EFBFBD><EFBFBD><EFBFBD><EFBFBD> = '<EFBFBD><EFBFBD>С<EFBFBD><EFBFBD>');
|
Reference in New Issue
Block a user