經常使用查詢條件\分組 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
相關文章
相關標籤/搜索