条件筛选 where
- 除了
**insert**以外的三个语句都可以筛选 **where**是一个关键字 拼接在除了**insert**语句以外的其他语句基本结构之后**delete form 表 where...;****update 表 set 列 = 值 where...;****select * from 表 where...;**
**where的使用****比较运算符号:> >= < <= = !=****select * from person where age > 19;**
- 算数运算符号:+ - * /
**select * from person where age + 2 = 20;**
- 逻辑运算符号: and or not
**select * rom person where age = 10 and sex = '男'**- 如果
**and**和**or**同时出现**and**的优先级更高
**[not] between ... and ... **在…之间- 包含两端的值
**select * from person where age between 18 and 20;**
**[not] in()**满足括号里其中一个就行**select * from person where age in (10,20);**
