Table schema:
CREATE TABLE table_171236_1 (population VARCHAR, census_ranking VARCHAR)

Question: What was the population for census ranking 782 of 5,008?
SQL: SELECT population FROM table_171236_1 WHERE census_ranking = "782 of 5,008"