select aa,bb from tbl group by aa,bb
select distinctrow aa,bb from tbl
将整条记录重复的记录忽略掉,而不是只有针对某一个字段的数据。SQL Server不支持distinctrow
select aa,bb from tbl group by aa,bb
select distinctrow aa,bb from tbl
将整条记录重复的记录忽略掉,而不是只有针对某一个字段的数据。SQL Server不支持distinctrow
转载于:https://www.cnblogs.com/cole2295/archive/2009/07/11/1521081.html