--基础查询SELECT name,sex FROM stu;--去除重复的记录SELECT DISTINCT sex FROM stu;--起别名SELECT name as 名字 FROM stu;