43.从不订购的客户

某网站包含两个表,Customers 表和 Orders 表。编写一个 SQL 查询,找出所有从不订购任何东西的客户。

select Name 'Customers' from customers where Id not in (select CustomerId from Orders) 

 

posted @ 2022-03-14 08:47  随遇而安==  阅读(24)  评论(0编辑  收藏  举报