distinct 是不是不能单独使用? yeahselect distinct * from yourtable where ...select distinct columnname1,.... from yourtable where 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 重复记录只取一条:select distinct * from table1 select distinct * from yourtable通常distinct和select 一起使用 SELECT distinct *FROM dbo.indexotherWHERE type=1 and (id-(id/2)*2=1)ORDER BY id DESC就这句,还是有重复记录。 select distinct a ,max(b),max(c),max(d).....from t_table group by a 单表内字段比对去除不相同组 SQL Server 如何计算周合格率,年合格率,月合格率。 请高手帮我看一下,这个错误日志! SQL Server 2005 数据误删除,无备份,日志还原求教 菜鸟问题,怎样在数据库的当前表中,复制一条记录到当前表? 关于操作锁表问题~~加急~,等待中~……………………… 各位大侠,看看我的存储过程,找了一下午,也不知道怎么回事? 关于按"非自然月"分组汇总的问题! 请问怎么在存储过程中拼接字符串啊 ADO 与 SYBASE 超怪问题!!! 急,给分! 求救,高分相送,在线等待
select distinct * from table1
通常distinct和select 一起使用
FROM dbo.indexother
WHERE type=1 and (id-(id/2)*2=1)
ORDER BY id DESC就这句,还是有重复记录。