MySQL server error report:Array
(
    [0] => Array
        (
            [message] => MySQL Query Error
        )

    [1] => Array
        (
            [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.is_new, g.is_best, g.is_hot, g.shop_price AS org_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, g.promote_price, g.goods_type, g.promote_start_date, g.promote_end_date, g.goods_brief, g.goods_thumb , g.goods_img FROM `xqlg`.`yp_supplier_goods_cat` AS sgc LEFT JOIN `xqlg`.`yp_goods` AS g ON sgc.goods_id = g.goods_id LEFT JOIN `xqlg`.`yp_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_on_sale = 1 AND g.supplier_status > 0 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (sgc.cat_id  IN ('392') )AND g.district_id in (0,) ORDER BY g.goods_id desc LIMIT 100
        )

    [2] => Array
        (
            [error] => You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') ORDER BY g.goods_id desc LIMIT 100' at line 1
        )

    [3] => Array
        (
            [errno] => 1064
        )

)