摘要: 从不订购的客户 sql 编程 1. 地址 https://leetcode-cn.com/problems/customers-who-never-order/ 2. 解法 子查询 select Name as Customers from Customers where Id not in ( s 阅读全文
posted @ 2020-06-14 13:18 吴丹阳-V 阅读(136) 评论(0) 推荐(0) 编辑
摘要: 查找重复的电子邮箱 sql 编程 1. 地址 https://leetcode-cn.com/problems/duplicate-emails/ 2. 解法 内连接,或者多表查询 email 相同,但是 id 不同的行 select distinct p1.Email from Person p1 阅读全文
posted @ 2020-06-14 13:14 吴丹阳-V 阅读(177) 评论(0) 推荐(0) 编辑