求一语句 RT~~~~~~~ 我想统计某表中有多少条记录,有编号CId,而且要排除重复的记录。 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 select count(distinct cid)from tb --所有记录select count(1) from tablename--cid有重复的select count(distinct cid) from tablename--所有列都有重复select distinct * from tablename select count(distinct cid) from 表名 用DECLARE定义一个变量的问题 check约束 请高手提示一下,谢谢了 求一存储过程或者是解决方法 时间查询问题 求助!!看看这个为什么有问题?? 触发器的问题! 存储过程问题??急急急!!!!!!!!!! insert into iepa08d1 select * from iepa08d1_temp的問題﹗ 数据库对称加密的数据 放到另外一台服务器 如何解密 求一SQL语句:两个表综合 SA帐户到底有什么用啊?
from tb
--所有记录
select count(1) from tablename--cid有重复的
select count(distinct cid) from tablename--所有列都有重复
select distinct * from tablename