MySQL数据库基本命令六
1、select * from 表名 where 条件(>,=,<,>=,<=,!=);(比较查找)

2、select * from 表名 where 条件(and,&&)条件;(逻辑与查找)

3、select * from 表名 where 条件(or,||)条件;(逻辑或查找)

4、select * from 表名 where 条件(not,!)条件;(逻辑非查找)

5、select * from 表名 where 字段名 like(nolike);(字符匹配查找)

6、select * from 表名 limit 0,2;(查找范围,0:第一条,2:条数)
