SELECT a.id,a.name as pname,a.price,a.market_price,a.member_id as userid,a.pic,c.company, p.* FROM qianmarket_product a left join qianmarket_distribution_product p ON a.id=p.product_id left join qianmarket_defind_59 b on a.id=b.product_id left join qianmarket_shop c on a.member_id=c.userid WHERE c.shop_statu=1 and a.status>0 and is_shelves=1 and is_tg='false' and LOCATE('10070502',a.catid)=1 order by a.uptime descTable 'sql_1hg_cn.qianmarket_distribution_product' doesn't exist