sql查询不重复数据

SELECT * FROM user 
WHERE
Uid IN 
( 
select min(Uid) from user 
group by Sid
)

 

posted @ 2019-01-27 15:03  爱吃醋的工程师  阅读(1055)  评论(0编辑  收藏  举报