SCHEMA:
CREATE TABLE table_name_2 (flaps INTEGER, podiums VARCHAR, races VARCHAR)
USER:
WHAT IS THE FLAPS WITH PODIUMS OF 24 AND RACES BIGGER THAN 143?

QUERY:
SELECT MAX(flaps) FROM table_name_2 WHERE podiums = 24 AND races > 143