数据库错误

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 ') AND deleted = 0 AND publish_time < 1711649998 AND stat' at line 7SELECT DISTINCT p.* FROM gujian_post_categories AS pc LEFT JOIN gujian_posts AS p ON pc.post_id = p.id WHERE pc.cat_id IN () AND deleted = 0 AND publish_time < 1711649998 AND status = 1 ORDER BY is_top DESC, publish_time DESC