text stringlengths 310 1.28k |
|---|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "constituency_201_243" (
"constituency_no" real,
"vidhan_sabha_constituency" text,
"reservation_for_sc_st" text,
"district" text,
"lok_sabha" text
);
Question: What was the Lok Sabha in Karakat ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "constituency_201_243" (
"constituency_no" real,
"vidhan_sabha_constituency" text,
"reservation_for_sc_st" text,
"district" text,
"lok_sabha" text
);
Question: How many were in the Kargahar (vid... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "constituency_201_243" (
"constituency_no" real,
"vidhan_sabha_constituency" text,
"reservation_for_sc_st" text,
"district" text,
"lok_sabha" text
);
Question: What district has 213 constituents... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "constituency_201_243" (
"constituency_no" real,
"vidhan_sabha_constituency" text,
"reservation_for_sc_st" text,
"district" text,
"lok_sabha" text
);
Question: How many Lok Sabha are in the one ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "international_tourism_expenditure" (
"rank_2012" real,
"country" text,
"unwto_region" text,
"international_tourism_expenditure_2011" text,
"international_tourism_expenditure_2012" text,
"pct_c... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "international_tourism_expenditure" (
"rank_2012" real,
"country" text,
"unwto_region" text,
"international_tourism_expenditure_2011" text,
"international_tourism_expenditure_2012" text,
"pct_c... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "international_tourism_expenditure" (
"rank_2012" real,
"country" text,
"unwto_region" text,
"international_tourism_expenditure_2011" text,
"international_tourism_expenditure_2012" text,
"pct_c... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "international_tourism_expenditure" (
"rank_2012" real,
"country" text,
"unwto_region" text,
"international_tourism_expenditure_2011" text,
"international_tourism_expenditure_2012" text,
"pct_c... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "sheffield_united_statistics" (
"season" text,
"division" text,
"league_apps" real,
"league_goals" real,
"fa_cup_apps" real,
"fa_cup_goals" real,
"other_apps" real,
"other_goals" real,
"t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "sheffield_united_statistics" (
"season" text,
"division" text,
"league_apps" real,
"league_goals" real,
"fa_cup_apps" real,
"fa_cup_goals" real,
"other_apps" real,
"other_goals" real,
"t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "sheffield_united_statistics" (
"season" text,
"division" text,
"league_apps" real,
"league_goals" real,
"fa_cup_apps" real,
"fa_cup_goals" real,
"other_apps" real,
"other_goals" real,
"t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "most_visited_countries_by_international_" (
"rank" real,
"country" text,
"unwto_region" text,
"international_tourist_arrivals_2012" text,
"international_tourist_arrivals_2011" text,
"change_20... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "international_broadcasts" (
"country" text,
"alternante_title" text,
"tv_network_s" text,
"series_premiere" text,
"series_finale" text
);
Question: What was the premiere date for the episode wh... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "international_broadcasts" (
"country" text,
"alternante_title" text,
"tv_network_s" text,
"series_premiere" text,
"series_finale" text
);
Question: Which TV network had its series finale on May... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "international_broadcasts" (
"country" text,
"alternante_title" text,
"tv_network_s" text,
"series_premiere" text,
"series_finale" text
);
Question: What was the date of the series premiere whos... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "international_broadcasts" (
"country" text,
"alternante_title" text,
"tv_network_s" text,
"series_premiere" text,
"series_finale" text
);
Question: Which TV network has a country of origin of I... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "international_broadcasts" (
"country" text,
"alternante_title" text,
"tv_network_s" text,
"series_premiere" text,
"series_finale" text
);
Question: What was the date of series premiere for the ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "international_broadcasts" (
"country" text,
"alternante_title" text,
"tv_network_s" text,
"series_premiere" text,
"series_finale" text
);
Question: What was the date of the series finale for Pe... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_29803475_2" (
"no_in_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"u_s_viewers_million" text
);
Question: What is every original air dat... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_29803475_2" (
"no_in_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"u_s_viewers_million" text
);
Question: What is the lowest number in s... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "sheffield_united_statistics" (
"season" text,
"division" text,
"league_apps" real,
"league_goals" real,
"fa_cup_apps" real,
"fa_cup_goals" real,
"other_apps" real,
"other_goals" real,
"t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "sheffield_united_statistics" (
"season" text,
"division" text,
"league_apps" real,
"league_goals" real,
"fa_cup_apps" real,
"fa_cup_goals" real,
"other_apps" real,
"other_goals" real,
"t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "sheffield_united_statistics" (
"season" text,
"division" text,
"league_apps" real,
"league_goals" real,
"fa_cup_apps" real,
"fa_cup_goals" real,
"other_apps" real,
"other_goals" real,
"t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: Wh... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "fsfe_examination_result_analysis_2009" (
"subject" text,
"no_sat" real,
"no_passed" real,
"pct_pass" real,
"highest_mark" real,
"lowest_mark" real,
"mean" real
);
Question: What is the subj... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "fsfe_examination_result_analysis_2009" (
"subject" text,
"no_sat" real,
"no_passed" real,
"pct_pass" real,
"highest_mark" real,
"lowest_mark" real,
"mean" real
);
Question: How many lowest ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_29826467_2" (
"rnd" real,
"circuit" text,
"lmp1_winning_team" text,
"lmp2_winning_team" text,
"flm_winning_team" text,
"gte_pro_winning_team" text,
"gte_am_winning_team" text,
"resu... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: Wh... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "giovani_new_generation_section" (
"position" text,
"singer" text,
"2nd_evening" text,
"3rd_evening" text,
"4th_evening" text,
"5th_evening" text
);
Question: What position was serena abrami i... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "giovani_new_generation_section" (
"position" text,
"singer" text,
"2nd_evening" text,
"3rd_evening" text,
"4th_evening" text,
"5th_evening" text
);
Question: How many singers got 2nd place in... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "giovani_new_generation_section" (
"position" text,
"singer" text,
"2nd_evening" text,
"3rd_evening" text,
"4th_evening" text,
"5th_evening" text
);
Question: Who got 3rd place on the 4th even... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "giovani_new_generation_section" (
"position" text,
"singer" text,
"2nd_evening" text,
"3rd_evening" text,
"4th_evening" text,
"5th_evening" text
);
Question: Who went out on the 2nd evening?
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "giovani_new_generation_section" (
"position" text,
"singer" text,
"2nd_evening" text,
"3rd_evening" text,
"4th_evening" text,
"5th_evening" text
);
Question: What was gabriella ferrone's resu... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "derbi_amman" (
"num" real,
"tournament" text,
"al_faisaly_wins" real,
"al_wehdat_wins" real,
"draws" real,
"total" real,
"al_faisaly_goals" real,
"al_wehdat_goals" real
);
Question: What ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "derbi_amman" (
"num" real,
"tournament" text,
"al_faisaly_wins" real,
"al_wehdat_wins" real,
"draws" real,
"total" real,
"al_faisaly_goals" real,
"al_wehdat_goals" real
);
Question: When ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "derbi_amman" (
"num" real,
"tournament" text,
"al_faisaly_wins" real,
"al_wehdat_wins" real,
"draws" real,
"total" real,
"al_faisaly_goals" real,
"al_wehdat_goals" real
);
Question: When ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_298550_1" (
"country_with_flag" text,
"area_km" real,
"population_1_july_2005_est" real,
"population_density_per_km" text,
"capital" text
);
Question: What is the highest value of area w... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_298550_1" (
"country_with_flag" text,
"area_km" real,
"population_1_july_2005_est" real,
"population_density_per_km" text,
"capital" text
);
Question: How many entries for area correspon... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_298550_1" (
"country_with_flag" text,
"area_km" real,
"population_1_july_2005_est" real,
"population_density_per_km" text,
"capital" text
);
Question: What is every entry for area if cap... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_298550_1" (
"country_with_flag" text,
"area_km" real,
"population_1_july_2005_est" real,
"population_density_per_km" text,
"capital" text
);
Question: What is every country with a flag w... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_298550_1" (
"country_with_flag" text,
"area_km" real,
"population_1_july_2005_est" real,
"population_density_per_km" text,
"capital" text
);
Question: What is the highest value for popul... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2003_04_season_as_a_three_year_old" (
"result" text,
"date" text,
"race" text,
"venue" text,
"group" text,
"distance" text,
"weight_kg" text,
"jockey" text,
"winner_2nd" text
);
Questio... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2003_04_season_as_a_three_year_old" (
"result" text,
"date" text,
"race" text,
"venue" text,
"group" text,
"distance" text,
"weight_kg" text,
"jockey" text,
"winner_2nd" text
);
Questio... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_29897962_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"u_s_viewers_million" text
);
Question: Who dir... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_298883_5" (
"value" text,
"dimensions" text,
"main_color" text,
"obverse" text,
"reverse" text,
"watermark" text,
"date_of_issue" text
);
Question: What are the dimensions of the coi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_298883_5" (
"value" text,
"dimensions" text,
"main_color" text,
"obverse" text,
"reverse" text,
"watermark" text,
"date_of_issue" text
);
Question: How many different dates of issue ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_298883_5" (
"value" text,
"dimensions" text,
"main_color" text,
"obverse" text,
"reverse" text,
"watermark" text,
"date_of_issue" text
);
Question: What are the dimensions of the coi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_298883_5" (
"value" text,
"dimensions" text,
"main_color" text,
"obverse" text,
"reverse" text,
"watermark" text,
"date_of_issue" text
);
Question: What is on the reverse side of the... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_298883_5" (
"value" text,
"dimensions" text,
"main_color" text,
"obverse" text,
"reverse" text,
"watermark" text,
"date_of_issue" text
);
Question: What is on the reverse side of the... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_298883_5" (
"value" text,
"dimensions" text,
"main_color" text,
"obverse" text,
"reverse" text,
"watermark" text,
"date_of_issue" text
);
Question: What are the dimensions of the coi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_29860752_11" (
"name_namesake" text,
"builder_dimensions_displacement_hull_speed_complement" text,
"machinery_boiler_bunkers_engines_armament" text,
"ordered_laid_down_launched_trials" text... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_29860752_11" (
"name_namesake" text,
"builder_dimensions_displacement_hull_speed_complement" text,
"machinery_boiler_bunkers_engines_armament" text,
"ordered_laid_down_launched_trials" text... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "ratings" (
"season" text,
"season_premiere" text,
"season_finale" text,
"tv_season" text,
"ranking" text,
"viewers_in_millions" text
);
Question: What season was the finale that aired on May ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "ratings" (
"season" text,
"season_premiere" text,
"season_finale" text,
"tv_season" text,
"ranking" text,
"viewers_in_millions" text
);
Question: What TV season was the 1st season?
<|assistan... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "ratings" (
"season" text,
"season_premiere" text,
"season_finale" text,
"tv_season" text,
"ranking" text,
"viewers_in_millions" text
);
Question: When was the 3rd season premiere originally a... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "ratings" (
"season" text,
"season_premiere" text,
"season_finale" text,
"tv_season" text,
"ranking" text,
"viewers_in_millions" text
);
Question: What was the 2nd's season's ranking?
<|assist... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "ratings" (
"season" text,
"season_premiere" text,
"season_finale" text,
"tv_season" text,
"ranking" text,
"viewers_in_millions" text
);
Question: When did the season premiere that saw 8.4 mil... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "ratings" (
"season" text,
"season_premiere" text,
"season_finale" text,
"tv_season" text,
"ranking" text,
"viewers_in_millions" text
);
Question: When did the season finale for the January 9,... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_29920800_1" (
"no_in_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real,
"u_s_viewers_million" text
);
Question: Who ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_29920800_1" (
"no_in_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real,
"u_s_viewers_million" text
);
Question: What... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_29920800_1" (
"no_in_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real,
"u_s_viewers_million" text
);
Question: Who ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_29920800_1" (
"no_in_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real,
"u_s_viewers_million" text
);
Question: How ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "biggest_attendances" (
"competition" text,
"attendance" real,
"opponent" text,
"season" text,
"result" text
);
Question: How many people attended the uefa champions league competition?
<|assist... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "references" (
"rank" real,
"country_territory" text,
"miss_international" real,
"1st_runner_up" real,
"2nd_runner_up" real,
"3rd_runner_up" real,
"4th_runner_up" real,
"semifinalists" real... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "references" (
"rank" real,
"country_territory" text,
"miss_international" real,
"1st_runner_up" real,
"2nd_runner_up" real,
"3rd_runner_up" real,
"4th_runner_up" real,
"semifinalists" real... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "references" (
"rank" real,
"country_territory" text,
"miss_international" real,
"1st_runner_up" real,
"2nd_runner_up" real,
"3rd_runner_up" real,
"4th_runner_up" real,
"semifinalists" real... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "references" (
"rank" real,
"country_territory" text,
"miss_international" real,
"1st_runner_up" real,
"2nd_runner_up" real,
"3rd_runner_up" real,
"4th_runner_up" real,
"semifinalists" real... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "references" (
"rank" real,
"country_territory" text,
"miss_international" real,
"1st_runner_up" real,
"2nd_runner_up" real,
"3rd_runner_up" real,
"4th_runner_up" real,
"semifinalists" real... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "roster" (
"name" text,
"num" real,
"position" text,
"height" text,
"weight_lb" real,
"year" text,
"hometown" text,
"previous_school" text
);
Question: What year was player number 10?
<|as... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "roster" (
"name" text,
"num" real,
"position" text,
"height" text,
"weight_lb" real,
"year" text,
"hometown" text,
"previous_school" text
);
Question: How many hometowns are there when Ch... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "roster" (
"name" text,
"num" real,
"position" text,
"height" text,
"weight_lb" real,
"year" text,
"hometown" text,
"previous_school" text
);
Question: How many different items appear in t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_29960651_5" (
"no_for_season" real,
"no_for_series" real,
"episode" text,
"airdate" text,
"viewers_in_millions" text
);
Question: Which episode is number 3 in the season?
<|assistant|>
S... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_29960651_5" (
"no_for_season" real,
"no_for_series" real,
"episode" text,
"airdate" text,
"viewers_in_millions" text
);
Question: What is the episode name for series number 45?
<|assista... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "references" (
"rank" real,
"country_territory" text,
"miss_earth" text,
"miss_air" real,
"miss_water" real,
"miss_fire" real,
"semifinalists" real,
"total" real
);
Question: What is the h... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "references" (
"rank" real,
"country_territory" text,
"miss_earth" text,
"miss_air" real,
"miss_water" real,
"miss_fire" real,
"semifinalists" real,
"total" real
);
Question: How many semi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "references" (
"rank" real,
"country_territory" text,
"miss_earth" text,
"miss_air" real,
"miss_water" real,
"miss_fire" real,
"semifinalists" real,
"total" real
);
Question: How many Miss... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "references" (
"rank" real,
"country_territory" text,
"miss_earth" text,
"miss_air" real,
"miss_water" real,
"miss_fire" real,
"semifinalists" real,
"total" real
);
Question: What is the m... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "references" (
"rank" real,
"country_territory" text,
"miss_earth" text,
"miss_air" real,
"miss_water" real,
"miss_fire" real,
"semifinalists" real,
"total" real
);
Question: What is the l... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: wh... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"series" text
);
Question: Wh... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"series" text
);
Question: In... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "see_also" (
"official_name" text,
"ine_code" real,
"name_in_spanish" text,
"name_in_basque" text,
"population_2007" real
);
Question: What is the official name of the municipality whose name in... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "see_also" (
"official_name" text,
"ine_code" real,
"name_in_spanish" text,
"name_in_basque" text,
"population_2007" real
);
Question: What is the official name of the municipality whose name in... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "see_also" (
"official_name" text,
"ine_code" real,
"name_in_spanish" text,
"name_in_basque" text,
"population_2007" real
);
Question: What is the official name of the municipality whose name in... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "see_also" (
"official_name" text,
"ine_code" real,
"name_in_spanish" text,
"name_in_basque" text,
"population_2007" real
);
Question: What is the name in Basque of the municipality whose offici... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "see_also" (
"official_name" text,
"ine_code" real,
"name_in_spanish" text,
"name_in_basque" text,
"population_2007" real
);
Question: What is the INE code of the municipality whose official nam... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_30011_2" (
"prefix_class" text,
"type_and_usage" text,
"example" text,
"equivalent" text,
"reference" text
);
Question: What is every reference for type and usage of Germanium small-sign... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_30011_2" (
"prefix_class" text,
"type_and_usage" text,
"example" text,
"equivalent" text,
"reference" text
);
Question: What is every equivalent for the example of asy28?
<|assistant|>
S... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_30011_2" (
"prefix_class" text,
"type_and_usage" text,
"example" text,
"equivalent" text,
"reference" text
);
Question: What is every reference for the example of AF117?
<|assistant|>
SE... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_30011_2" (
"prefix_class" text,
"type_and_usage" text,
"example" text,
"equivalent" text,
"reference" text
);
Question: What is every prefix class for the equivalent of NTE160?
<|assista... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_30011_2" (
"prefix_class" text,
"type_and_usage" text,
"example" text,
"equivalent" text,
"reference" text
);
Question: What is every prefix class for the equivalent of NTE101?
<|assista... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_30011_2" (
"prefix_class" text,
"type_and_usage" text,
"example" text,
"equivalent" text,
"reference" text
);
Question: What is every example for the equivalent of NTE160?
<|assistant|>
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "references" (
"rank" real,
"country_territory" text,
"manhunt_international" real,
"1st_runner_up" real,
"2nd_runner_up" real,
"3rd_runner_up" real,
"4th_runner_up" real,
"semifinalists" r... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "references" (
"rank" real,
"country_territory" text,
"manhunt_international" real,
"1st_runner_up" real,
"2nd_runner_up" real,
"3rd_runner_up" real,
"4th_runner_up" real,
"semifinalists" r... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "references" (
"rank" real,
"country_territory" text,
"manhunt_international" real,
"1st_runner_up" real,
"2nd_runner_up" real,
"3rd_runner_up" real,
"4th_runner_up" real,
"semifinalists" r... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "references" (
"rank" real,
"country_territory" text,
"manhunt_international" real,
"1st_runner_up" real,
"2nd_runner_up" real,
"3rd_runner_up" real,
"4th_runner_up" real,
"semifinalists" r... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "references" (
"rank" real,
"country_territory" text,
"manhunt_international" real,
"1st_runner_up" real,
"2nd_runner_up" real,
"3rd_runner_up" real,
"4th_runner_up" real,
"semifinalists" r... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_30030227_1" (
"series_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"viewers_million" text
);
Question: Who wrote "yielding"?
<|assistant|>
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_30030227_1" (
"series_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"viewers_million" text
);
Question: How many people wrote the episode di... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_30030227_1" (
"series_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"viewers_million" text
);
Question: How many million viewers watched "ni... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.