返回数说广场
0
Mysql中表student_table(id,name,birth,sex),name字段值存在重复,查询name重复的记录明细,比如'张三'、'李四'各重复2次,则结果是4条。如下SQL错误的是()?
C select t2.* ,t1.*from (select name,count(*) as c1 from student_table GROUP BY name ) t1 left join student_table t2on t1.name = t2.nameand c1 > 1;
0
0 197
分享
评论
热门数说


