distinct 多个字段

select distinct ID,AA,BB from tName

select distinct ID from tName
有什么区别??
第一种情况,distinct会不会影响AA,或者BB字段??

posted on 2016-08-24 15:10  海子呢  阅读(75489)  评论(2编辑  收藏  举报