select count(num), max(name) from student --列出重复的记录数,并列出他的name属性
group by num
having count(num) >1
http://www.cnblogs.com/caotang/archive/2011/01/18/1937932.html
select count(num), max(name) from student --列出重复的记录数,并列出他的name属性
group by num
having count(num) >1
http://www.cnblogs.com/caotang/archive/2011/01/18/1937932.html