select a.*, d.pic as activity_pro_icon_pic,, as brand_name FROM mb_products a left join mb_defind_7 b on and b.info_type='product' left join mb_shop c on a.userid=c.userid left join mb_activity_pro_icon d on and d.is_show=1 and d.start_time<='1582937458' and d.end_time>='1582937458' left join mb_brand e on WHERE c.shop_statu=1 and a.statu>0 and a.from_module='product' and LOCATE('10000202',a.catid)=1 order by a.rank desc, a.brand asc, a.amount desc, a.uptime desc limit -104,52You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-104,52' at line 6