📌  相关文章
📜  如何在另一个表中选择没有匹配条目的行? - SQL 代码示例

📅  最后修改于: 2022-03-11 15:05:13.286000             🧑  作者: Mango

代码示例1
SELECT Name, Gender,country, Salary, DeptName   
FROM tbl_Employee  
LEFT OUTER JOIN tbl_Department  
ON tbl_Employee.DepartmentId = tbl_Department.DeptId  
where tbl_Employee.DepartmentId is null