Table: santa_maria_population
Columns: no
barangay
area_in_km_2
rank
population_2000
population_2007
population_2010
population_density_2010

Question: How many people lived in bulac in the year 2000?
SQL: SELECT MAX("population_2000") FROM santa_maria_population WHERE "barangay" = 'Bulac'

Question: In 2010, how many people lived in cities with a population density of 3,965.02?
SQL: SELECT "population_2010" FROM santa_maria_population WHERE "population_density_2010" = '3,965.02'

Question: What's the name of the barangay whose area is 3.6787 km² ?
SQL: SELECT "barangay" FROM santa_maria_population WHERE "area_in_km_2" = '3.6787'

Question: How many people lived in the city which has 1.2530 km² in the year 2000?
SQL: SELECT MAX("population_2000") FROM santa_maria_population WHERE "area_in_km_2" = '1.2530'

Question: How many people lived in san gabriel in the year 2000?
SQL: SELECT COUNT("population_2000") FROM santa_maria_population WHERE "barangay" = 'San Gabriel'