查詢財務部在1966年以前出生員工的姓名及其收入和支出。
select 姓名,收入,支出,出生日期
from employees right outer join salary on employees.編號=salary.編號
join departs on employees.部門號=departs.部門號
where employees.出生日期 >1996;
轉載請註明出處,本文鏈接:https://www.uj5u.com/shujuku/272381.html
標籤:MySQL
下一篇:庫存查詢求指點
