
SQL
文章平均质量分 63
iteye_19665
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
sql server中top,oracle中rownum,mysql中limit伪列函数的使用
[b][u]sql server中top,oracle中rownum,mysql中limit函数[/u][/b] [b]Sql server————[/b]//列出前5行 select top 5 * from table //查询第11行到第20行记录 select top 10 * from [表名] where [主键] not in (select top 10 [主键] f...原创 2012-12-24 14:05:54 · 178 阅读 · 0 评论 -
MySQL查询表内重复记录
[b]MySQL查询表内重复记录[/b] [b](一)[/b] 1、查找表中多余的重复记录,重复记录是根据单个字段(peopleId)来判断 select * from people where peopleId in (select peopleId from people group by peopleId having count(peopleId) > 1) 2...原创 2014-08-22 16:03:34 · 153 阅读 · 0 评论