Question: What is the 2006 sum with a rank 1 and more than 6758845 in 1996?
SQL: SELECT SUM("2006") FROM "2-17288411-1" WHERE "Rank" = 1.0 AND "1996" > 6758845.0;

Question: What is the total number in 2006, which has an official foundation of municipality of 1918?
SQL: SELECT COUNT("2006") FROM "2-17288411-1" WHERE "Date of Official Foundation of Municipality" = 1918.0;

Question: What is teh average rank of the city of mashhad, which had less than 667770 in 1976?
SQL: SELECT AVG("Rank") FROM "2-17288411-1" WHERE "City" = 'mashhad' AND "1976" < 667770.0;

Question: What is the average rank of the province alborz, which had more than 14526 in 1956?
SQL: SELECT AVG("Rank") FROM "2-17288411-1" WHERE "Province" = 'alborz' AND "1956" > 14526.0;