Query error: 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 ') LIMIT 64' at line 5

Query: SELECT * FROM flights WHERE iata_start_id IN (877,189,527,876) AND iata_end_id IN () LIMIT 64;