output
stringlengths
27
479
instruction
stringlengths
407
1.39k
SELECT "directed_by" FROM "table1_25604014_4" WHERE "title"='\"Sperminator\"';
## Task Generate a SQL query to answer the following question: `Who directed "sperminator"?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_25604014_4" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text ); ### SQL Given the database schema, here is the SQL query that answers `Who directed "sperminator"?`: ```sql
SELECT "written_by" FROM "table1_25604014_4" WHERE "title"='\"To Live and Diet in L.A.\"';
## Task Generate a SQL query to answer the following question: `Who wrote "to live and diet in L.A."?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_25604014_4" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text ); ### SQL Given the database schema, here is the SQL query that answers `Who wrote "to live and diet in L.A."?`: ```sql
SELECT "written_by" FROM "table1_25604014_4" WHERE "title"='\"Victor/Victorious\"';
## Task Generate a SQL query to answer the following question: `Who wrote the episode "victor/victorious"?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_25604014_4" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text ); ### SQL Given the database schema, here is the SQL query that answers `Who wrote the episode "victor/victorious"?`: ```sql
SELECT "production_code" FROM "table1_25604014_4" WHERE "directed_by"='Sam Weisman';
## Task Generate a SQL query to answer the following question: `What is the production code for the episode directed by Sam weisman?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_25604014_4" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the production code for the episode directed by Sam weisman?`: ```sql
SELECT "written_by" FROM "table1_25604014_5" WHERE "no_in_series"=81;
## Task Generate a SQL query to answer the following question: `Who wrote episode number 81 in the series?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_25604014_5" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text ); ### SQL Given the database schema, here is the SQL query that answers `Who wrote episode number 81 in the series?`: ```sql
SELECT "original_air_date" FROM "table1_25604014_5" WHERE "title"='\"Ex-Wives and Videotapes\"';
## Task Generate a SQL query to answer the following question: `What is the original air date for "ex-wives and videotapes"?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_25604014_5" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the original air date for "ex-wives and videotapes"?`: ```sql
SELECT "original_air_date" FROM "table1_25604014_5" WHERE "title"='\"One Rat, One Ranger\"';
## Task Generate a SQL query to answer the following question: `What is the original air date for "one rat, one ranger"?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_25604014_5" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the original air date for "one rat, one ranger"?`: ```sql
SELECT COUNT("no_in_season") FROM "table1_25604014_5" WHERE "directed_by"='David Carson';
## Task Generate a SQL query to answer the following question: `How many episodes directed by david carson?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_25604014_5" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text ); ### SQL Given the database schema, here is the SQL query that answers `How many episodes directed by david carson?`: ```sql
SELECT "directed_by" FROM "table1_25604014_5" WHERE "production_code"='7D03';
## Task Generate a SQL query to answer the following question: `Who direcred the episode with production code 7d03?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_25604014_5" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text ); ### SQL Given the database schema, here is the SQL query that answers `Who direcred the episode with production code 7d03?`: ```sql
SELECT "settlement" FROM "list_of_cities_towns_and_villages_in_voj" WHERE "population_2011"=1114;
## Task Generate a SQL query to answer the following question: `In what settlement is the population 1114?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "list_of_cities_towns_and_villages_in_voj" ( "settlement" text, "cyrillic_name" text, "type" text, "population_2011" real, "largest_ethnic_group_2002" text, "dominant_religion_2002" text ); ### SQL Given the database schema, here is the SQL query that answers `In what settlement is the population 1114?`: ```sql
SELECT "type" FROM "list_of_cities_towns_and_villages_in_voj" WHERE "settlement"='Lok';
## Task Generate a SQL query to answer the following question: `What type is the settlement of Lok? ` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "list_of_cities_towns_and_villages_in_voj" ( "settlement" text, "cyrillic_name" text, "type" text, "population_2011" real, "largest_ethnic_group_2002" text, "dominant_religion_2002" text ); ### SQL Given the database schema, here is the SQL query that answers `What type is the settlement of Lok? `: ```sql
SELECT COUNT("population_2011") FROM "table1_2562572_12" WHERE "settlement"='Mladenovo';
## Task Generate a SQL query to answer the following question: `How many populations are listed for mladenovo? ` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_2562572_12" ( "settlement" text, "cyrillic_name_other_names" text, "type" text, "population_2011" real, "largest_ethnic_group_2002" text, "dominant_religion_2002" text ); ### SQL Given the database schema, here is the SQL query that answers `How many populations are listed for mladenovo? `: ```sql
SELECT "dominant_religion_2002" FROM "table1_2562572_12" WHERE "population_2011"=4831;
## Task Generate a SQL query to answer the following question: `What is the dominate religion in the location with a population of 4831? ` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_2562572_12" ( "settlement" text, "cyrillic_name_other_names" text, "type" text, "population_2011" real, "largest_ethnic_group_2002" text, "dominant_religion_2002" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the dominate religion in the location with a population of 4831? `: ```sql
SELECT "type" FROM "current_members" WHERE "institution"='San Diego Christian College';
## Task Generate a SQL query to answer the following question: `What type of institution is San Diego Christian college? ` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "current_members" ( "institution" text, "location" text, "type" text, "joined" real, "enrollment" real, "nickname" text ); ### SQL Given the database schema, here is the SQL query that answers `What type of institution is San Diego Christian college? `: ```sql
SELECT MAX("enrollment") FROM "current_members" WHERE "nickname"='Hawks';
## Task Generate a SQL query to answer the following question: `What is the enrollment for the hawks? ` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "current_members" ( "institution" text, "location" text, "type" text, "joined" real, "enrollment" real, "nickname" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the enrollment for the hawks? `: ```sql
SELECT MIN("enrollment") FROM "current_members" WHERE "joined"=1987;
## Task Generate a SQL query to answer the following question: `What is the enrollment for the institution that joined in 1987? ` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "current_members" ( "institution" text, "location" text, "type" text, "joined" real, "enrollment" real, "nickname" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the enrollment for the institution that joined in 1987? `: ```sql
SELECT "location" FROM "current_members" WHERE "nickname"='Lions';
## Task Generate a SQL query to answer the following question: `What is the location of the institution nicknamed Lions? ` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "current_members" ( "institution" text, "location" text, "type" text, "joined" real, "enrollment" real, "nickname" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the location of the institution nicknamed Lions? `: ```sql
SELECT COUNT("population_2011") FROM "list_of_urban_settlements_in_vojvodina" WHERE "cyrillic_name"='Футог';
## Task Generate a SQL query to answer the following question: `How many 2011 populations have a Cyrillic name of футог?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "list_of_urban_settlements_in_vojvodina" ( "urban_settlement" text, "cyrillic_name" text, "city_municipality" text, "district" text, "population_1991" real, "population_2002" real, "population_2011" real ); ### SQL Given the database schema, here is the SQL query that answers `How many 2011 populations have a Cyrillic name of футог?`: ```sql
SELECT COUNT("population_2002") FROM "list_of_urban_settlements_in_vojvodina" WHERE "population_2011"=5399;
## Task Generate a SQL query to answer the following question: `What is the number of 2002 populations having a 2011 population of exactly 5399?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "list_of_urban_settlements_in_vojvodina" ( "urban_settlement" text, "cyrillic_name" text, "city_municipality" text, "district" text, "population_1991" real, "population_2002" real, "population_2011" real ); ### SQL Given the database schema, here is the SQL query that answers `What is the number of 2002 populations having a 2011 population of exactly 5399?`: ```sql
SELECT COUNT("population_1991") FROM "list_of_urban_settlements_in_vojvodina" WHERE "city_municipality"='Bečej';
## Task Generate a SQL query to answer the following question: `What is the number of 1991 populations named Bečej?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "list_of_urban_settlements_in_vojvodina" ( "urban_settlement" text, "cyrillic_name" text, "city_municipality" text, "district" text, "population_1991" real, "population_2002" real, "population_2011" real ); ### SQL Given the database schema, here is the SQL query that answers `What is the number of 1991 populations named Bečej?`: ```sql
SELECT "population_1991" FROM "list_of_urban_settlements_in_vojvodina" WHERE "urban_settlement"='Bački Jarak';
## Task Generate a SQL query to answer the following question: `What is the 1991 population for the urban settlement named Bački Jarak?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "list_of_urban_settlements_in_vojvodina" ( "urban_settlement" text, "cyrillic_name" text, "city_municipality" text, "district" text, "population_1991" real, "population_2002" real, "population_2011" real ); ### SQL Given the database schema, here is the SQL query that answers `What is the 1991 population for the urban settlement named Bački Jarak?`: ```sql
SELECT COUNT("population_2011") FROM "list_of_urban_settlements_in_vojvodina" WHERE "population_2002"=29449;
## Task Generate a SQL query to answer the following question: `What is the number of 2011 populations having a 2002 population of 29449?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "list_of_urban_settlements_in_vojvodina" ( "urban_settlement" text, "cyrillic_name" text, "city_municipality" text, "district" text, "population_1991" real, "population_2002" real, "population_2011" real ); ### SQL Given the database schema, here is the SQL query that answers `What is the number of 2011 populations having a 2002 population of 29449?`: ```sql
SELECT COUNT("city_municipality") FROM "list_of_urban_settlements_in_vojvodina" WHERE "urban_settlement"='Srbobran';
## Task Generate a SQL query to answer the following question: `What is the number of cities/municipalities having an urban settlement of Srbobran?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "list_of_urban_settlements_in_vojvodina" ( "urban_settlement" text, "cyrillic_name" text, "city_municipality" text, "district" text, "population_1991" real, "population_2002" real, "population_2011" real ); ### SQL Given the database schema, here is the SQL query that answers `What is the number of cities/municipalities having an urban settlement of Srbobran?`: ```sql
SELECT "settlement" FROM "table1_2562572_25" WHERE "type"='town';
## Task Generate a SQL query to answer the following question: `When town is the type what is the settlement?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_2562572_25" ( "settlement" text, "cyrillic_name_other_names" text, "type" text, "population_2011" real, "largest_ethnic_group_2002" text, "dominant_religion_2002" text ); ### SQL Given the database schema, here is the SQL query that answers `When town is the type what is the settlement?`: ```sql
SELECT "type" FROM "table1_2562572_25" WHERE "cyrillic_name_other_names"='Оџаци';
## Task Generate a SQL query to answer the following question: `When оџаци is the cyrillic name other names what is the type?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_2562572_25" ( "settlement" text, "cyrillic_name_other_names" text, "type" text, "population_2011" real, "largest_ethnic_group_2002" text, "dominant_religion_2002" text ); ### SQL Given the database schema, here is the SQL query that answers `When оџаци is the cyrillic name other names what is the type?`: ```sql
SELECT "cyrillic_name_other_names" FROM "table1_2562572_25" WHERE "settlement"='Ratkovo';
## Task Generate a SQL query to answer the following question: `When ratkovo is the settlement what is the cyrllic name other names?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_2562572_25" ( "settlement" text, "cyrillic_name_other_names" text, "type" text, "population_2011" real, "largest_ethnic_group_2002" text, "dominant_religion_2002" text ); ### SQL Given the database schema, here is the SQL query that answers `When ratkovo is the settlement what is the cyrllic name other names?`: ```sql
SELECT "settlement" FROM "table1_2562572_25" WHERE "dominant_religion_2002"='Orthodox Christianity' AND "type"='village' AND "cyrillic_name_other_names"='Ратково';
## Task Generate a SQL query to answer the following question: `When ратково is cyrillic name other names and village is the type and orthodox Christianity is the dominant religion of 2002 what is the settlement? ` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_2562572_25" ( "settlement" text, "cyrillic_name_other_names" text, "type" text, "population_2011" real, "largest_ethnic_group_2002" text, "dominant_religion_2002" text ); ### SQL Given the database schema, here is the SQL query that answers `When ратково is cyrillic name other names and village is the type and orthodox Christianity is the dominant religion of 2002 what is the settlement? `: ```sql
SELECT "largest_ethnic_group_2002" FROM "table1_2562572_25" WHERE "cyrillic_name_other_names"='Дероње';
## Task Generate a SQL query to answer the following question: `When дероње is the cyrillic name other names what is the largest ethnic group of 2002?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_2562572_25" ( "settlement" text, "cyrillic_name_other_names" text, "type" text, "population_2011" real, "largest_ethnic_group_2002" text, "dominant_religion_2002" text ); ### SQL Given the database schema, here is the SQL query that answers `When дероње is the cyrillic name other names what is the largest ethnic group of 2002?`: ```sql
SELECT "largest_ethnic_group_2002" FROM "table1_2562572_27" WHERE "settlement"='Gunaroš';
## Task Generate a SQL query to answer the following question: `What are the largest ethnic groups in gunaroš?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_2562572_27" ( "settlement" text, "cyrillic_name_other_names" text, "type" text, "population_2011" text, "largest_ethnic_group_2002" text, "dominant_religion_2002" text ); ### SQL Given the database schema, here is the SQL query that answers `What are the largest ethnic groups in gunaroš?`: ```sql
SELECT "largest_ethnic_group_2002" FROM "table1_2562572_27" WHERE "cyrillic_name_other_names"='Пачир (Hungarian: Pacsér)';
## Task Generate a SQL query to answer the following question: `What are the largest ethnic groups where the cyrillic name and other names is пачир (hungarian: pacsér)?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_2562572_27" ( "settlement" text, "cyrillic_name_other_names" text, "type" text, "population_2011" text, "largest_ethnic_group_2002" text, "dominant_religion_2002" text ); ### SQL Given the database schema, here is the SQL query that answers `What are the largest ethnic groups where the cyrillic name and other names is пачир (hungarian: pacsér)?`: ```sql
SELECT COUNT("settlement") FROM "table1_2562572_27" WHERE "cyrillic_name_other_names"='Његошево';
## Task Generate a SQL query to answer the following question: `How many places have as their cyrillic name and other names његошево?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_2562572_27" ( "settlement" text, "cyrillic_name_other_names" text, "type" text, "population_2011" text, "largest_ethnic_group_2002" text, "dominant_religion_2002" text ); ### SQL Given the database schema, here is the SQL query that answers `How many places have as their cyrillic name and other names његошево?`: ```sql
SELECT "dominant_religion_2002" FROM "table1_2562572_27" WHERE "population_2011"='83';
## Task Generate a SQL query to answer the following question: `What are the dominant religions in the place with a population of 83?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_2562572_27" ( "settlement" text, "cyrillic_name_other_names" text, "type" text, "population_2011" text, "largest_ethnic_group_2002" text, "dominant_religion_2002" text ); ### SQL Given the database schema, here is the SQL query that answers `What are the dominant religions in the place with a population of 83?`: ```sql
SELECT "settlement" FROM "table1_2562572_27" WHERE "cyrillic_name_other_names"='Панонија';
## Task Generate a SQL query to answer the following question: `How many settlements have as their cyrillic name and other names панонија?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_2562572_27" ( "settlement" text, "cyrillic_name_other_names" text, "type" text, "population_2011" text, "largest_ethnic_group_2002" text, "dominant_religion_2002" text ); ### SQL Given the database schema, here is the SQL query that answers `How many settlements have as their cyrillic name and other names панонија?`: ```sql
SELECT "cyrillic_name_other_names" FROM "table1_2562572_33" WHERE "settlement"='Martonoš';
## Task Generate a SQL query to answer the following question: `What is the other name for martonoš?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_2562572_33" ( "settlement" text, "cyrillic_name_other_names" text, "type" text, "population_2011" real, "largest_ethnic_group_2002" text, "dominant_religion_2002" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the other name for martonoš?`: ```sql
SELECT "type" FROM "table1_2562572_33" WHERE "cyrillic_name_other_names"='Ором (Hungarian: Orom)';
## Task Generate a SQL query to answer the following question: `What type of settlement is ором (hungarian: orom)?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_2562572_33" ( "settlement" text, "cyrillic_name_other_names" text, "type" text, "population_2011" real, "largest_ethnic_group_2002" text, "dominant_religion_2002" text ); ### SQL Given the database schema, here is the SQL query that answers `What type of settlement is ором (hungarian: orom)?`: ```sql
SELECT "settlement" FROM "table1_2562572_33" WHERE "cyrillic_name_other_names"='Мартонош (Hungarian: Martonos)';
## Task Generate a SQL query to answer the following question: `What settlement is also called мартонош (hungarian: martonos)?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_2562572_33" ( "settlement" text, "cyrillic_name_other_names" text, "type" text, "population_2011" real, "largest_ethnic_group_2002" text, "dominant_religion_2002" text ); ### SQL Given the database schema, here is the SQL query that answers `What settlement is also called мартонош (hungarian: martonos)?`: ```sql
SELECT "largest_ethnic_group_2002" FROM "table1_2562572_33" WHERE "cyrillic_name_other_names"='Мале Пијаце (Hungarian: Kispiac)';
## Task Generate a SQL query to answer the following question: `What is the largest ethnic group in мале пијаце (hungarian: kispiac)?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_2562572_33" ( "settlement" text, "cyrillic_name_other_names" text, "type" text, "population_2011" real, "largest_ethnic_group_2002" text, "dominant_religion_2002" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the largest ethnic group in мале пијаце (hungarian: kispiac)?`: ```sql
SELECT "largest_ethnic_group_2002" FROM "table1_2562572_33" WHERE "settlement"='Doline';
## Task Generate a SQL query to answer the following question: `What is the largest ethnic group in doline?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_2562572_33" ( "settlement" text, "cyrillic_name_other_names" text, "type" text, "population_2011" real, "largest_ethnic_group_2002" text, "dominant_religion_2002" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the largest ethnic group in doline?`: ```sql
SELECT "dominant_religion_2002" FROM "table1_2562572_37" WHERE "settlement"='Srpska Crnja';
## Task Generate a SQL query to answer the following question: `Name the dominant religion of srpska crnja` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_2562572_37" ( "settlement" text, "cyrillic_name_other_names" text, "type" text, "population_2011" real, "largest_ethnic_group_2002" text, "dominant_religion_2002" text ); ### SQL Given the database schema, here is the SQL query that answers `Name the dominant religion of srpska crnja`: ```sql
SELECT "settlement" FROM "table1_2562572_37" WHERE "cyrillic_name_other_names"='Александрово';
## Task Generate a SQL query to answer the following question: `Name the settlement for александрово` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_2562572_37" ( "settlement" text, "cyrillic_name_other_names" text, "type" text, "population_2011" real, "largest_ethnic_group_2002" text, "dominant_religion_2002" text ); ### SQL Given the database schema, here is the SQL query that answers `Name the settlement for александрово`: ```sql
SELECT "cyrillic_name_other_names" FROM "table1_2562572_37" WHERE "population_2011"=518;
## Task Generate a SQL query to answer the following question: `Name the cyrillic name for 518` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_2562572_37" ( "settlement" text, "cyrillic_name_other_names" text, "type" text, "population_2011" real, "largest_ethnic_group_2002" text, "dominant_religion_2002" text ); ### SQL Given the database schema, here is the SQL query that answers `Name the cyrillic name for 518`: ```sql
SELECT COUNT("population_2011") FROM "table1_2562572_37" WHERE "cyrillic_name_other_names"='Александрово';
## Task Generate a SQL query to answer the following question: `Name the population for александрово` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_2562572_37" ( "settlement" text, "cyrillic_name_other_names" text, "type" text, "population_2011" real, "largest_ethnic_group_2002" text, "dominant_religion_2002" text ); ### SQL Given the database schema, here is the SQL query that answers `Name the population for александрово`: ```sql
SELECT "population_2011" FROM "table1_2562572_37" WHERE "cyrillic_name_other_names"='Српска Црња';
## Task Generate a SQL query to answer the following question: `Name the population for 2011 for српска црња` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_2562572_37" ( "settlement" text, "cyrillic_name_other_names" text, "type" text, "population_2011" real, "largest_ethnic_group_2002" text, "dominant_religion_2002" text ); ### SQL Given the database schema, here is the SQL query that answers `Name the population for 2011 for српска црња`: ```sql
SELECT "largest_ethnic_group_2002" FROM "table1_2562572_43" WHERE "population_2011"=200;
## Task Generate a SQL query to answer the following question: `What is the largest ethnic group in 2002 when the population is 200?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_2562572_43" ( "settlement" text, "cyrillic_name_other_names" text, "type" text, "population_2011" real, "largest_ethnic_group_2002" text, "dominant_religion_2002" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the largest ethnic group in 2002 when the population is 200?`: ```sql
SELECT COUNT("type") FROM "table1_2562572_43" WHERE "cyrillic_name_other_names"='Падина (Slovak: Padina)';
## Task Generate a SQL query to answer the following question: `How many entries are there for type for the cyrillic name other names is падина (slovak: padina)?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_2562572_43" ( "settlement" text, "cyrillic_name_other_names" text, "type" text, "population_2011" real, "largest_ethnic_group_2002" text, "dominant_religion_2002" text ); ### SQL Given the database schema, here is the SQL query that answers `How many entries are there for type for the cyrillic name other names is падина (slovak: padina)?`: ```sql
SELECT "type" FROM "table1_2562572_43" WHERE "population_2011"=1004;
## Task Generate a SQL query to answer the following question: `What is the type for the population in 2011 of 1004?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_2562572_43" ( "settlement" text, "cyrillic_name_other_names" text, "type" text, "population_2011" real, "largest_ethnic_group_2002" text, "dominant_religion_2002" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the type for the population in 2011 of 1004?`: ```sql
SELECT "dominant_religion_2002" FROM "table1_2562572_43" WHERE "largest_ethnic_group_2002"='Slovaks' AND "type"='village';
## Task Generate a SQL query to answer the following question: `What was the 2002 dominant religion when the largest ethnic group (2002) was slovaks and type is village?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_2562572_43" ( "settlement" text, "cyrillic_name_other_names" text, "type" text, "population_2011" real, "largest_ethnic_group_2002" text, "dominant_religion_2002" text ); ### SQL Given the database schema, here is the SQL query that answers `What was the 2002 dominant religion when the largest ethnic group (2002) was slovaks and type is village?`: ```sql
SELECT "cyrillic_name_other_names" FROM "table1_2562572_43" WHERE "settlement"='Debeljača';
## Task Generate a SQL query to answer the following question: `What is the cyrillic name other names for the settlement of debeljača?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_2562572_43" ( "settlement" text, "cyrillic_name_other_names" text, "type" text, "population_2011" real, "largest_ethnic_group_2002" text, "dominant_religion_2002" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the cyrillic name other names for the settlement of debeljača?`: ```sql
SELECT COUNT("cyrillic_name_other_names") FROM "table1_2562572_43" WHERE "settlement"='Idvor';
## Task Generate a SQL query to answer the following question: `How many entries are there for cyrillic name other names where settlement is idvor?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_2562572_43" ( "settlement" text, "cyrillic_name_other_names" text, "type" text, "population_2011" real, "largest_ethnic_group_2002" text, "dominant_religion_2002" text ); ### SQL Given the database schema, here is the SQL query that answers `How many entries are there for cyrillic name other names where settlement is idvor?`: ```sql
SELECT "dominant_religion_2002" FROM "table1_2562572_44" WHERE "settlement"='Lokve';
## Task Generate a SQL query to answer the following question: `What was the dominant religion in 2002 in lokve?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_2562572_44" ( "settlement" text, "cyrillic_name_other_names" text, "type" text, "population_2011" real, "largest_ethnic_group_2002" text, "dominant_religion_2002" text ); ### SQL Given the database schema, here is the SQL query that answers `What was the dominant religion in 2002 in lokve?`: ```sql
SELECT "largest_ethnic_group_2002" FROM "table1_2562572_44" WHERE "cyrillic_name_other_names"='Банатски Карловац';
## Task Generate a SQL query to answer the following question: `What was the largest ethnic group in in the settlement with the cyrillic name банатски карловац?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_2562572_44" ( "settlement" text, "cyrillic_name_other_names" text, "type" text, "population_2011" real, "largest_ethnic_group_2002" text, "dominant_religion_2002" text ); ### SQL Given the database schema, here is the SQL query that answers `What was the largest ethnic group in in the settlement with the cyrillic name банатски карловац?`: ```sql
SELECT COUNT("largest_ethnic_group_2002") FROM "table1_2562572_44" WHERE "population_2011"=5082;
## Task Generate a SQL query to answer the following question: `What is the largest ethnic group in the settlement with a 2011 population of 5082?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_2562572_44" ( "settlement" text, "cyrillic_name_other_names" text, "type" text, "population_2011" real, "largest_ethnic_group_2002" text, "dominant_religion_2002" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the largest ethnic group in the settlement with a 2011 population of 5082?`: ```sql
SELECT "population_2011" FROM "table1_2562572_44" WHERE "settlement"='Banatski Karlovac';
## Task Generate a SQL query to answer the following question: `What was the population in 2011 of banatski karlovac?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_2562572_44" ( "settlement" text, "cyrillic_name_other_names" text, "type" text, "population_2011" real, "largest_ethnic_group_2002" text, "dominant_religion_2002" text ); ### SQL Given the database schema, here is the SQL query that answers `What was the population in 2011 of banatski karlovac?`: ```sql
SELECT "settlement" FROM "table1_2562572_44" WHERE "cyrillic_name_other_names"='Локве (Romanian: Locve)';
## Task Generate a SQL query to answer the following question: `Which settlement has the cyrillic and other name of локве (romanian: locve)?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_2562572_44" ( "settlement" text, "cyrillic_name_other_names" text, "type" text, "population_2011" real, "largest_ethnic_group_2002" text, "dominant_religion_2002" text ); ### SQL Given the database schema, here is the SQL query that answers `Which settlement has the cyrillic and other name of локве (romanian: locve)?`: ```sql
SELECT MAX("population_2011") FROM "table1_2562572_44" WHERE "cyrillic_name_other_names"='Добрица';
## Task Generate a SQL query to answer the following question: `What is the population of the settlement with the cyrillic name of добрица?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_2562572_44" ( "settlement" text, "cyrillic_name_other_names" text, "type" text, "population_2011" real, "largest_ethnic_group_2002" text, "dominant_religion_2002" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the population of the settlement with the cyrillic name of добрица?`: ```sql
SELECT "settlement" FROM "table1_2562572_46" WHERE "cyrillic_name_other_names"='Војводинци (Romanian: Voivodinţ)';
## Task Generate a SQL query to answer the following question: `Which settlement has a cyrillic and other name of војводинци (romanian: voivodinţ)?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_2562572_46" ( "settlement" text, "cyrillic_name_other_names" text, "type" text, "population_2011" real, "largest_ethnic_group_2002" text, "dominant_religion_2002" text ); ### SQL Given the database schema, here is the SQL query that answers `Which settlement has a cyrillic and other name of војводинци (romanian: voivodinţ)?`: ```sql
SELECT "dominant_religion_2002" FROM "table1_2562572_46" WHERE "cyrillic_name_other_names"='Војводинци (Romanian: Voivodinţ)';
## Task Generate a SQL query to answer the following question: `What was the dominant religion in 2002 of the settlement with the cyrillic and other name of војводинци (romanian: voivodinţ)?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_2562572_46" ( "settlement" text, "cyrillic_name_other_names" text, "type" text, "population_2011" real, "largest_ethnic_group_2002" text, "dominant_religion_2002" text ); ### SQL Given the database schema, here is the SQL query that answers `What was the dominant religion in 2002 of the settlement with the cyrillic and other name of војводинци (romanian: voivodinţ)?`: ```sql
SELECT MAX("population_2011") FROM "table1_2562572_46" WHERE "cyrillic_name_other_names"='Ватин';
## Task Generate a SQL query to answer the following question: `What was the population in 2011 of the settlement with the cyrillic name of ватин?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_2562572_46" ( "settlement" text, "cyrillic_name_other_names" text, "type" text, "population_2011" real, "largest_ethnic_group_2002" text, "dominant_religion_2002" text ); ### SQL Given the database schema, here is the SQL query that answers `What was the population in 2011 of the settlement with the cyrillic name of ватин?`: ```sql
SELECT "largest_ethnic_group_2002" FROM "table1_2562572_46" WHERE "settlement"='Sočica';
## Task Generate a SQL query to answer the following question: `What was the largest ethnic group in sočica?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_2562572_46" ( "settlement" text, "cyrillic_name_other_names" text, "type" text, "population_2011" real, "largest_ethnic_group_2002" text, "dominant_religion_2002" text ); ### SQL Given the database schema, here is the SQL query that answers `What was the largest ethnic group in sočica?`: ```sql
SELECT "population_2011" FROM "table1_2562572_46" WHERE "settlement"='Pavliš';
## Task Generate a SQL query to answer the following question: `What was the 2011 population of pavliš?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_2562572_46" ( "settlement" text, "cyrillic_name_other_names" text, "type" text, "population_2011" real, "largest_ethnic_group_2002" text, "dominant_religion_2002" text ); ### SQL Given the database schema, here is the SQL query that answers `What was the 2011 population of pavliš?`: ```sql
SELECT "largest_ethnic_group_2002" FROM "table1_2562572_46" WHERE "cyrillic_name_other_names"='Ватин';
## Task Generate a SQL query to answer the following question: `What was the largest ethnic group in 2002 of the settlement with the cyrillic name of ватин?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_2562572_46" ( "settlement" text, "cyrillic_name_other_names" text, "type" text, "population_2011" real, "largest_ethnic_group_2002" text, "dominant_religion_2002" text ); ### SQL Given the database schema, here is the SQL query that answers `What was the largest ethnic group in 2002 of the settlement with the cyrillic name of ватин?`: ```sql
SELECT "dominant_religion_2002" FROM "table1_2562572_50" WHERE "settlement"='Mala Remeta';
## Task Generate a SQL query to answer the following question: `What was the dominant religion (2002) of the Mala Remeta settlement?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_2562572_50" ( "settlement" text, "cyrillic_name_other_names" text, "type" text, "population_2011" real, "largest_ethnic_group_2002" text, "dominant_religion_2002" text ); ### SQL Given the database schema, here is the SQL query that answers `What was the dominant religion (2002) of the Mala Remeta settlement?`: ```sql
SELECT "type" FROM "table1_2562572_50" WHERE "settlement"='Krušedol Selo';
## Task Generate a SQL query to answer the following question: `What type of settlemen is Krušedol Selo?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_2562572_50" ( "settlement" text, "cyrillic_name_other_names" text, "type" text, "population_2011" real, "largest_ethnic_group_2002" text, "dominant_religion_2002" text ); ### SQL Given the database schema, here is the SQL query that answers `What type of settlemen is Krušedol Selo?`: ```sql
SELECT COUNT("type") FROM "table1_2562572_50" WHERE "settlement"='Neradin';
## Task Generate a SQL query to answer the following question: `How many types of settlement if Neradin?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_2562572_50" ( "settlement" text, "cyrillic_name_other_names" text, "type" text, "population_2011" real, "largest_ethnic_group_2002" text, "dominant_religion_2002" text ); ### SQL Given the database schema, here is the SQL query that answers `How many types of settlement if Neradin?`: ```sql
SELECT "type" FROM "table1_2562572_50" WHERE "settlement"='Jazak';
## Task Generate a SQL query to answer the following question: `What type of settlement is Jazak?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_2562572_50" ( "settlement" text, "cyrillic_name_other_names" text, "type" text, "population_2011" real, "largest_ethnic_group_2002" text, "dominant_religion_2002" text ); ### SQL Given the database schema, here is the SQL query that answers `What type of settlement is Jazak?`: ```sql
SELECT "settlement" FROM "list_of_cities_towns_and_villages_in_voj" WHERE "population_2011"=9443;
## Task Generate a SQL query to answer the following question: `What is the name of the settlement that had a population of 9443 in 2011?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "list_of_cities_towns_and_villages_in_voj" ( "settlement" text, "cyrillic_name" text, "type" text, "population_2011" real, "largest_ethnic_group_2002" text, "dominant_religion_2002" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the name of the settlement that had a population of 9443 in 2011?`: ```sql
SELECT COUNT("type") FROM "list_of_cities_towns_and_villages_in_voj" WHERE "settlement"='Nova Pazova';
## Task Generate a SQL query to answer the following question: `How many different types of settlements does Nova Pazova fall into?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "list_of_cities_towns_and_villages_in_voj" ( "settlement" text, "cyrillic_name" text, "type" text, "population_2011" real, "largest_ethnic_group_2002" text, "dominant_religion_2002" text ); ### SQL Given the database schema, here is the SQL query that answers `How many different types of settlements does Nova Pazova fall into?`: ```sql
SELECT "largest_ethnic_group_2002" FROM "list_of_cities_towns_and_villages_in_voj" WHERE "cyrillic_name"='Сурдук';
## Task Generate a SQL query to answer the following question: `What ethnic group had the largest population in сурдук in 2002?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "list_of_cities_towns_and_villages_in_voj" ( "settlement" text, "cyrillic_name" text, "type" text, "population_2011" real, "largest_ethnic_group_2002" text, "dominant_religion_2002" text ); ### SQL Given the database schema, here is the SQL query that answers `What ethnic group had the largest population in сурдук in 2002?`: ```sql
SELECT "largest_ethnic_group_2002" FROM "list_of_cities_towns_and_villages_in_voj" WHERE "cyrillic_name"='Сурдук';
## Task Generate a SQL query to answer the following question: `What ethnic group had the largest population in сурдук in 2002?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "list_of_cities_towns_and_villages_in_voj" ( "settlement" text, "cyrillic_name" text, "type" text, "population_2011" real, "largest_ethnic_group_2002" text, "dominant_religion_2002" text ); ### SQL Given the database schema, here is the SQL query that answers `What ethnic group had the largest population in сурдук in 2002?`: ```sql
SELECT COUNT("dominant_religion_2002") FROM "list_of_cities_towns_and_villages_in_voj" WHERE "population_2011"=17105;
## Task Generate a SQL query to answer the following question: `How many dominant religions were in the settlement that had a population of 17105?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "list_of_cities_towns_and_villages_in_voj" ( "settlement" text, "cyrillic_name" text, "type" text, "population_2011" real, "largest_ethnic_group_2002" text, "dominant_religion_2002" text ); ### SQL Given the database schema, here is the SQL query that answers `How many dominant religions were in the settlement that had a population of 17105?`: ```sql
SELECT COUNT("population_2011") FROM "list_of_cities_towns_and_villages_in_voj" WHERE "cyrillic_name"='Сурдук';
## Task Generate a SQL query to answer the following question: `What was the population of сурдук in 2011?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "list_of_cities_towns_and_villages_in_voj" ( "settlement" text, "cyrillic_name" text, "type" text, "population_2011" real, "largest_ethnic_group_2002" text, "dominant_religion_2002" text ); ### SQL Given the database schema, here is the SQL query that answers `What was the population of сурдук in 2011?`: ```sql
SELECT MAX("meas_num") FROM "may_1920_special_election" WHERE "description"='Extending Eminent Domain Over Roads and Ways';
## Task Generate a SQL query to answer the following question: `When extending eminent domain over roads and ways is the description what is the highest means number?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "may_1920_special_election" ( "meas_num" real, "passed" text, "yes_votes" real, "no_votes" real, "pct_yes" text, "const_amd" text, "type" text, "description" text ); ### SQL Given the database schema, here is the SQL query that answers `When extending eminent domain over roads and ways is the description what is the highest means number?`: ```sql
SELECT COUNT("type") FROM "may_1920_special_election" WHERE "description"='Restoring Capital Punishment';
## Task Generate a SQL query to answer the following question: `When restoring capital punishment is the description how many types are there?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "may_1920_special_election" ( "meas_num" real, "passed" text, "yes_votes" real, "no_votes" real, "pct_yes" text, "const_amd" text, "type" text, "description" text ); ### SQL Given the database schema, here is the SQL query that answers `When restoring capital punishment is the description how many types are there?`: ```sql
SELECT MIN("no_votes") FROM "may_1920_special_election";
## Task Generate a SQL query to answer the following question: `What is the lowest overall amount of no votes?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "may_1920_special_election" ( "meas_num" real, "passed" text, "yes_votes" real, "no_votes" real, "pct_yes" text, "const_amd" text, "type" text, "description" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the lowest overall amount of no votes?`: ```sql
SELECT "urban_settlement" FROM "list_of_urban_settlements_in_vojvodina" WHERE "city_municipality"='Kovin';
## Task Generate a SQL query to answer the following question: `What was the urban settlement when the city / municipality was kovin?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "list_of_urban_settlements_in_vojvodina" ( "urban_settlement" text, "cyrillic_name" text, "city_municipality" text, "district" text, "population_1991" real, "population_2002" real, "population_2011" real ); ### SQL Given the database schema, here is the SQL query that answers `What was the urban settlement when the city / municipality was kovin?`: ```sql
SELECT COUNT("population_1991") FROM "list_of_urban_settlements_in_vojvodina" WHERE "population_2002"=14250;
## Task Generate a SQL query to answer the following question: `What is the population (1991) where population (2002) was 14250?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "list_of_urban_settlements_in_vojvodina" ( "urban_settlement" text, "cyrillic_name" text, "city_municipality" text, "district" text, "population_1991" real, "population_2002" real, "population_2011" real ); ### SQL Given the database schema, here is the SQL query that answers `What is the population (1991) where population (2002) was 14250?`: ```sql
SELECT MIN("population_1991") FROM "list_of_urban_settlements_in_vojvodina" WHERE "cyrillic_name"='Панчево';
## Task Generate a SQL query to answer the following question: `What is the population (1991) when cyrillic name is панчево?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "list_of_urban_settlements_in_vojvodina" ( "urban_settlement" text, "cyrillic_name" text, "city_municipality" text, "district" text, "population_1991" real, "population_2002" real, "population_2011" real ); ### SQL Given the database schema, here is the SQL query that answers `What is the population (1991) when cyrillic name is панчево?`: ```sql
SELECT "settlement_destiny" FROM "table1_2562572_56" WHERE "settlement"='Aleksandrovo';
## Task Generate a SQL query to answer the following question: `What is the settlement destiny in Aleksandrovo? ` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_2562572_56" ( "settlement" text, "cyrillic_name_other_names" text, "type_location" text, "settlement_destiny" text, "largest_ethnic_group_year" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the settlement destiny in Aleksandrovo? `: ```sql
SELECT "cyrillic_name_other_names" FROM "table1_2562572_56" WHERE "settlement"='Novi Vladimirovac';
## Task Generate a SQL query to answer the following question: `What is the Cyrillic name for Novi Vladimirovac? ` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_2562572_56" ( "settlement" text, "cyrillic_name_other_names" text, "type_location" text, "settlement_destiny" text, "largest_ethnic_group_year" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the Cyrillic name for Novi Vladimirovac? `: ```sql
SELECT COUNT("population_2011") FROM "table1_2562572_54" WHERE "settlement"='Krčedin';
## Task Generate a SQL query to answer the following question: `How many items appear in the population 2011 column for the krčedin settlement?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_2562572_54" ( "settlement" text, "cyrillic_name_other_names" text, "type" text, "population_2011" real, "largest_ethnic_group_2002" text, "dominant_religion_2002" text ); ### SQL Given the database schema, here is the SQL query that answers `How many items appear in the population 2011 column for the krčedin settlement?`: ```sql
SELECT "dominant_religion_2002" FROM "table1_2562572_54" WHERE "population_2011"=2337;
## Task Generate a SQL query to answer the following question: `What is the dominant religion in 2002 for the population of 2337 in 2011?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_2562572_54" ( "settlement" text, "cyrillic_name_other_names" text, "type" text, "population_2011" real, "largest_ethnic_group_2002" text, "dominant_religion_2002" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the dominant religion in 2002 for the population of 2337 in 2011?`: ```sql
SELECT MIN("population_2011") FROM "table1_2562572_54" WHERE "settlement"='Čortanovci';
## Task Generate a SQL query to answer the following question: `What is the lowest population in 2011 for the settlement of čortanovci?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_2562572_54" ( "settlement" text, "cyrillic_name_other_names" text, "type" text, "population_2011" real, "largest_ethnic_group_2002" text, "dominant_religion_2002" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the lowest population in 2011 for the settlement of čortanovci?`: ```sql
SELECT "largest_ethnic_group_2002" FROM "table1_2562572_54" WHERE "cyrillic_name_other_names"='Бешка';
## Task Generate a SQL query to answer the following question: `What is the largest ethnic group in 2002 for the cyrillic name, other name of бешка?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_2562572_54" ( "settlement" text, "cyrillic_name_other_names" text, "type" text, "population_2011" real, "largest_ethnic_group_2002" text, "dominant_religion_2002" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the largest ethnic group in 2002 for the cyrillic name, other name of бешка?`: ```sql
SELECT MIN("population_2002") FROM "list_of_urban_settlements_in_vojvodina" WHERE "population_2011"=30076;
## Task Generate a SQL query to answer the following question: `What was the lowes population of 2002 when the 2011 population was 30076?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "list_of_urban_settlements_in_vojvodina" ( "urban_settlement" text, "cyrillic_name" text, "city_municipality" text, "district" text, "population_1991" real, "population_2002" real, "population_2011" real ); ### SQL Given the database schema, here is the SQL query that answers `What was the lowes population of 2002 when the 2011 population was 30076?`: ```sql
SELECT "dominant_religion_2002" FROM "table1_2562572_9" WHERE "cyrillic_name_other_names"='Степановићево';
## Task Generate a SQL query to answer the following question: `What is the dominant religion in степановићево during 2002?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_2562572_9" ( "settlement" text, "cyrillic_name_other_names" text, "type" text, "population_2011" real, "largest_ethnic_group_2002" text, "dominant_religion_2002" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the dominant religion in степановићево during 2002?`: ```sql
SELECT "cyrillic_name_other_names" FROM "table1_2562572_9" WHERE "population_2011"=2125;
## Task Generate a SQL query to answer the following question: `What is the cyrillic name for the settlement with the population of 2125?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_2562572_9" ( "settlement" text, "cyrillic_name_other_names" text, "type" text, "population_2011" real, "largest_ethnic_group_2002" text, "dominant_religion_2002" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the cyrillic name for the settlement with the population of 2125?`: ```sql
SELECT "type" FROM "table1_2562572_9" WHERE "cyrillic_name_other_names"='Футог';
## Task Generate a SQL query to answer the following question: `What type of settlement is футог?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_2562572_9" ( "settlement" text, "cyrillic_name_other_names" text, "type" text, "population_2011" real, "largest_ethnic_group_2002" text, "dominant_religion_2002" text ); ### SQL Given the database schema, here is the SQL query that answers `What type of settlement is футог?`: ```sql
SELECT "cyrillic_name_other_names" FROM "table1_2562572_9" WHERE "population_2011"=5414;
## Task Generate a SQL query to answer the following question: `What is the cyrillic name for the settlement with the population of 5414?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_2562572_9" ( "settlement" text, "cyrillic_name_other_names" text, "type" text, "population_2011" real, "largest_ethnic_group_2002" text, "dominant_religion_2002" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the cyrillic name for the settlement with the population of 5414?`: ```sql
SELECT "cyrillic_name_other_names" FROM "table1_2562572_9" WHERE "settlement"='Budisava';
## Task Generate a SQL query to answer the following question: `What is the cyrillic name for Budisava?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_2562572_9" ( "settlement" text, "cyrillic_name_other_names" text, "type" text, "population_2011" real, "largest_ethnic_group_2002" text, "dominant_religion_2002" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the cyrillic name for Budisava?`: ```sql
SELECT "dominant_religion_2002" FROM "table1_2562572_9" WHERE "cyrillic_name_other_names"='Нови Сад';
## Task Generate a SQL query to answer the following question: `What is the dominant religion for нови сад in 2002?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_2562572_9" ( "settlement" text, "cyrillic_name_other_names" text, "type" text, "population_2011" real, "largest_ethnic_group_2002" text, "dominant_religion_2002" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the dominant religion for нови сад in 2002?`: ```sql
SELECT MAX("yes_votes") FROM "1926_general_election" WHERE "no_votes"=61307;
## Task Generate a SQL query to answer the following question: `What is the largest number of yest votes for the measure with 61307 no votes?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "1926_general_election" ( "meas_num" real, "passed" text, "yes_votes" real, "no_votes" real, "pct_yes" text, "const_amd" text, "type" text, "description" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the largest number of yest votes for the measure with 61307 no votes?`: ```sql
SELECT "meas_num" FROM "1926_general_election" WHERE "pct_yes"='58.29%';
## Task Generate a SQL query to answer the following question: `What numbered measure had a 58.29% yes%?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "1926_general_election" ( "meas_num" real, "passed" text, "yes_votes" real, "no_votes" real, "pct_yes" text, "const_amd" text, "type" text, "description" text ); ### SQL Given the database schema, here is the SQL query that answers `What numbered measure had a 58.29% yes%?`: ```sql
SELECT "passed" FROM "1926_general_election" WHERE "no_votes"=61307;
## Task Generate a SQL query to answer the following question: `What was the passing result for the measure with 61307 no votes?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "1926_general_election" ( "meas_num" real, "passed" text, "yes_votes" real, "no_votes" real, "pct_yes" text, "const_amd" text, "type" text, "description" text ); ### SQL Given the database schema, here is the SQL query that answers `What was the passing result for the measure with 61307 no votes?`: ```sql
SELECT MIN("meas_num") FROM "1926_general_election" WHERE "pct_yes"='33.57%';
## Task Generate a SQL query to answer the following question: `What is the lowest measure number for the measure with a 33.57% yes percentage?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "1926_general_election" ( "meas_num" real, "passed" text, "yes_votes" real, "no_votes" real, "pct_yes" text, "const_amd" text, "type" text, "description" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the lowest measure number for the measure with a 33.57% yes percentage?`: ```sql
SELECT "passed" FROM "1926_general_election" WHERE "description"='Bus and Truck Operating License Bill';
## Task Generate a SQL query to answer the following question: `What was the passing result for the measure with a description of bus and truck operating license bill?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "1926_general_election" ( "meas_num" real, "passed" text, "yes_votes" real, "no_votes" real, "pct_yes" text, "const_amd" text, "type" text, "description" text ); ### SQL Given the database schema, here is the SQL query that answers `What was the passing result for the measure with a description of bus and truck operating license bill?`: ```sql
SELECT "passed" FROM "1930_general_election" WHERE "pct_yes"='52.49%';
## Task Generate a SQL query to answer the following question: `What was the result of the ballot that had a 52.49% yes vote percentage?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "1930_general_election" ( "meas_num" real, "passed" text, "yes_votes" real, "no_votes" real, "pct_yes" text, "const_amd" text, "type" text, "description" text ); ### SQL Given the database schema, here is the SQL query that answers `What was the result of the ballot that had a 52.49% yes vote percentage?`: ```sql
SELECT COUNT("const_amd") FROM "1928_general_election" WHERE "description"='Five Cent Gasoline Tax Bill';
## Task Generate a SQL query to answer the following question: `List the total number of constitutional amendments for a five cent gasoline tax bill.` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "1928_general_election" ( "meas_num" real, "passed" text, "yes_votes" real, "no_votes" real, "pct_yes" text, "const_amd" text, "type" text, "description" text ); ### SQL Given the database schema, here is the SQL query that answers `List the total number of constitutional amendments for a five cent gasoline tax bill.`: ```sql
SELECT "type" FROM "1928_general_election" WHERE "meas_num"=3;
## Task Generate a SQL query to answer the following question: `What type of proposal is measure number 3?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "1928_general_election" ( "meas_num" real, "passed" text, "yes_votes" real, "no_votes" real, "pct_yes" text, "const_amd" text, "type" text, "description" text ); ### SQL Given the database schema, here is the SQL query that answers `What type of proposal is measure number 3?`: ```sql
SELECT "yes_votes" FROM "1932_general_election" WHERE "pct_yes"='60.39%';
## Task Generate a SQL query to answer the following question: `How many yes votes did the measure that got 60.39% yes votes get?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "1932_general_election" ( "meas_num" real, "passed" text, "yes_votes" real, "no_votes" real, "pct_yes" text, "const_amd" text, "type" text, "description" text ); ### SQL Given the database schema, here is the SQL query that answers `How many yes votes did the measure that got 60.39% yes votes get?`: ```sql
SELECT "description" FROM "1932_general_election" WHERE "pct_yes"='39.57%';
## Task Generate a SQL query to answer the following question: `What is the description of the measure that got 39.57% yes votes?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "1932_general_election" ( "meas_num" real, "passed" text, "yes_votes" real, "no_votes" real, "pct_yes" text, "const_amd" text, "type" text, "description" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the description of the measure that got 39.57% yes votes?`: ```sql