怎样找出 姓名相同,会员编号不同的顾客? 姓名 name会员编号 cli_no 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 select *from tb twhere exists (select 1 from tb where name = t.name and id <> t.id)order by name select * from tb t where exists (select 1 from tb where name=t.name and cli_no<>t.cli_no) select * from tab1 a where exists (select 1 from tab1 where name=a.name and cli_no<>a.cli_no) row_number sql连接不到服务器啊!!!!!!!! 动态IP数据库怎么连接? 有一张用户表,怎么统计这张表中的移动号码和联通号码、电信号码的个数? 急求高手回复这个问题 有没有sqlserver转换成Mysql的工具啊? 根据表中的字段查询表中只出现过一次或n次的记录 急,SQL数据转换,神阿救救我吧 update时如何用另一个表里的条件 我下载的金山毒霸2002标准版,下载之后怎么是.rar格式的?? 同时向两个相关的表中写入数据 数据库自增ID利用
select *
from tb t
where exists (select 1 from tb where name = t.name and id <> t.id)
order by name
select * from tab1 a
where exists (select 1 from tab1 where name=a.name and cli_no<>a.cli_no)