CREATE TABLE table_name_17 (destroyed INT, survived VARCHAR, to_iran VARCHAR, damaged VARCHAR)

What's the average destroyed with a 1990 over 12, more than 1 damaged, 6 survivors, and a to Iran less than 4?
SELECT AVG(destroyed) FROM table_name_17 WHERE 1990 > 12 AND damaged > 1 AND to_iran < 4 AND survived = 6
SELECT AVG("destroyed") FROM "table_name_17" WHERE "damaged" > 1 AND "survived" = 6 AND "to_iran" < 4