text
stringlengths
310
1.28k
<|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, "game_site" text, "attendance" text ); Question: What opponent had an attendance of 12,508 during weeks 1 through 8? <|as...
<|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, "game_site" text, "attendance" text ); Question: What week had an attendance of 14,381? <|assistant|> SELECT AVG("week") ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2003_new_york_jets_season" ( "round" real, "pick" real, "player" text, "position" text, "college" text ); Question: Which round was Dave Yovanovits picked? <|assistant|> SELECT MIN("round") FRO...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2003_new_york_jets_season" ( "round" real, "pick" real, "player" text, "position" text, "college" text ); Question: Where did the player picked for the linebacker position play in college? <|as...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "five_year_average" ( "country_name" text, "1961_65" text, "1966_70" text, "1971_75" text, "1976_80" text, "1981_85" text, "1986_90" text, "1991_95" text, "1996_2000" text, "2001_05" te...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "five_year_average" ( "country_name" text, "1961_65" text, "1966_70" text, "1971_75" text, "1976_80" text, "1981_85" text, "1986_90" text, "1991_95" text, "1996_2000" text, "2001_05" te...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "five_year_average" ( "country_name" text, "1961_65" text, "1966_70" text, "1971_75" text, "1976_80" text, "1981_85" text, "1986_90" text, "1991_95" text, "1996_2000" text, "2001_05" te...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "five_year_average" ( "country_name" text, "1961_65" text, "1966_70" text, "1971_75" text, "1976_80" text, "1981_85" text, "1986_90" text, "1991_95" text, "1996_2000" text, "2001_05" te...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "five_year_average" ( "country_name" text, "1961_65" text, "1966_70" text, "1971_75" text, "1976_80" text, "1981_85" text, "1986_90" text, "1991_95" text, "1996_2000" text, "2001_05" te...
<|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 did the Browns play week 12? <|assistant|> SELECT "opponent" FROM "schedule" WHERE "week...
<|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" text ); Question: What was the attendance in the game against the Detroit Lions? <|assistant|> SELECT "attenda...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_15" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: Who played as the away team when they pl...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_15" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: Who was the home team when the VFL playe...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_9" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: Who is the away side at junction oval? <|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race_results" ( "name" text, "pole_position" text, "fastest_lap" text, "winning_driver" text, "report" text ); Question: Who was the winning driver of the Kraco Car Stereo 150? <|assistant|> SE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race_results" ( "name" text, "pole_position" text, "fastest_lap" text, "winning_driver" text, "report" text ); Question: What time was the fastest lap during Stoh's 200 in 1982? <|assistant|> S...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "retirees" ( "player" text, "team" text, "last_game" text, "date" text, "opposition" text, "d_but" real ); Question: What is the date for the player who debuted later than 1972 against Limeric...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "retirees" ( "player" text, "team" text, "last_game" text, "date" text, "opposition" text, "d_but" real ); Question: Which player debuted in 1973 against Limerick and played his last game at t...
<|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 date had a Result of l 23–17 in a week later than 7? <|assistant|> SELECT "date" FROM "...
<|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: How many people attended the game against the cincinnati bengals? <|assistant|> SELECT COUNT...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "new_york_yankees_vs_boston_red_sox" ( "game" real, "date" text, "location" text, "time" text, "attendance" real ); Question: What was the attendance for the game played at 3:31? <|assistant|> S...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "new_york_yankees_vs_boston_red_sox" ( "game" real, "date" text, "location" text, "time" text, "attendance" real ); Question: What was the time for game 4? <|assistant|> SELECT "time" FROM "new_...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_13" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What venue featured a home score of 8.9 ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_13" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What was the away team's score at wester...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_13" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: How many games featured a home team scor...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "porsche_supercup" ( "year" real, "drivers" text, "wins" real, "points" text, "d_c" text ); Question: Before 2007, how many wins were there when the point total was 48? <|assistant|> SELECT SUM(...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "porsche_supercup" ( "year" real, "drivers" text, "wins" real, "points" text, "d_c" text ); Question: In 2011, how many wins did Michael Meadows have? <|assistant|> SELECT SUM("wins") FROM "pors...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singapore" ( "network" text, "origin_of_programming" text, "language" text, "genre" text, "service" text ); Question: What is the service of the network Set Max from India? <|assistant|> SELECT...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singapore" ( "network" text, "origin_of_programming" text, "language" text, "genre" text, "service" text ); Question: Which network's genre is music? <|assistant|> SELECT "network" FROM "singap...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singapore" ( "network" text, "origin_of_programming" text, "language" text, "genre" text, "service" text ); Question: What genre is Star Plus from India? <|assistant|> SELECT "genre" FROM "sing...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singapore" ( "network" text, "origin_of_programming" text, "language" text, "genre" text, "service" text ); Question: Where does the network Star Cricket originate? <|assistant|> SELECT "origin...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singapore" ( "network" text, "origin_of_programming" text, "language" text, "genre" text, "service" text ); Question: What genre is Set Max's Hindi programming? <|assistant|> SELECT "genre" FRO...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_14" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What is fitzroy's score as the home team...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_14" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What is the listed crowd when the home t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_14" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What is richmond's score as the home tea...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_4" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: When was the game where the away team had...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2000s" ( "year" real, "network" text, "play_by_play" text, "color_commentator_s" text, "sideline_reporter_s" text ); Question: Who was the color commentator for Eric Dickerson and Melissa Stark...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2000s" ( "year" real, "network" text, "play_by_play" text, "color_commentator_s" text, "sideline_reporter_s" text ); Question: What network hosted Al Michaels, Dan Fouts and Dennis Miller in 20...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2000s" ( "year" real, "network" text, "play_by_play" text, "color_commentator_s" text, "sideline_reporter_s" text ); Question: Who was the 2004 color commentator? <|assistant|> SELECT "color_co...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2000s" ( "year" real, "network" text, "play_by_play" text, "color_commentator_s" text, "sideline_reporter_s" text ); Question: Who was the color commentator for Andrea Kremer and Tiki Barber? <...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2000s" ( "year" real, "network" text, "play_by_play" text, "color_commentator_s" text, "sideline_reporter_s" text ); Question: Who was Al Michaels' color commentator in 2003? <|assistant|> SELE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_12" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: Who was the home team when Geelong was t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_12" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: Where was the game when the home team sc...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_12" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What was the away team's score when home...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nfl_draft" ( "player" text, "position" text, "round" real, "overall" real, "college" text ); Question: What is the highest overall pick from the College of Southern Mississippi that was selecte...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "vacated_and_forfeited_games" ( "season" real, "coach" text, "record_as_played" text, "actual_adjusted_record" text, "regular_season_vacated" text ); Question: Who, was the coach with an actual ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "vacated_and_forfeited_games" ( "season" real, "coach" text, "record_as_played" text, "actual_adjusted_record" text, "regular_season_vacated" text ); Question: What is the average Season for coa...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "vacated_and_forfeited_games" ( "season" real, "coach" text, "record_as_played" text, "actual_adjusted_record" text, "regular_season_vacated" text ); Question: What is the regular season vacated...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "vacated_and_forfeited_games" ( "season" real, "coach" text, "record_as_played" text, "actual_adjusted_record" text, "regular_season_vacated" text ); Question: How many seasons did coach steve f...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "vacated_and_forfeited_games" ( "season" real, "coach" text, "record_as_played" text, "actual_adjusted_record" text, "regular_season_vacated" text ); Question: What is shown for Record as played...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "vacated_and_forfeited_games" ( "season" real, "coach" text, "record_as_played" text, "actual_adjusted_record" text, "regular_season_vacated" text ); Question: How many seasons have an Actual ad...
<|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: How many gold(s) for teams with a total of 14, and over 6 bronze medals? <|assi...
<|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 highest number of gold medals for the team ranked 7 with less than ...
<|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 average number of golds for nations with less than 2 silver, named ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_7" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What was the away team for the match at P...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_7" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What was the home team that scored 5.7 (3...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_7" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What was the smallest crowd size for the ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_7" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What was the home team that scored 12.21 ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_7" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What was the home team that played Collin...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_7" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What was the sum of the crowd sizes when ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "left_senate_during_the_39th_parliament" ( "date" text, "name" text, "party" text, "province" text, "details" text ); Question: Which province has Michael Kirby? <|assistant|> SELECT "province" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "left_senate_during_the_39th_parliament" ( "date" text, "name" text, "party" text, "province" text, "details" text ); Question: Which party is Madeleine Plamondon a member of? <|assistant|> SELE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "left_senate_during_the_39th_parliament" ( "date" text, "name" text, "party" text, "province" text, "details" text ); Question: What are the details for Marisa Ferretti Barth? <|assistant|> SELE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "left_senate_during_the_39th_parliament" ( "date" text, "name" text, "party" text, "province" text, "details" text ); Question: Which party had a member on August 26, 2008? <|assistant|> SELECT ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "left_senate_during_the_39th_parliament" ( "date" text, "name" text, "party" text, "province" text, "details" text ); Question: What are the details for John Buchanan? <|assistant|> SELECT "deta...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "left_senate_during_the_39th_parliament" ( "date" text, "name" text, "party" text, "province" text, "details" text ); Question: Which province had a liberal party member on December 31, 2006? <|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "participants" ( "draw" real, "dancers" text, "dance_styles" text, "place" real, "points" real ); Question: Which dance style had a draw smaller than 15 and 18 points? <|assistant|> SELECT "danc...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_5" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What was the away team when the home team...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_5" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What was the away team's score for the ma...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_5" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What was the venue where the home team sc...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_5" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What is Collingwood's home venue? <|assis...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_5" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What was the away teams score when they p...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_winners" ( "year" real, "player" text, "nationality" text, "position_played" text, "team_represented" text ); Question: What is the latest year featuring candace parker? <|assistant|> S...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_3" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What is the largest crowd when north melb...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_3" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: Who is the away team when the home team s...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_3" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What venue features a home team scoring 1...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_3" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What home team scores 12.12 (84)? <|assis...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_7" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What is the smallest crowd at victoria pa...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_7" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What day was geelong the away side? <|ass...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_7" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What away team scored 14.5 (89)? <|assist...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_2" ( "date" text, "result" text, "score" text, "stadium" text, "city" text, "crowd" real ); Question: What is the name of the stadium in Brisbane? <|assistant|> SELECT "stadium" FROM "r...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_2" ( "date" text, "result" text, "score" text, "stadium" text, "city" text, "crowd" real ); Question: What was the result of the match that had a score of 58-6? <|assistant|> SELECT "re...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_2" ( "date" text, "result" text, "score" text, "stadium" text, "city" text, "crowd" real ); Question: What was the score for the match that had the result of Hunter Mariners def. Castle...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_2" ( "date" text, "result" text, "score" text, "stadium" text, "city" text, "crowd" real ); Question: For the match ending in a score of 66-20, what was the stadium? <|assistant|> SELEC...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_2" ( "date" text, "result" text, "score" text, "stadium" text, "city" text, "crowd" real ); Question: In what city is the Don Valley Stadium located? <|assistant|> SELECT "city" FROM "r...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "men" ( "event" text, "time" text, "nationality" text, "date" text, "meet" text, "location" text ); Question: Which championship was the 100m backstroke performed? <|assistant|> SELECT "meet" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "men" ( "event" text, "time" text, "nationality" text, "date" text, "meet" text, "location" text ); Question: What event has a time of 7:45.67? <|assistant|> SELECT "event" FROM "men" WHERE "t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "winners" ( "year" real, "player" text, "nationality" text, "position" text, "team" text ); Question: What nationality has a year larger than 2009 with a position of power forward? <|assistant|>...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "winners" ( "year" real, "player" text, "nationality" text, "position" text, "team" text ); Question: Who plays for the chicago bulls? <|assistant|> SELECT "player" FROM "winners" WHERE "team"='...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "population_by_island" ( "name" text, "area" real, "inhabitants" real, "people_per_km" real, "main_places" text, "regions" text ); Question: What are the main places for the streymoy region wi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "population_by_island" ( "name" text, "area" real, "inhabitants" real, "people_per_km" real, "main_places" text, "regions" text ); Question: What is the sum of people per km2 for the sandoy re...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "exhibition_schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real ); Question: what is the week there were 41,604 people in attendance? <|assistant|> SELECT AVG...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_17" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What is the average crowd size for games...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_17" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What is the home team's score at glenfer...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "qualifying_results" ( "name" text, "team" text, "qual_1" text, "qual_2" text, "best" real ); Question: Who had the lowest Best time that also had a Qual 2 of 49.887? <|assistant|> SELECT MIN("b...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "qualifying_results" ( "name" text, "team" text, "qual_1" text, "qual_2" text, "best" real ); Question: What was CTE Racing-hvm's Best with a Qual 2 of 50.312? <|assistant|> SELECT "best" FROM "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_5" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What was the average crowd size for the g...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_5" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: Which Away team had a score of 18.8 (116)...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_5" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What was the home team score when essendo...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_5" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: When richmond was the Away team what was ...