MySQL数据库基本命令八
1、between...and...(判断表达式的值是否在某范围内)

2、in / not in(判断表达式的值是否在子查询的结果中)

3、group by(分组查询)

4、多表查询:联合查询:select * from 表名1,表名2 where 表名1.id=表名2.id;

5、多表查询:嵌套查询:select * from 表名1 where id in(select id from 表名2 where 条件);

6、多表查询:联合查询:select * from 表名1 (left左联合/right右联合) join 表名2 on 表名1.id=表名2.id ;
