容易误解的distinct

a.语句select distinct a,b,c from t_table与select distinct a from t_table在查询结果上的区别。    区别:select distinct a,b,c from t_table  查找a+b+c列都不重复的。select distinct a from t_table  查找a列不重复的。 b. distinct 修饰是针对行,不要误
相关文章
相关标签/搜索