Question: What was the sum of the population in 2007, from State tyrol, in 1991 a population less than 10179, and a rank larger than 52?
SQL: SELECT SUM("Population 2007") FROM "2-157297-1" WHERE "State" = 'tyrol' AND "Population 1991" < 10179.0 AND "Rank" > 52.0;

Question: What is the average population in 1991, that has a 2001 population less than 16045, and a rank less than 58, in Eisenstadt?
SQL: SELECT AVG("Population 1991") FROM "2-157297-1" WHERE "Population 2001" < 16045.0 AND "Rank" < 58.0 AND "Name" = 'Eisenstadt';

Question: What is the highest population in 1991 in baden bei wien, and a 2007 population larger than 25284?
SQL: SELECT MAX("Population 1991") FROM "2-157297-1" WHERE "Name" = 'baden bei wien' AND "Population 2007" > 25284.0;