เกิดข้อผิดพลาดของฐานข้อมูล

Error Number: 1064

You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ') AND group_type = 2 AND group_status = 1' at line 1

SELECT group_id FROM tb_group WHERE category_id IN() AND group_type = 2 AND group_status = 1

Filename: models/frontend/Group_model.php

Line Number: 50