查询指定分类的商品的写法
2018-01-06 本文已影响0人
时光太忙
select a.title,a.marketprice,a.productprice,a.costprice,b.name from ims_new_shop_goods as a left join
ims_new_shop_category as b on a.pcate=b.id where a.status=1 and b.uniacid=20 and a.pcate=1;
select a.title,a.marketprice,a.productprice,a.costprice,b.name from ims_new_shop_goods as a left join
ims_new_shop_category as b on a.pcate=b.id where a.status=1 and b.uniacid=20 and a.pcate=1;