Table: sabrina_goles
Columns: name
tenure
ties
lost
win

Question: Tell me the total number of ties for name of totals and lost more than 30
SQL: SELECT COUNT("ties") FROM sabrina_goles WHERE "name" = 'totals' AND "lost" > 30

Question: I want the total number of ties for win % more than 0 and tenure of 2001-2011 with lost more than 16
SQL: SELECT COUNT("ties") FROM sabrina_goles WHERE "win" > 0 AND "tenure" = '2001-2011' AND "lost" > 16