标签:
1. Select FDepartment from T_Employee
→select distinct FDepartment from T_Employee
2. distinct是对整个结果集进行数据重复处理的,而不是针对每一个列,因此下面的语句并不会只保留FDepartment进行重复值处理:
Select distinct FDepartment,FSubCompany from T_Employee
标签:
原文地址:http://www.cnblogs.com/zqBlog/p/4918745.html