标签:sql color 应用 table sel 使用 ble rom span
DISTINCT关键字主要是用来去除重复记录。
同时 DISTINCT 可以和 函数 Count() 同时使用,来计算非重复结果的数目
SELECT COUNT(DISTINCT column(s)) FROM table
SQL SERVER 关键字DISTINCT应用
原文地址:http://www.cnblogs.com/thinpro/p/7527331.html