MySQL server error report:Array ( [0] => Array ( [message] => MySQL Query Error ) [1] => Array ( [sql] => SELECT a.brand_id,a.brand_name,a.site_gongzhong,a.click,a.brand_logo,a.city,c.region_name FROM `exiu`.`ecs_brand` AS a LEFT JOIN `exiu`.`ecs_region` AS c ON a.city = c.region_id WHERE a.site_fenzu not in (129,131,134,132,130,125) and a.city = order by rand() limit 6 ) [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 rand() limit 6' at line 1 ) [3] => Array ( [errno] => 1064 ) )