Ez most nem sikerült...

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 '39,40,41,42,43,44,45)) ORDER BY `match_date` ASC LIMIT 0,300' at line 1
SELECT `id` FROM `handball_matches` WHERE 1=1 AND (`championship_id` IN (1 39,40,41,42,43,44,45)) ORDER BY `match_date` ASC LIMIT 0,300