mysql 基础三 阶段一 mysql 单表查询 1.查询所有记录 select * from department; select * from student; select * from student_detail; 2.查询选中列记录 select s_name from student; 3.查询指定条件下的记录 select s_name from student where s_id>2; 4.查询后为列取别名 select s_name as 姓名 from stude…