where常用运算符
1、查询ID是32的商品
select * from goods where goods_id=32;
2、查询不属于第三个栏目的商品
select * from goods where cat_id !=3;
3、查询本店价格大于3000的商品
select * from goods where shop_price>3000;
4、查询本店价格小于或等于100的商品
select * from goods where shop_price <=100;
![在这里插入图片描述](https://img-blog.csdnimg.cn/20200307215131338.png?x-oss-process=imag