select 姓名 from 学生表
select 姓名,性别,家庭住址 from 学生表
select * from 学生表
select sum(price) from fruit
select count(price) from fruit
select price*1.05 from fruit
select (进货数量-销售数量)as 库存数量 from fruit
select distinct 班级 from student
select distinct 班级,姓名 from student
#distinct 作用覆盖班级+姓名,是根据班级+姓名两个字段同时去重。并且distinct必须放在开头
select 列名称 from 表名称 where 条件表达式
select * from sc where 成绩>60
select 姓名,性别,班级 from student where left(姓名,1)='赵'
select 姓名,性别,班级 from student