如何将一个表中的某一个字段值相同的记录查出来 select * from employeewhere job_id in (select distinct job_id from employee) 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 select yourcolumn from yourtable group by yourcolumn having count(*) >1 select * from yourtable where yourtable in (select yourcolumn from yourtable group by yourcolumn having count(*) >1) select * from 表where 列 in (select 列 from(select 列,count(列) a from 表 group by 列) AA where a>1) 求一sql语句优化 com.microsoft.sqlserver.jdbc.SQLServerException异常 求一查询语句。 T-SQL怎么使用循环? 求查找某日期段内未被使用的房间SQL SA用户口令无法更改? 关于时间排齐的问题,望高手相助(在线等待中.......) 创建存储过程出错,sp_executeSql缺失? 表的复制出现错误 如何在insert into 语句中,实现变量传递字段的值!!!!!!!!!(win32编程下)???? 急需解决的安装问题高分相送! 这个问题大家是怎么做的。
from 表
where 列 in
(select 列 from(select 列,count(列) a from 表 group by 列) AA where a>1)