我需要创建一个视图来生成在特定日期没有条目的员工,我的架构:
employee_master:
employee_id (int)
employee_name (varchar)
employee_time:
employee_id (int)
employee_start_tm (datetime)
employee_end_tm (datetime)
以下 sql 语句列出了在特定日期确实有条目的所有员工:
select employee_master.employee_name , employee_time.employee_start_tm
from employee_master inner join on employee_master.employee_id = employee_time.employee_id;
我想要与此相反的,没有条目的员工?