1 Star 0 Fork 41

zhjmcp/力扣刷题

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
删除重复的邮件.sql 332 Bytes
一键复制 编辑 原始数据 按行查看 历史
姚振鑫 提交于 2020-05-12 10:37 +08:00 . sql
Create table Person
(
Id int primary key identity(1,1) not null,
Email varchar(255) not null,
)
insert into Person(Email) values ('john@example.com'),('bob@example.com'),('john@example.com ')
delete
p1
from
Person p1,
Person p2
where
(p1.email = p2.email) and (p1.id > p2.id)
select Email from Person
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
SQL
1
https://gitee.com/zhjmcp/leet_code_sql.git
git@gitee.com:zhjmcp/leet_code_sql.git
zhjmcp
leet_code_sql
力扣刷题
master

搜索帮助