A Database Error Occurred

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 ') WHERE `sw`.`parent_teg` = 295 AND `t`.`categ_id` = 13 AND `t`.`items` > 0 GROU' at line 4

SELECT t.id, t.title, t.title_full, t.title_eng FROM (show_with sw) INNER JOIN tegs t ON t.id = sw.teg_id JOIN tegs_items ti ON ti.teg_id = t.id and ti.item_id in () WHERE `sw`.`parent_teg` = 295 AND `t`.`categ_id` = 13 AND `t`.`items` > 0 GROUP BY t.id