text
stringlengths
310
1.28k
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "ncaa_consensus_all_american_team" ( "position" text, "name" text, "school" text, "unanimous" text, "college_hall_of_fame" text ); Question: What is the college hall of fame of the player who pl...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "ncaa_consensus_all_american_team" ( "position" text, "name" text, "school" text, "unanimous" text, "college_hall_of_fame" text ); Question: What is the position of the player from Dartmouth Ohi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "submissions" ( "year_ceremony" real, "original_title" text, "english_title" text, "director" text, "result" text ); Question: What is the English title of the film Directed by Jayme Monjardim? ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "submissions" ( "year_ceremony" real, "original_title" text, "english_title" text, "director" text, "result" text ); Question: What was the Director with a Ceremony of 2001? <|assistant|> SELECT...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "save" text ); Question: When have a Save of ||20,599||32-37? <|assistant|> SELECT "date" FROM "game_log" WHERE "save"='||20...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "save" text ); Question: Which Save is on June 15? <|assistant|> SELECT "save" FROM "game_log" WHERE "date"='june 15';<|endo...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "save" text ); Question: Which Score has a Opponent of Boston red sox and a Save of sager? <|assistant|> SELECT "score" FROM...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "save" text ); Question: When has an Opponent of at Seattle mariners? <|assistant|> SELECT "date" FROM "game_log" WHERE "opp...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "save" text ); Question: When is the Save of Ayala and a Loss of Olivares <|assistant|> SELECT "date" FROM "game_log" WHERE ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_champion_5" ( "outcome" text, "date" text, "tournament" text, "surface" text, "partner" text, "opponents_in_the_final" text, "score_in_the_final" text ); Question: Which Tournament ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "michigan_89_beloit_0" ( "player" text, "touchdowns" real, "extra_points" real, "field_goals" real, "points" real ); Question: How many Touchdowns have Field goals larger than 0? <|assistant|> S...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "michigan_89_beloit_0" ( "player" text, "touchdowns" real, "extra_points" real, "field_goals" real, "points" real ); Question: Which Extra points is the highest one that has a Player of herrnste...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "michigan_89_beloit_0" ( "player" text, "touchdowns" real, "extra_points" real, "field_goals" real, "points" real ); Question: Which Touchdowns is the lowest one that has Extra points smaller th...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "michigan_89_beloit_0" ( "player" text, "touchdowns" real, "extra_points" real, "field_goals" real, "points" real ); Question: Which Touchdowns is the lowest one that has Points of 5, and a Fiel...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "michigan_89_beloit_0" ( "player" text, "touchdowns" real, "extra_points" real, "field_goals" real, "points" real ); Question: Which Points is the lowest one that has Touchdowns smaller than 1? ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "bowl_games" ( "season" real, "bowl_game" text, "result" text, "opponent" text, "stadium" text, "location" text, "attendance" text ); Question: What is the Location of the Bowl in 2006? <|as...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "bowl_games" ( "season" real, "bowl_game" text, "result" text, "opponent" text, "stadium" text, "location" text, "attendance" text ); Question: At what Location was the Attendance 70,283? <|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "bowl_games" ( "season" real, "bowl_game" text, "result" text, "opponent" text, "stadium" text, "location" text, "attendance" text ); Question: What was the Bowl game in San Francisco, CA af...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "moto_gp_participants" ( "team" text, "constructor" text, "motorcycle" text, "rider" text, "rounds" text ); Question: What team has a yamaha constructor with all rounds? <|assistant|> SELECT "te...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "moto_gp_participants" ( "team" text, "constructor" text, "motorcycle" text, "rider" text, "rounds" text ); Question: What rounds did rider Mika Kallio with a Ducati constructor have? <|assistan...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "moto_gp_participants" ( "team" text, "constructor" text, "motorcycle" text, "rider" text, "rounds" text ); Question: Who is the rider of Scot Racing team with a Honda constructor and rounds 6-1...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "moto_gp_participants" ( "team" text, "constructor" text, "motorcycle" text, "rider" text, "rounds" text ); Question: What is the rounds of rider Mika Kallio 1 of the Ducati Marlboro team? <|ass...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real ); Question: What is the average week that there was a game with less than 18,517 fans attending and occu...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real ); Question: What is the highest week that had a game against the Pittsburgh Steelers with 22,597 fans in...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real ); Question: Who was the opponent for the game taht was before week 5 on October 10, 1954? <|assistant|> ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real ); Question: What is the average attendance for the game that was after week 4 and on November 14, 1954? ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_season" ( "game" real, "december" real, "opponent" text, "score" text, "record" text, "points" real ); Question: After December 19, what is the Game number with a Record of 21–4–7? <|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_season" ( "game" real, "december" real, "opponent" text, "score" text, "record" text, "points" real ); Question: What were the Points in the game with a Score of 2–7? <|assistant|> SE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "women" ( "rank" text, "gold" real, "silver" real, "bronze" real, "total" real ); Question: What's the lowest bronze with a 6 rank, smaller than 5 gold, and a total of more than 1? <|assistant|>...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "women" ( "rank" text, "gold" real, "silver" real, "bronze" real, "total" real ); Question: What's the Bronze cumulative number for less than 0 gold? <|assistant|> SELECT SUM("bronze") FROM "wom...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "torneio_rio_s_o_paulo" ( "position" real, "team" text, "points" real, "played" real, "drawn" real, "lost" real, "against" real, "difference" text ); Question: Which average Lost has an Ag...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "torneio_rio_s_o_paulo" ( "position" real, "team" text, "points" real, "played" real, "drawn" real, "lost" real, "against" real, "difference" text ); Question: Which average Against has Dr...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "torneio_rio_s_o_paulo" ( "position" real, "team" text, "points" real, "played" real, "drawn" real, "lost" real, "against" real, "difference" text ); Question: Which average Against has Po...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "torneio_rio_s_o_paulo" ( "position" real, "team" text, "points" real, "played" real, "drawn" real, "lost" real, "against" real, "difference" text ); Question: Which average Points have a ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "torneio_rio_s_o_paulo" ( "position" real, "team" text, "points" real, "played" real, "drawn" real, "lost" real, "against" real, "difference" text ); Question: Which average Points have a ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "michigan_119_michigan_agricultural_0" ( "player" text, "touchdowns" real, "extra_points" real, "field_goals" real, "points" real ); Question: Which Touchdowns have an Extra points of 0, and Poi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "michigan_119_michigan_agricultural_0" ( "player" text, "touchdowns" real, "extra_points" real, "field_goals" real, "points" real ); Question: How many Extra points have Touchdowns of 1, and a P...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "michigan_119_michigan_agricultural_0" ( "player" text, "touchdowns" real, "extra_points" real, "field_goals" real, "points" real ); Question: Which Points is the lowest one that has an Extra po...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "michigan_119_michigan_agricultural_0" ( "player" text, "touchdowns" real, "extra_points" real, "field_goals" real, "points" real ); Question: Which Extra points is the lowest one that has a Pla...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "michigan_119_michigan_agricultural_0" ( "player" text, "touchdowns" real, "extra_points" real, "field_goals" real, "points" real ); Question: Which Points have Touchdowns of 1, and a Field goal...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "ranking_movement" ( "poll" text, "wk_1" text, "wk_2" text, "wk_3" text, "wk_4" text, "wk_5" text, "wk_6" text, "wk_7" text, "wk_8" real, "wk_9" real, "wk_10" real, "wk_11" real, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "ranking_movement" ( "poll" text, "wk_1" text, "wk_2" text, "wk_3" text, "wk_4" text, "wk_5" text, "wk_6" text, "wk_7" text, "wk_8" real, "wk_9" real, "wk_10" real, "wk_11" real, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "ap_poll" ( "week_2_sept_7" text, "week_3_sept_14" text, "week_4_sept_21" text, "week_5_sept_28" text, "week_6_oct_5" text, "week_7_oct_12" text, "week_10_nov_2" text, "week_12_nov_16" text...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "ap_poll" ( "week_2_sept_7" text, "week_3_sept_14" text, "week_4_sept_21" text, "week_5_sept_28" text, "week_6_oct_5" text, "week_7_oct_12" text, "week_10_nov_2" text, "week_12_nov_16" text...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "ap_poll" ( "week_2_sept_7" text, "week_3_sept_14" text, "week_4_sept_21" text, "week_5_sept_28" text, "week_6_oct_5" text, "week_7_oct_12" text, "week_10_nov_2" text, "week_12_nov_16" text...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "ap_poll" ( "week_2_sept_7" text, "week_3_sept_14" text, "week_4_sept_21" text, "week_5_sept_28" text, "week_6_oct_5" text, "week_7_oct_12" text, "week_10_nov_2" text, "week_12_nov_16" text...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "ap_poll" ( "week_2_sept_7" text, "week_3_sept_14" text, "week_4_sept_21" text, "week_5_sept_28" text, "week_6_oct_5" text, "week_7_oct_12" text, "week_10_nov_2" text, "week_12_nov_16" text...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "ap_poll" ( "week_2_sept_7" text, "week_3_sept_14" text, "week_4_sept_21" text, "week_5_sept_28" text, "week_6_oct_5" text, "week_7_oct_12" text, "week_10_nov_2" text, "week_12_nov_16" text...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "previous_winners" ( "year" text, "men_s_singles" text, "women_s_singles" text, "men_s_doubles" text, "women_s_doubles" text, "mixed_doubles" text ); Question: Name the women's singles for 201...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "previous_winners" ( "year" text, "men_s_singles" text, "women_s_singles" text, "men_s_doubles" text, "women_s_doubles" text, "mixed_doubles" text ); Question: Name the year for angga pratama ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "previous_winners" ( "year" text, "men_s_singles" text, "women_s_singles" text, "men_s_doubles" text, "women_s_doubles" text, "mixed_doubles" text ); Question: Name the men's doubles for annek...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "previous_winners" ( "year" text, "men_s_singles" text, "women_s_singles" text, "men_s_doubles" text, "women_s_doubles" text, "mixed_doubles" text ); Question: Name the men's doubles for 2010 ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "ap_poll" ( "preseason" text, "week_1_aug_26" text, "week_2_sept_2" text, "week_3_sept_8" text, "week_4_sept_15" text, "week_5_sept_22" text, "week_6_sept_29" text, "week_7_oct_6" text, "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "ap_poll" ( "preseason" text, "week_1_aug_26" text, "week_2_sept_2" text, "week_3_sept_8" text, "week_4_sept_15" text, "week_5_sept_22" text, "week_6_sept_29" text, "week_7_oct_6" text, "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "ap_poll" ( "preseason" text, "week_1_aug_26" text, "week_2_sept_2" text, "week_3_sept_8" text, "week_4_sept_15" text, "week_5_sept_22" text, "week_6_sept_29" text, "week_7_oct_6" text, "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "ap_poll" ( "preseason" text, "week_1_aug_26" text, "week_2_sept_2" text, "week_3_sept_8" text, "week_4_sept_15" text, "week_5_sept_22" text, "week_6_sept_29" text, "week_7_oct_6" text, "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_season" ( "game" real, "december" real, "opponent" text, "score" text, "record" text, "points" real ); Question: How much December has a Score of 5–2, and a Game smaller than 27? <|as...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_season" ( "game" real, "december" real, "opponent" text, "score" text, "record" text, "points" real ); Question: Which Game has an Opponent of @ pittsburgh penguins? <|assistant|> SEL...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_season" ( "game" real, "december" real, "opponent" text, "score" text, "record" text, "points" real ); Question: Which December has a Record of 21–7–2, and a Game larger than 30? <|as...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_season" ( "game" real, "december" real, "opponent" text, "score" text, "record" text, "points" real ); Question: Which December has Points of 38, and a Record of 18–6–2? <|assistant|>...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "international_goals" ( "date" text, "venue" text, "score" text, "result" text, "competition" text ); Question: What is the Score that has a Result of 2–1 on 5 july 2007? <|assistant|> SELECT "s...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "international_goals" ( "date" text, "venue" text, "score" text, "result" text, "competition" text ); Question: Which Competition has a Venue of hong kong? <|assistant|> SELECT "competition" FRO...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "international_goals" ( "date" text, "venue" text, "score" text, "result" text, "competition" text ); Question: When is the Competition of friendly match with a Result of 2–1? <|assistant|> SELE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "international_goals" ( "date" text, "venue" text, "score" text, "result" text, "competition" text ); Question: Which Venue has a Result of 2–0? <|assistant|> SELECT "venue" FROM "international_...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "international_goals" ( "date" text, "venue" text, "score" text, "result" text, "competition" text ); Question: What is the Score of 2007 afc asian cup qualification with a Result of 8–0? <|assi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "international_goals" ( "date" text, "venue" text, "score" text, "result" text, "competition" text ); Question: Which Competition has a Result of 3–1? <|assistant|> SELECT "competition" FROM "in...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" text, "record" text ); Question: What was the Indians' record during the game that had 31,467 in attendance? ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "official_versions" ( "version" text, "length" text, "album" text, "remixed_by" text, "year" real ); Question: what year is 4:00 long <|assistant|> SELECT COUNT("year") FROM "official_versions" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "atlanta_falcons_draft_history" ( "round" real, "pick_num" real, "overall" real, "name" text, "position" text, "college" text ); Question: What round on average was a defensive tackle selected...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "points_system" ( "distance" text, "10th" real, "11th" real, "12th" real, "13th" real, "14th" real, "15th" real, "16th" real, "17th" real, "18th" real, "19th" real, "20th" real, "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "medal_table" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real ); Question: What is the lowest total for the silver less than 1, and a rank more than 5, mo...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "medal_table" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real ); Question: Who ha the gold and 1 bronze, and more than 0 silver? <|assistant|> SELECT "gol...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "medal_table" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real ); Question: Who has a total of the Bronze less than 4, gold more than 0, and no silver? <|a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "campeonato_brasileiro_s_rie_a" ( "position" real, "team" text, "points" real, "played" real, "drawn" real, "lost" real, "against" real, "difference" text ); Question: What's the Points av...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "campeonato_brasileiro_s_rie_a" ( "position" real, "team" text, "points" real, "played" real, "drawn" real, "lost" real, "against" real, "difference" text ); Question: What's the total Los...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table_of_chinese_mass_units_in_hong_kong" ( "jyutping" text, "character" text, "portuguese" text, "relative_value" text, "metric_value" text, "imperial_value" text ); Question: what's the rel...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table_of_chinese_mass_units_in_hong_kong" ( "jyutping" text, "character" text, "portuguese" text, "relative_value" text, "metric_value" text, "imperial_value" text ); Question: What metric va...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table_of_chinese_mass_units_in_hong_kong" ( "jyutping" text, "character" text, "portuguese" text, "relative_value" text, "metric_value" text, "imperial_value" text ); Question: what's the imp...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "boxing_record" ( "result" text, "record" text, "opponent" text, "rd_time" text, "date" text, "location" text ); Question: What was the location that led to a record of 9-0-0? <|assistant|> SE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "boxing_record" ( "result" text, "record" text, "opponent" text, "rd_time" text, "date" text, "location" text ); Question: What was the record after the bout against Nikki Eplion, which result...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "medal_table" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real ); Question: What is the lowest number of bronze medals with less than 2 silver medals and m...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "atlanta_falcons_draft_history" ( "round" real, "pick_num" real, "overall" real, "name" text, "position" text ); Question: What is the highest round with a pick# of 11, a position of offensive t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "atlanta_falcons_draft_history" ( "round" real, "pick_num" real, "overall" real, "name" text, "position" text ); Question: What is the highest round with a pick# of 9, overll less than 468, and ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "atlanta_falcons_draft_history" ( "round" real, "pick_num" real, "overall" real, "name" text, "position" text ); Question: What is the highest round with a guard position and an overall greater ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "atlanta_falcons_draft_history" ( "round" real, "pick_num" real, "overall" real, "name" text, "position" text ); Question: Who has an overall greater than 414 with a pick# bigger than 9? <|assis...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "islands" ( "island" text, "gaelic_name" text, "location" text, "area_ha" real, "population" real, "last_inhabited" text, "height_m" real ); Question: What is the Gaelic name for an area les...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_35_23_12" ( "outcome" text, "date" text, "tournament" text, "surface" text, "partner" text, "opponents_in_the_final" text, "score" text ); Question: What was the score on 7 february...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_35_23_12" ( "outcome" text, "date" text, "tournament" text, "surface" text, "partner" text, "opponents_in_the_final" text, "score" text ); Question: What was the outcome on 13 may 2...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_35_23_12" ( "outcome" text, "date" text, "tournament" text, "surface" text, "partner" text, "opponents_in_the_final" text, "score" text ); Question: What was the score on 3 may 2009...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "international_goals" ( "date" text, "venue" text, "score" text, "result" text, "competition" text ); Question: Name the score for venue of jalan besar, singapore <|assistant|> SELECT "score" FR...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "international_goals" ( "date" text, "venue" text, "score" text, "result" text, "competition" text ); Question: Name the score for 2 june 2008 <|assistant|> SELECT "score" FROM "international_go...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_season" ( "game" real, "february" real, "opponent" text, "score" text, "record" text, "points" real ); Question: Which Opponent has a Game of 63? <|assistant|> SELECT "opponent" FROM ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_season" ( "game" real, "february" real, "opponent" text, "score" text, "record" text, "points" real ); Question: which Record has a Score of 1–4? <|assistant|> SELECT "record" FROM "r...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_season" ( "game" real, "february" real, "opponent" text, "score" text, "record" text, "points" real ); Question: Which Record has a Points smaller than 62 and a February larger than 1...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "other_bibliographic_details" ( "start_month" text, "end_month" text, "cover" text, "spine" text, "indicia" text, "masthead" text, "number_of_issues" real ); Question: What is the total numb...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "other_bibliographic_details" ( "start_month" text, "end_month" text, "cover" text, "spine" text, "indicia" text, "masthead" text, "number_of_issues" real ); Question: What is the Spine that...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "other_bibliographic_details" ( "start_month" text, "end_month" text, "cover" text, "spine" text, "indicia" text, "masthead" text, "number_of_issues" real ); Question: Which Indicia has anEn...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "stations" ( "station" text, "city_of_license" text, "channels_tv_rf" text, "first_air_date" text, "haat" text, "facility_id" real, "public_license_information" text ); Question: Which HAAT ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "stations" ( "station" text, "city_of_license" text, "channels_tv_rf" text, "first_air_date" text, "haat" text, "facility_id" real, "public_license_information" text ); Question: Which City ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "stations" ( "station" text, "city_of_license" text, "channels_tv_rf" text, "first_air_date" text, "haat" text, "facility_id" real, "public_license_information" text ); Question: Which Stati...