22,209
社区成员
发帖
与我相关
我的任务
分享
select * from tableName as a
where exists(
select 1 from tableName as b
where a.学号!=b.学号 and a.血型型号=b.血型型号
)
order by a.血型型号
select * from 个人信息 where 血型型号 in
(select 血型型号 from 个人信息 group by 血型型号 having count(血型型号) >= 2)