text stringlengths 310 1.28k |
|---|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "references" (
"rank" real,
"country" text,
"miss_universe" text,
"1st_runner_up" real,
"2nd_runner_up" real,
"3rd_runner_up" real,
"4th_runner_up" real,
"semifinalists" real,
"total" rea... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "references" (
"rank" real,
"country" text,
"miss_universe" text,
"1st_runner_up" real,
"2nd_runner_up" real,
"3rd_runner_up" real,
"4th_runner_up" real,
"semifinalists" real,
"total" rea... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "relegation" (
"team" text,
"average" text,
"points" real,
"played" real,
"2003_04" text,
"2004_05" text,
"2005_06" text
);
Question: What is the minimum number of points for teams averaging... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "relegation" (
"team" text,
"average" text,
"points" real,
"played" real,
"2003_04" text,
"2004_05" text,
"2005_06" text
);
Question: What is the 2004-2005 value associated with a 2005-2006 ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "relegation" (
"team" text,
"average" text,
"points" real,
"played" real,
"2003_04" text,
"2004_05" text,
"2005_06" text
);
Question: How many averages are associated with a 2003-2004 value ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "relegation" (
"team" text,
"average" text,
"points" real,
"played" real,
"2003_04" text,
"2004_05" text,
"2005_06" text
);
Question: What 2003-2004 values are associated with an average of ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "relegation" (
"team" text,
"average" text,
"points" real,
"played" real,
"2003_04" text,
"2004_05" text,
"2005_06" text
);
Question: How many teams have a 2004-05 value of 49/38?
<|assistan... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "relegation" (
"team" text,
"average" text,
"points" real,
"played" real,
"2003_04" text,
"2004_05" text,
"2005_06" text
);
Question: How many 2003-04 values have a 2004-05 value of 73/38?
<... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2866503_1" (
"no" real,
"num" real,
"title" text,
"directed_by" text,
"written_by" text,
"u_s_air_date" text,
"production_code" real,
"u_s_viewers_million" text
);
Question: How ma... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2866503_1" (
"no" real,
"num" real,
"title" text,
"directed_by" text,
"written_by" text,
"u_s_air_date" text,
"production_code" real,
"u_s_viewers_million" text
);
Question: What i... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2866503_1" (
"no" real,
"num" real,
"title" text,
"directed_by" text,
"written_by" text,
"u_s_air_date" text,
"production_code" real,
"u_s_viewers_million" text
);
Question: What i... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2866456_1" (
"no" real,
"num" real,
"title" text,
"directed_by" text,
"written_by" text,
"u_s_air_date" text,
"production_code" text,
"u_s_viewers_million" text
);
Question: How ma... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2866456_1" (
"no" real,
"num" real,
"title" text,
"directed_by" text,
"written_by" text,
"u_s_air_date" text,
"production_code" text,
"u_s_viewers_million" text
);
Question: Who is... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2866456_1" (
"no" real,
"num" real,
"title" text,
"directed_by" text,
"written_by" text,
"u_s_air_date" text,
"production_code" text,
"u_s_viewers_million" text
);
Question: Who is... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2866509_1" (
"no" real,
"num" real,
"title" text,
"directed_by" text,
"written_by" text,
"u_s_air_date" text,
"production_code" real,
"u_s_viewers_million" text
);
Question: what i... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2866509_1" (
"no" real,
"num" real,
"title" text,
"directed_by" text,
"written_by" text,
"u_s_air_date" text,
"production_code" real,
"u_s_viewers_million" text
);
Question: who ar... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "see_also" (
"num" real,
"stadium" text,
"capacity" real,
"opened" text,
"city_town" text,
"home_team" text
);
Question: What stadium does FK Rudar play in?
<|assistant|>
SELECT "stadium" FROM... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "see_also" (
"num" real,
"stadium" text,
"capacity" real,
"opened" text,
"city_town" text,
"home_team" text
);
Question: What town holds Stadion Zlatica?
<|assistant|>
SELECT "city_town" FROM ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "see_also" (
"num" real,
"stadium" text,
"capacity" real,
"opened" text,
"city_town" text,
"home_team" text
);
Question: What stadium does FK Jedinstvo play in?
<|assistant|>
SELECT "stadium" ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "week_6" (
"couple" text,
"style" text,
"music" text,
"trine_dehli_cleve" real,
"tor_fl_ysvik" real,
"karianne_gulliksen" real,
"christer_tornell" real,
"total" real
);
Question: What is l... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "week_6" (
"couple" text,
"style" text,
"music" text,
"trine_dehli_cleve" real,
"tor_fl_ysvik" real,
"karianne_gulliksen" real,
"christer_tornell" real,
"total" real
);
Question: How many ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "week_6" (
"couple" text,
"style" text,
"music" text,
"trine_dehli_cleve" real,
"tor_fl_ysvik" real,
"karianne_gulliksen" real,
"christer_tornell" real,
"total" real
);
Question: What is l... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "week_6" (
"couple" text,
"style" text,
"music" text,
"trine_dehli_cleve" real,
"tor_fl_ysvik" real,
"karianne_gulliksen" real,
"christer_tornell" real,
"total" real
);
Question: What is l... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "installed_capacity" (
"stage" text,
"unit_number" real,
"installed_capacity_mw" text,
"date_of_commissioning" text,
"status" text,
"tg_set_provider" text,
"boiler_provider" text
);
Question... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "installed_capacity" (
"stage" text,
"unit_number" real,
"installed_capacity_mw" text,
"date_of_commissioning" text,
"status" text,
"tg_set_provider" text,
"boiler_provider" text
);
Question... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "week_10" (
"couple" text,
"style" text,
"music" text,
"trine_dehli_cleve" real,
"tor_fl_ysvik" real,
"karianne_gulliksen" real,
"christer_tornell" real,
"total" real
);
Question: Name the... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "week_10" (
"couple" text,
"style" text,
"music" text,
"trine_dehli_cleve" real,
"tor_fl_ysvik" real,
"karianne_gulliksen" real,
"christer_tornell" real,
"total" real
);
Question: Name the... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "week_10" (
"couple" text,
"style" text,
"music" text,
"trine_dehli_cleve" real,
"tor_fl_ysvik" real,
"karianne_gulliksen" real,
"christer_tornell" real,
"total" real
);
Question: Name the... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "week_10" (
"couple" text,
"style" text,
"music" text,
"trine_dehli_cleve" real,
"tor_fl_ysvik" real,
"karianne_gulliksen" real,
"christer_tornell" real,
"total" real
);
Question: Name the... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "week_7" (
"couple" text,
"style" text,
"music" text,
"trine_dehli_cleve" real,
"tor_fl_ysvik" real,
"karianne_gulliksen" real,
"christer_tornell" real,
"total" real
);
Question: how many ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "week_7" (
"couple" text,
"style" text,
"music" text,
"trine_dehli_cleve" real,
"tor_fl_ysvik" real,
"karianne_gulliksen" real,
"christer_tornell" real,
"total" real
);
Question: how many ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "week_12" (
"couple" text,
"style" text,
"music" text,
"trine_dehli_cleve" real,
"tor_fl_ysvik" real,
"karianne_gulliksen" real,
"christer_tornell" real,
"total" real
);
Question: What sco... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "week_12" (
"couple" text,
"style" text,
"music" text,
"trine_dehli_cleve" real,
"tor_fl_ysvik" real,
"karianne_gulliksen" real,
"christer_tornell" real,
"total" real
);
Question: What is ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "week_12" (
"couple" text,
"style" text,
"music" text,
"trine_dehli_cleve" real,
"tor_fl_ysvik" real,
"karianne_gulliksen" real,
"christer_tornell" real,
"total" real
);
Question: What is ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "week_12" (
"couple" text,
"style" text,
"music" text,
"trine_dehli_cleve" real,
"tor_fl_ysvik" real,
"karianne_gulliksen" real,
"christer_tornell" real,
"total" real
);
Question: What is ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "week_12" (
"couple" text,
"style" text,
"music" text,
"trine_dehli_cleve" real,
"tor_fl_ysvik" real,
"karianne_gulliksen" real,
"christer_tornell" real,
"total" real
);
Question: How many... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "week_1" (
"couple" text,
"style" text,
"music" text,
"trine_dehli_cleve" real,
"tor_fl_ysvik" real,
"karianne_gulliksen" real,
"christer_tornell" real,
"total" real
);
Question: What is t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "week_1" (
"couple" text,
"style" text,
"music" text,
"trine_dehli_cleve" real,
"tor_fl_ysvik" real,
"karianne_gulliksen" real,
"christer_tornell" real,
"total" real
);
Question: How many ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "week_1" (
"couple" text,
"style" text,
"music" text,
"trine_dehli_cleve" real,
"tor_fl_ysvik" real,
"karianne_gulliksen" real,
"christer_tornell" real,
"total" real
);
Question: What is t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "week_1" (
"couple" text,
"style" text,
"music" text,
"trine_dehli_cleve" real,
"tor_fl_ysvik" real,
"karianne_gulliksen" real,
"christer_tornell" real,
"total" real
);
Question: How many ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "week_5" (
"couple" text,
"style" text,
"music" text,
"trine_dehli_cleve" real,
"tor_fl_ysvik" real,
"karianne_gulliksen" real,
"christer_tornell" real,
"total" real
);
Question: How many ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "week_5" (
"couple" text,
"style" text,
"music" text,
"trine_dehli_cleve" real,
"tor_fl_ysvik" real,
"karianne_gulliksen" real,
"christer_tornell" real,
"total" real
);
Question: Which sty... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "week_5" (
"couple" text,
"style" text,
"music" text,
"trine_dehli_cleve" real,
"tor_fl_ysvik" real,
"karianne_gulliksen" real,
"christer_tornell" real,
"total" real
);
Question: What is t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_28680377_2" (
"no_in_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"u_s_viewers_million" text
);
Question: Who directed the episode title... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_28680377_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 title of the episo... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_28680377_2" (
"no_in_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"u_s_viewers_million" text
);
Question: How many millions of U.S. view... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_28680377_2" (
"no_in_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"u_s_viewers_million" text
);
Question: Who directed the episode title... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_28680377_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 original air date ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_28680377_3" (
"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: How man... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_28680377_3" (
"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: How man... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_28680377_3" (
"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: How man... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "single_game" (
"rank" real,
"player" text,
"year" real,
"opponent" text,
"passing_yards" real,
"rushing_yards" real,
"total_offense" real
);
Question: How may players have a passing yard sc... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "single_game" (
"rank" real,
"player" text,
"year" real,
"opponent" text,
"passing_yards" real,
"rushing_yards" real,
"total_offense" real
);
Question: What is the name of the player with to... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "single_game" (
"rank" real,
"player" text,
"year" real,
"opponent" text,
"passing_yards" real,
"rushing_yards" real,
"total_offense" real
);
Question: What is the number of rushing yards wh... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "single_game" (
"rank" real,
"player" text,
"year" real,
"opponent" text,
"passing_yards" real,
"rushing_yards" real,
"total_offense" real
);
Question: What is the number of total offense wh... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "single_game" (
"rank" real,
"player" text,
"year" real,
"opponent" text,
"passing_yards" real,
"rushing_yards" real,
"total_offense" real
);
Question: How many rushing yards are listed when... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "see_also" (
"reservoir" text,
"basin" text,
"location" text,
"type" text,
"height_m" text,
"length_along_the_top_m" text,
"drainage_basin_km" text,
"reservoir_surface_ha" text,
"volume_h... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "see_also" (
"reservoir" text,
"basin" text,
"location" text,
"type" text,
"height_m" text,
"length_along_the_top_m" text,
"drainage_basin_km" text,
"reservoir_surface_ha" text,
"volume_h... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "see_also" (
"reservoir" text,
"basin" text,
"location" text,
"type" text,
"height_m" text,
"length_along_the_top_m" text,
"drainage_basin_km" text,
"reservoir_surface_ha" text,
"volume_h... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2869843_1" (
"model" text,
"in" text,
"mm" text,
"caliber" text,
"standard" real,
"w_sleeve" text,
"black" text,
"olive_drab" text,
"bi_tone" text,
"dark_earth" text
);
Questio... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "modern_constellations" (
"constellation" text,
"iau_abbreviation" text,
"other_abbreviation" text,
"genitive" text,
"family" text,
"origin" text,
"meaning" text,
"brightest_star" text
);
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "modern_constellations" (
"constellation" text,
"iau_abbreviation" text,
"other_abbreviation" text,
"genitive" text,
"family" text,
"origin" text,
"meaning" text,
"brightest_star" text
);
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "modern_constellations" (
"constellation" text,
"iau_abbreviation" text,
"other_abbreviation" text,
"genitive" text,
"family" text,
"origin" text,
"meaning" text,
"brightest_star" text
);
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "modern_constellations" (
"constellation" text,
"iau_abbreviation" text,
"other_abbreviation" text,
"genitive" text,
"family" text,
"origin" text,
"meaning" text,
"brightest_star" text
);
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "modern_constellations" (
"constellation" text,
"iau_abbreviation" text,
"other_abbreviation" text,
"genitive" text,
"family" text,
"origin" text,
"meaning" text,
"brightest_star" text
);
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "modern_constellations" (
"constellation" text,
"iau_abbreviation" text,
"other_abbreviation" text,
"genitive" text,
"family" text,
"origin" text,
"meaning" text,
"brightest_star" text
);
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "out_of_the_blue_discography" (
"track_no" real,
"track" text,
"original_artist" text,
"soloist_s" text,
"vocal_percussionist" text,
"arranger_s" text
);
Question: How many track numbers were ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "out_of_the_blue_discography" (
"track_no" real,
"track" text,
"original_artist" text,
"soloist_s" text,
"vocal_percussionist" text,
"arranger_s" text
);
Question: Who was the vocal percussion... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "out_of_the_blue_discography" (
"track_no" real,
"track" text,
"original_artist" text,
"soloist_s" text,
"vocal_percussionist" text,
"arranger_s" text
);
Question: What track name had Terry Ta... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "bowl_games" (
"bowl_game" text,
"date" text,
"stadium" text,
"city" text,
"television" text,
"matchups_results" text,
"attendance" real,
"payout_us" text
);
Question: What was the date of... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "bowl_games" (
"bowl_game" text,
"date" text,
"stadium" text,
"city" text,
"television" text,
"matchups_results" text,
"attendance" real,
"payout_us" text
);
Question: What was the city wh... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "width_wise_details_of_government_roads_a" (
"sl_no" real,
"category_wise" text,
"single_lane" real,
"intermediate_lane" real,
"double_lane" real,
"multi_lane" real,
"total" real
);
Question... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "width_wise_details_of_government_roads_a" (
"sl_no" real,
"category_wise" text,
"single_lane" real,
"intermediate_lane" real,
"double_lane" real,
"multi_lane" real,
"total" real
);
Question... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "width_wise_details_of_government_roads_a" (
"sl_no" real,
"category_wise" text,
"single_lane" real,
"intermediate_lane" real,
"double_lane" real,
"multi_lane" real,
"total" real
);
Question... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "players" (
"player" text,
"nation" text,
"te_be_career" text,
"league_matches" real,
"league_goals" real,
"cup_matches" real,
"cup_goals" real
);
Question: What are the years of TeBe career... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "players" (
"player" text,
"nation" text,
"te_be_career" text,
"league_matches" real,
"league_goals" real,
"cup_matches" real,
"cup_goals" real
);
Question: What is the number of league goal... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_28742659_2" (
"first_air_date" text,
"reward" text,
"immunity" text,
"eliminated" text,
"vote" text,
"finish" text
);
Question: What is listed in eliminated when the finish is 15th vot... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_28742659_2" (
"first_air_date" text,
"reward" text,
"immunity" text,
"eliminated" text,
"vote" text,
"finish" text
);
Question: What is listed in reward when the finish is listed at 13... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_28742659_2" (
"first_air_date" text,
"reward" text,
"immunity" text,
"eliminated" text,
"vote" text,
"finish" text
);
Question: What is the name of immunity when the finish is 3rd vote... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_28742659_2" (
"first_air_date" text,
"reward" text,
"immunity" text,
"eliminated" text,
"vote" text,
"finish" text
);
Question: What is the vote number when immunity listed as David an... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "division_two" (
"athens_xi" text,
"pifa_colaba_fc_u_17" text,
"tata_power" text,
"dadar_xi_b" text,
"idbi" text,
"world_network_services" text,
"united_fc" text,
"good_shepherd" text
);
Q... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "division_two" (
"athens_xi" text,
"pifa_colaba_fc_u_17" text,
"tata_power" text,
"dadar_xi_b" text,
"idbi" text,
"world_network_services" text,
"united_fc" text,
"good_shepherd" text
);
Q... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "division_two" (
"athens_xi" text,
"pifa_colaba_fc_u_17" text,
"tata_power" text,
"dadar_xi_b" text,
"idbi" text,
"world_network_services" text,
"united_fc" text,
"good_shepherd" text
);
Q... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "division_two" (
"athens_xi" text,
"pifa_colaba_fc_u_17" text,
"tata_power" text,
"dadar_xi_b" text,
"idbi" text,
"world_network_services" text,
"united_fc" text,
"good_shepherd" text
);
Q... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "division_two" (
"athens_xi" text,
"pifa_colaba_fc_u_17" text,
"tata_power" text,
"dadar_xi_b" text,
"idbi" text,
"world_network_services" text,
"united_fc" text,
"good_shepherd" text
);
Q... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "coaches" (
"team" text,
"head_coach" text,
"years_at_school" real,
"overall_record" text,
"record_at_school" text,
"acc_record" text
);
Question: What is the Record at School of Tom O'Brien's... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "coaches" (
"team" text,
"head_coach" text,
"years_at_school" real,
"overall_record" text,
"record_at_school" text,
"acc_record" text
);
Question: How many values were used to express the year... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "coaches" (
"team" text,
"head_coach" text,
"years_at_school" real,
"overall_record" text,
"record_at_school" text,
"acc_record" text
);
Question: What is the record in the atlantic coast conf... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "coaches" (
"team" text,
"head_coach" text,
"years_at_school" real,
"overall_record" text,
"record_at_school" text,
"acc_record" text
);
Question: How many values reflect the overall record of... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "member_schools" (
"institution" text,
"nickname" text,
"location" text,
"founded" real,
"joined_acc" real,
"school_type" text,
"acc_football_titles" real
);
Question: what type over school ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "member_schools" (
"institution" text,
"nickname" text,
"location" text,
"founded" real,
"joined_acc" real,
"school_type" text,
"acc_football_titles" real
);
Question: what year did north ca... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "member_schools" (
"institution" text,
"nickname" text,
"location" text,
"founded" real,
"joined_acc" real,
"school_type" text,
"acc_football_titles" real
);
Question: how many acc football ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "member_schools" (
"institution" text,
"nickname" text,
"location" text,
"founded" real,
"joined_acc" real,
"school_type" text,
"acc_football_titles" real
);
Question: what type of school is... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "member_schools" (
"institution" text,
"nickname" text,
"location" text,
"founded" real,
"joined_acc" real,
"school_type" text,
"acc_football_titles" real
);
Question: when did the instituti... |
<|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,
"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,
"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,
"record" text
);
Question: Wh... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "tbm_regions" (
"region_name" text,
"state_name" text,
"region_num" real,
"page_count" real,
"regional_page_num" text
);
Question: In the North Central region, what are the regional page #'s?
<|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "tbm_regions" (
"region_name" text,
"state_name" text,
"region_num" real,
"page_count" real,
"regional_page_num" text
);
Question: What states have a regional page # of 1, 5-7, 9-11, 13-15?
<|as... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "tbm_regions" (
"region_name" text,
"state_name" text,
"region_num" real,
"page_count" real,
"regional_page_num" text
);
Question: Which region has a regional page # of 1-3, 5-7, 9-11, 13-15?
<|... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.