錯誤自動跳出:SELECT*
, a.`type` as 'star_store_type'
, a.`store_id` as 's_store_id'
, a.`store_name` as 's_store_name'
, a.`city` as 's_city'
, a.`area` as 's_area'
FROM `star_store` a
left join `yapp_store` b on a.`store_id` = b.`store_id`
where a.`status` = 'active' and b.`type`=12
and b.`store_id` is not null
order by RAND( ) limit -9, 9
******
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 '-9, 9' at line 11