经常使用查询条件\分组 group by\having和where的区别\union查询

(1)in()在某个范围(集合)之间 //得到 商品id 为 3, 5, 7 ,8 这几个商品的信息 select goods_name from  ecs_goods where goods_id in(3,5,7,8);mysql 2)Between and 在两个值之间的数据 //查询价格在1000-1500之间的商品信息 select shop_price from ecs_goods w
相关文章
相关标签/搜索