表数据:
id email number
1 [email protected] 00001
2 [email protected] 00001
3 [email protected] 00002
4 [email protected] 00002
需要的结果是: id email number
1 [email protected] 00001
3 [email protected] 00002sql语句怎么写?
id email number
1 [email protected] 00001
2 [email protected] 00001
3 [email protected] 00002
4 [email protected] 00002
需要的结果是: id email number
1 [email protected] 00001
3 [email protected] 00002sql语句怎么写?
解决方案 »
- 急寻答案 sql语句
- 数据库复制时直接覆盖MDF文件可以吗?
- 问象淘宝搜索时的select的语句
- 试图扩大物理文件时,modify file 遇到操作系统错误 112未能调整文件 _log 的空间分配。restore database
- 用 MS SQL SERVER 的SQL 语言,怎么写 读一个表的某一 段数据,或每隔几条记录读其中的一条 的SQL查询语句??
- 苹果问题
- 求一段统计用存储过程或sql语句
- 请问如何将数据库中所有表中的text类型转成varchar500?
- 错在哪里??急呀
- nononono(null,null):VFP中昨天运行好好的程序,现在又不好运行了:焦点移动次序问题
- 水晶报表图片
- SQL2000和SQL2008链接服务器查询速度差异很大
where not exists(select 1 from tb where number=t.number and id<t.id)