MySQL 数据过滤

数据过滤

组合where子句

and or

反例

image
image

说明:and 操作优先级高于or

加圆括号
image
image

in 操作符

相当于 or ,in后指定所属范围
image
vend_id是1002或1003

not操作符

image
image

猜你喜欢

转载自blog.csdn.net/qq_42233374/article/details/114403388
今日推荐