user: Question: What is the highest Total Foreign-born (1000) from a non EU state (1000) of 685 and a population (1000) smaller than 10666?
Columns: ['Country', 'Total population (1000)', 'Total Foreign-born (1000)', 'Born in other EU state (1000)', 'Born in a non EU state (1000)']
Types: ['text', 'real', 'real', 'real', 'real']
Sample row: ['EU 27', 501098.0, 47348.0, 15980.0, 31368.0]
SQL:

assistant: SELECT MAX("Total Foreign-born (1000)") FROM "Table" WHERE "Born in a non EU state (1000)" = 685.0 AND "Total population (1000)" > 10666.0;