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