一、distinct:针对查询的结果去去除重复(主要针对查询的结果)
- top获取前几条数据,top一般都与Order by连用(desc、asc)
- distinct去除重复的数据
- select distinct Sname from Student
- select top 5 * from Student order by tmath desc
二、查询前百分之30%,若不是整数比向上取整
select top 35 percent * from tableScore order by desc