18 lines
407 B
MySQL
18 lines
407 B
MySQL
|
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>');
|