Table schema:
CREATE TABLE table_name_39 (nationality VARCHAR, apps VARCHAR, goals VARCHAR)

Question: Where was the player born when the appearances were greater than 40 and made 17 goals?
SQL: SELECT nationality FROM table_name_39 WHERE apps > 40 AND goals = 17