For great business content and more deals like this:
1064 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 id desc limit 4' at line 1
[select main_id, cate_id, sub_id, title from ad_config where cate_id in () order by id desc limit 4]