Quantas vitórias quando há mais de 19 pontos, lugar menor que 12, e menos de 30 jogados?
CREATE TABLE table_name_36 (wins INTEGER, played VARCHAR, points VARCHAR, position VARCHAR)
SELECT SUM(wins) FROM table_name_36 WHERE points > 19 AND position < 12 AND played < 30