CREATE TABLE table_14535 ("Country" TEXT, "Total population  ( 1000 ) " FLOAT, "Total Foreign-born  ( 1000 ) " FLOAT, "Born in other EU state  ( 1000 ) " FLOAT, "Born in a non EU state  ( 1000 ) " FLOAT)

What is the greatest Total population (1000) from Sweden and born in a non EU state (1000) less than 859?
SELECT MAX("Total population (1000)") FROM table_14535 WHERE "Country" = 'sweden' AND "Born in a non EU state (1000)" < '859'
SELECT MAX("Total population (1000)") FROM "table_14535" WHERE "Born in a non EU state (1000)" < '859' AND "Country" = 'sweden'