SQL去掉某个字段重复记录

SELECT * 
FROM dbo.table1 
WHERE Row_ID IN (SELECT MAX(Row_ID) FROM table1 GROUP BY col1)

 

posted @ 2016-02-22 14:24  KellyZheng  阅读(597)  评论(0编辑  收藏  举报