desktop_task_schedule/code/db/twr_常用.sql

18 lines
407 B
SQL

select *
from twr_telsaler_team;
SELECT ry.,
ry.,
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. = team.team_name
AND team.department_code = bm.department_code
AND (ry. = '何小红' OR ry. = '何小红');