text
stringlengths
310
1.28k
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "scores" ( "week_2" text, "week_3" text, "week_4" text, "week_5" text, "week_6" text, "week_7" text ); Question: What is week 4 if week 3 is 35.40? <|assistant|> SELECT "week_4" FROM "scores" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "scores" ( "week_2" text, "week_3" text, "week_4" text, "week_5" text, "week_6" text, "week_7" text ); Question: What is week 7 when week 3 is 35.90? <|assistant|> SELECT "week_7" FROM "scores...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "scores" ( "week_2" text, "week_3" text, "week_4" text, "week_5" text, "week_6" text, "week_7" text ); Question: What is week 6 when week 7, week 4, and week 3 are evicted and week 2 29.35? <|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "scores" ( "week_2" text, "week_3" text, "week_4" text, "week_5" text, "week_6" text, "week_7" text ); Question: What is week 5 when week 6 is evicted, and week 2 is 34.55? <|assistant|> SELEC...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "winners" ( "year" real, "dates" text, "champion" text, "country" text, "score" text, "purse" real, "winner_s_share" real ); Question: What is the lowest Winner's share (¥) in 2011? <|assist...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "winners" ( "year" real, "dates" text, "champion" text, "country" text, "score" text, "purse" real, "winner_s_share" real ); Question: How much is the purse worth (¥) after 2012? <|assistant...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text ); Question: What place had a score of 67-67=134? <|assistant|> SELECT "place" FROM "second_round" WHERE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text ); Question: What country placed t3 with a score of 70-65=135? <|assistant|> SELECT "country" FROM "seco...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text ); Question: What player placed t6 for the United States with a score of 67-69=136? <|assistant|> SELECT...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "matches" ( "competition" text, "round" text, "date_and_time" text, "opponent_team" text, "result" text ); Question: What is Competition, when Round is "Group A - Match 1"? <|assistant|> SELECT ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "matches" ( "competition" text, "round" text, "date_and_time" text, "opponent_team" text, "result" text ); Question: What is Date and Time, when Competition is "Serie A", and when Result is "0-3...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "matches" ( "competition" text, "round" text, "date_and_time" text, "opponent_team" text, "result" text ); Question: What is Competition, when Round is "8 A"? <|assistant|> SELECT "competition" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "am" ( "frequency" real, "callsign" text, "brand" text, "city_of_license" text, "type" text ); Question: What is City of License, when Frequency is greater than 1380? <|assistant|> SELECT "city_...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "am" ( "frequency" real, "callsign" text, "brand" text, "city_of_license" text, "type" text ); Question: What is Brand, when Frequency is "640"? <|assistant|> SELECT "brand" FROM "am" WHERE "fre...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "am" ( "frequency" real, "callsign" text, "brand" text, "city_of_license" text, "type" text ); Question: What is the average Frequency, when Type is "Norteño", and when Brand is "La Cotorra"? <|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "am" ( "frequency" real, "callsign" text, "brand" text, "city_of_license" text, "type" text ); Question: What is Type, when Frequency is "1480"? <|assistant|> SELECT "type" FROM "am" WHERE "freq...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "am" ( "frequency" real, "callsign" text, "brand" text, "city_of_license" text, "type" text ); Question: What is the sum of Frequency, when Type is "Christian Pop"? <|assistant|> SELECT SUM("fre...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "am" ( "frequency" real, "callsign" text, "brand" text, "city_of_license" text, "type" text ); Question: What is the Type, when Callsign is "Xetam"? <|assistant|> SELECT "type" FROM "am" WHERE "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "former_judges" ( "state" text, "born_died" text, "active_service" text, "chief_judge" text, "senior_status" text, "appointed_by" text, "reason_for_termination" text ); Question: Which Chief...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "former_judges" ( "state" text, "born_died" text, "active_service" text, "chief_judge" text, "senior_status" text, "appointed_by" text, "reason_for_termination" text ); Question: Which Senio...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "former_judges" ( "state" text, "born_died" text, "active_service" text, "chief_judge" text, "senior_status" text, "appointed_by" text, "reason_for_termination" text ); Question: Which Senio...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "former_judges" ( "state" text, "born_died" text, "active_service" text, "chief_judge" text, "senior_status" text, "appointed_by" text, "reason_for_termination" text ); Question: Which Chief...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "former_judges" ( "state" text, "born_died" text, "active_service" text, "chief_judge" text, "senior_status" text, "appointed_by" text, "reason_for_termination" text ); Question: Which Reaso...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "former_judges" ( "state" text, "born_died" text, "active_service" text, "chief_judge" text, "senior_status" text, "appointed_by" text, "reason_for_termination" text ); Question: Which Senio...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "third_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text ); Question: When did the Wolverhampton Wanderers play at home? <|assistant|> SELECT "date" FR...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "men" ( "year" real, "gold" text, "silver" text, "bronze" text, "notes" text ); Question: What are 2004's notes? <|assistant|> SELECT "notes" FROM "men" WHERE "year"=2004;<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "men" ( "year" real, "gold" text, "silver" text, "bronze" text, "notes" text ); Question: What year did Yuri Omeltchenko win Silver? <|assistant|> SELECT "year" FROM "men" WHERE "silver"='yuri o...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "men" ( "year" real, "gold" text, "silver" text, "bronze" text, "notes" text ); Question: Who won Silver in 2000? <|assistant|> SELECT "silver" FROM "men" WHERE "year"=2000;<|endoftext|>
<|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, "decision" text, "attendance" real, "record" text ); Question: What is the score on April 12? <|assistant|> SELECT "score" FROM "game_l...
<|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, "decision" text, "attendance" real, "record" text ); Question: What is the score on April 5? <|assistant|> SELECT "score" FROM "game_lo...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "olympic_record" ( "year" text, "result" text, "matches" text, "wins" text, "draws" text, "losses" text ); Question: What was the result when there were 6 matches? <|assistant|> SELECT "result...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "olympic_record" ( "year" text, "result" text, "matches" text, "wins" text, "draws" text, "losses" text ); Question: What year was the result did not qualify? <|assistant|> SELECT "year" FROM ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "olympic_record" ( "year" text, "result" text, "matches" text, "wins" text, "draws" text, "losses" text ); Question: What was the result in 2008? <|assistant|> SELECT "result" FROM "olympic_re...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text ); Question: What was the to par score for Tim Herron, who had a score of 69-72=141? <|assistant|> SELEC...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text ); Question: Which golfer finished with a score of 70-71=141? <|assistant|> SELECT "player" FROM "second...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text ); Question: In what place did Adam Scott, who had a to par score of +1, finish? <|assistant|> SELECT "p...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text ); Question: In what place did the golfer that scored 66-74=140 finish? <|assistant|> SELECT "place" FRO...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "first_round" ( "place" text, "player" text, "country" text, "score" real, "to_par" text ); Question: Which player has a place of t2? <|assistant|> SELECT "player" FROM "first_round" WHERE "plac...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "first_round" ( "place" text, "player" text, "country" text, "score" real, "to_par" text ); Question: What is the score for Nick Faldo? <|assistant|> SELECT "score" FROM "first_round" WHERE "pla...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2010_ladder" ( "geelong_fl" text, "wins" real, "byes" real, "losses" real, "draws" real, "against" real ); Question: What's the average against of Leopold with more than 11 wins? <|assistant|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2010_ladder" ( "geelong_fl" text, "wins" real, "byes" real, "losses" real, "draws" real, "against" real ); Question: How many total wins for Leopold that had fewer than 1706 against? <|assist...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2010_ladder" ( "geelong_fl" text, "wins" real, "byes" real, "losses" real, "draws" real, "against" real ); Question: What is the largest number of draws of St Josephs with losses greater than...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2010_ladder" ( "geelong_fl" text, "wins" real, "byes" real, "losses" real, "draws" real, "against" real ); Question: What is the total number of against when they had 14 losses and more than ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "exit_polling" ( "classification" text, "pct_of_all" text, "john_kerry" text, "john_edwards" text, "dennis_kucinich" text ); Question: What is Classification, when Dennis Kucinich is "3%", and w...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "exit_polling" ( "classification" text, "pct_of_all" text, "john_kerry" text, "john_edwards" text, "dennis_kucinich" text ); Question: What is Dennis Kucinich, when % of All is "53%"? <|assistan...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "exit_polling" ( "classification" text, "pct_of_all" text, "john_kerry" text, "john_edwards" text, "dennis_kucinich" text ); Question: What is John Edwards, when John Kerry is "70%"? <|assistant...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "exit_polling" ( "classification" text, "pct_of_all" text, "john_kerry" text, "john_edwards" text, "dennis_kucinich" text ); Question: What is Dennis Kucinich, when Classification is "Democrat"?...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "exit_polling" ( "classification" text, "pct_of_all" text, "john_kerry" text, "john_edwards" text, "dennis_kucinich" text ); Question: What is John Kerry, when John Edwards is "20%"? <|assistant...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "exit_polling" ( "classification" text, "pct_of_all" text, "john_kerry" text, "john_edwards" text, "dennis_kucinich" text ); Question: What is % of All, when Dennis Kucinich is "5%"? <|assistant...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "men" ( "mark" text, "wind" text, "athlete" text, "nationality" text, "venue" text, "date" text ); Question: What is Robert Emmiyan's Wind number? <|assistant|> SELECT "wind" FROM "men" WHERE ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "men" ( "mark" text, "wind" text, "athlete" text, "nationality" text, "venue" text, "date" text ); Question: What athlete has a wind number of 1.4? <|assistant|> SELECT "athlete" FROM "men" WH...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "men" ( "mark" text, "wind" text, "athlete" text, "nationality" text, "venue" text, "date" text ); Question: What is the mark from April 2, 1994 with a wind number of 2.0? <|assistant|> SELECT...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "dfb_cup_appearances" ( "season" text, "round" text, "date" text, "home" text, "away" text, "result" text ); Question: What is the date of the second round? <|assistant|> SELECT "date" FROM "d...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "dfb_cup_appearances" ( "season" text, "round" text, "date" text, "home" text, "away" text, "result" text ); Question: What is the round on 26 August 1995? <|assistant|> SELECT "round" FROM "d...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "dfb_cup_appearances" ( "season" text, "round" text, "date" text, "home" text, "away" text, "result" text ); Question: What is the round played on 13 October 1984? <|assistant|> SELECT "round"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "dfb_cup_appearances" ( "season" text, "round" text, "date" text, "home" text, "away" text, "result" text ); Question: What is the result for SSV ULM 1846? <|assistant|> SELECT "result" FROM "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "out" ( "nat" text, "name" text, "moving_to" text, "type" text, "transfer_window" text ); Question: What is the transfer window when moving to alianza atlético by the name of v. zapata? <|assist...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "out" ( "nat" text, "name" text, "moving_to" text, "type" text, "transfer_window" text ); Question: Where is moving to the type loaned out under the name tragodara? <|assistant|> SELECT "moving_...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "out" ( "nat" text, "name" text, "moving_to" text, "type" text, "transfer_window" text ); Question: What is the name when moving to atlético minero? <|assistant|> SELECT "name" FROM "out" WHERE ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "out" ( "nat" text, "name" text, "moving_to" text, "type" text, "transfer_window" text ); Question: what is the type movinig to alianza atlético? <|assistant|> SELECT "type" FROM "out" WHERE "mo...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "out" ( "nat" text, "name" text, "moving_to" text, "type" text, "transfer_window" text ); Question: what is the name moving to atlético minero? <|assistant|> SELECT "name" FROM "out" WHERE "movi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_25_10_15" ( "outcome" text, "date" text, "tournament" text, "surface" text, "partner" text, "opponents" text, "score" text ); Question: What is the surface on 15 August 2009? <|assi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "government" ( "party" text, "pct_votes" real, "pct_change" real, "seats" real, "change" real ); Question: How many seats does the party of others have with a change of -1 and more than 0% votes...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "government" ( "party" text, "pct_votes" real, "pct_change" real, "seats" real, "change" real ); Question: What are the fewest seats with a -3.7% change and more than 4.7% votes? <|assistant|> S...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "government" ( "party" text, "pct_votes" real, "pct_change" real, "seats" real, "change" real ); Question: What is the change number with fewer than 4.7% votes and more than 0 seats? <|assistant...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "government" ( "party" text, "pct_votes" real, "pct_change" real, "seats" real, "change" real ); Question: What are the fewest seats with fewer than 5.4% seats and more than -1 change? <|assista...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_13_8_5" ( "outcome" text, "date" text, "tournament" text, "surface" text, "partner" text, "opponents_in_the_final" text, "score_in_the_final" text ); Question: What was the score wh...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_13_8_5" ( "outcome" text, "date" text, "tournament" text, "surface" text, "partner" text, "opponents_in_the_final" text, "score_in_the_final" text ); Question: What surface did Ruxa...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_13_8_5" ( "outcome" text, "date" text, "tournament" text, "surface" text, "partner" text, "opponents_in_the_final" text, "score_in_the_final" text ); Question: Who had the opponent ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_13_8_5" ( "outcome" text, "date" text, "tournament" text, "surface" text, "partner" text, "opponents_in_the_final" text, "score_in_the_final" text ); Question: What tournament had a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "other_grands_prix" ( "name" text, "circuit" text, "date" text, "winning_driver" text, "winning_constructor" text, "report" text ); Question: What kind of Winning driver has a Winning construc...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "other_grands_prix" ( "name" text, "circuit" text, "date" text, "winning_driver" text, "winning_constructor" text, "report" text ); Question: Which Winning driver has a Winning constructor of ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "other_grands_prix" ( "name" text, "circuit" text, "date" text, "winning_driver" text, "winning_constructor" text, "report" text ); Question: Name the Report of tourist trophy? <|assistant|> S...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "other_grands_prix" ( "name" text, "circuit" text, "date" text, "winning_driver" text, "winning_constructor" text, "report" text ); Question: Name the Winning constructor on 31 may and a Circu...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "other_grands_prix" ( "name" text, "circuit" text, "date" text, "winning_driver" text, "winning_constructor" text, "report" text ); Question: Name the Date of mercedes, and a Circuit of elgin?...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "other_grands_prix" ( "name" text, "circuit" text, "date" text, "winning_driver" text, "winning_constructor" text, "report" text ); Question: Name the Winning driver of mercedes on 22 august? ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "members_clubs" ( "club" text, "coach" text, "city" text, "stadium" text, "2007_2008_season" text ); Question: Which coach had a 2007-2008 season of 6th? <|assistant|> SELECT "coach" FROM "memb...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "members_clubs" ( "club" text, "coach" text, "city" text, "stadium" text, "2007_2008_season" text ); Question: Which stadium did Rashid Budaj coach? <|assistant|> SELECT "stadium" FROM "members_...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "members_clubs" ( "club" text, "coach" text, "city" text, "stadium" text, "2007_2008_season" text ); Question: Who coached for al farwaniyah? <|assistant|> SELECT "coach" FROM "members_clubs" WH...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "members_clubs" ( "club" text, "coach" text, "city" text, "stadium" text, "2007_2008_season" text ); Question: Who was the coach for qadsia? <|assistant|> SELECT "coach" FROM "members_clubs" WHE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "members_clubs" ( "club" text, "coach" text, "city" text, "stadium" text, "2007_2008_season" text ); Question: Which stadium had the club Kuwait? <|assistant|> SELECT "stadium" FROM "members_clu...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles" ( "year" text, "champion" text, "runner_up" text, "score" text, "name" text ); Question: What's the score in 1990? <|assistant|> SELECT "score" FROM "singles" WHERE "year"='1990';<|end...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles" ( "year" text, "champion" text, "runner_up" text, "score" text, "name" text ); Question: Who was the champion of the Philips Open with a runner-up of Javier Sánchez? <|assistant|> SELE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles" ( "year" text, "champion" text, "runner_up" text, "score" text, "name" text ); Question: What's the score of the Nice International Championships where Björn Borg was the champion? <|a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles" ( "year" text, "champion" text, "runner_up" text, "score" text, "name" text ); Question: What year had a score of 6–2, 2–6, 5–7, 7–6, 8–6? <|assistant|> SELECT "year" FROM "singles" WH...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles" ( "year" text, "champion" text, "runner_up" text, "score" text, "name" text ); Question: What's the name when Henrik Sundström was champion? <|assistant|> SELECT "name" FROM "singles" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fourth_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text ); Question: When the away team was Bolton Wanderers, what was the score? <|assistant|> SELEC...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fourth_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text ); Question: On the date of 30/01/1991, when the away team was Liverpool, what was the score?...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fourth_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text ); Question: When the tie no was 1, what was the score? <|assistant|> SELECT "score" FROM "fo...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fourth_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text ); Question: When the home team was Shrewsbury town, what was the score? <|assistant|> SELECT...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fourth_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text ); Question: When the home team was Woking, what was the tie no? <|assistant|> SELECT "tie_no...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "replays" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "attendance" text ); Question: How many people attended the game against away team Cambridge City? <|assistant|> SELE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "replays" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "attendance" text ); Question: Who was the home team that played against Aylesbury Vale? <|assistant|> SELECT "home_t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "replays" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "attendance" text ); Question: Which home team has 44 ties? <|assistant|> SELECT "home_team" FROM "replays" WHERE "ti...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "replays" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "attendance" text ); Question: How many people attended the game with home team Witton Albion? <|assistant|> SELECT "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "quarterfinals" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "attendance" text ); Question: What was the attendance at the Billericay Town home game? <|assistant|> SELECT "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "quarterfinals" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "attendance" text ); Question: What was the tie number of the away game for Ashford Town (Middx)? <|assistant|>...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "quarterfinals" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "attendance" text ); Question: What was the attendance at the Billericay Town home game? <|assistant|> SELECT "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "quarterfinals" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "attendance" text ); Question: Who was the away team at the game attended by 81? <|assistant|> SELECT "away_tea...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fifth_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text ); Question: What score has a tie of 5? <|assistant|> SELECT "score" FROM "fifth_round_proper"...