text
stringlengths
310
1.28k
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_14" ( "date" text, "home_team" text, "score" text, "away_team" text, "venue" text, "box_score" text, "report" text ); Question: What was the away team that scored 63-69? <|assistant|>...
<|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: Where is the player Davis Love III? <|assistant|> SELECT "place" FROM "first_round" WHERE "p...
<|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" text ); Question: What is the second qualifying time for the dale coyne racing team with a first qualifying ...
<|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" text ); Question: Which team had a second qualifying time of 58.539? <|assistant|> SELECT "team" FROM "quali...
<|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" text ); Question: What is the best time from patrick carpentier from the forsythe racing team? <|assistant|>...
<|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" text ); Question: What is the best time for a team with a first-qualifying time of 59.448? <|assistant|> SEL...
<|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" text ); Question: What is the name of the racer with a best time of 57.546? <|assistant|> SELECT "name" FROM...
<|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" text ); Question: What is the name of the racer with a first-qualifying time of 58.991? <|assistant|> SELECT...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "relegation" ( "team" text, "average" real, "points" real, "played" real, "2006" text, "2007" text, "2008" text ); Question: What is the average Points, when Played is greater than 126? <|as...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "relegation" ( "team" text, "average" real, "points" real, "played" real, "2006" text, "2007" text, "2008" text ); Question: What is the sum of Average, when 2006 is "36/40", and when Played...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "relegation" ( "team" text, "average" real, "points" real, "played" real, "2006" text, "2007" text, "2008" text ); Question: What is 2006, when Team is "Tacuary"? <|assistant|> SELECT "2006"...
<|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: Which Rank has a Bronze of 3? <|assistant|> SELECT "rank" FROM "medal_table" WH...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "winners" ( "year" text, "winner" text, "country" text, "score" text, "runner_s_up" text ); Question: What are the Runner(s)-up of the 1956 Championship? <|assistant|> SELECT "runner_s_up" FROM ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "winners" ( "year" text, "winner" text, "country" text, "score" text, "runner_s_up" text ); Question: What are the Runner(s)-up of the 1972 Championship? <|assistant|> SELECT "runner_s_up" FROM ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "winners" ( "year" text, "winner" text, "country" text, "score" text, "runner_s_up" text ); Question: What is the Country of the Championship with a Score of 293? <|assistant|> SELECT "country" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "membership" ( "school" text, "location" text, "founded" real, "affiliation" text, "enrollment" real, "nickname" text, "primary_conference" text ); Question: What is the total enrollment at ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "pool_h" ( "date" text, "time" text, "score" text, "set_1" text, "set_2" text, "set_3" text, "total" text ); Question: What was the score for set 3 when set 1 was 14–25? <|assistant|> SELECT...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "pool_h" ( "date" text, "time" text, "score" text, "set_1" text, "set_2" text, "set_3" text, "total" text ); Question: What is the time when the set 3 score is 31–29? <|assistant|> SELECT "t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "pool_h" ( "date" text, "time" text, "score" text, "set_1" text, "set_2" text, "set_3" text, "total" text ); Question: What is the total when the score for set 1 is 14–25? <|assistant|> SELE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "pool_h" ( "date" text, "time" text, "score" text, "set_1" text, "set_2" text, "set_3" text, "total" text ); Question: What is the total when the score for set 2 is 20–25? <|assistant|> SELE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "pool_h" ( "date" text, "time" text, "score" text, "set_1" text, "set_2" text, "set_3" text, "total" text ); Question: What is the total when the score for set 2 is 25–22? <|assistant|> SELE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "switzerland" ( "internet_plan" text, "downstream" text, "upstream" text, "bandwidth_included" text, "price" text ); Question: What is the price of 150 mbps downstread? <|assistant|> SELECT "pri...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "switzerland" ( "internet_plan" text, "downstream" text, "upstream" text, "bandwidth_included" text, "price" text ); Question: What is the upstream with the price 65 chf? <|assistant|> SELECT "u...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "switzerland" ( "internet_plan" text, "downstream" text, "upstream" text, "bandwidth_included" text, "price" text ); Question: What is the price of the internet 150 plans? <|assistant|> SELECT "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "switzerland" ( "internet_plan" text, "downstream" text, "upstream" text, "bandwidth_included" text, "price" text ); Question: What is the upstream for the 100 mbps downstream? <|assistant|> SEL...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "switzerland" ( "internet_plan" text, "downstream" text, "upstream" text, "bandwidth_included" text, "price" text ); Question: What is the price of 60 mbps downstream? <|assistant|> SELECT "pric...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "switzerland" ( "internet_plan" text, "downstream" text, "upstream" text, "bandwidth_included" text, "price" text ); Question: What is the upstream for the internet 100 plans? <|assistant|> SELE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "draft_picks" ( "round" real, "pick" text, "player" text, "position" text, "nationality" text, "club_team" text ); Question: Which club team was the player from who was selected in a round und...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "draft_picks" ( "round" real, "pick" text, "player" text, "position" text, "nationality" text, "club_team" text ); Question: What was the club team for Kyle de Coste? <|assistant|> SELECT "clu...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "coaches" ( "coach" text, "first_yr" real, "last_yr" real, "w_lpct" real, "g_500" real, "yr_plyf" real, "g_plyf" real, "w_plyf" real, "l_plyf" real ); Question: What is the highest w ply...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "coaches" ( "coach" text, "first_yr" real, "last_yr" real, "w_lpct" real, "g_500" real, "yr_plyf" real, "g_plyf" real, "w_plyf" real, "l_plyf" real ); Question: What is the sum of the yr...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "coaches" ( "coach" text, "first_yr" real, "last_yr" real, "w_lpct" real, "g_500" real, "yr_plyf" real, "g_plyf" real, "w_plyf" real, "l_plyf" real ); Question: What is the total number ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "coaches" ( "coach" text, "first_yr" real, "last_yr" real, "w_lpct" real, "g_500" real, "yr_plyf" real, "g_plyf" real, "w_plyf" real, "l_plyf" real ); Question: Who is the coach with a w...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "coaches" ( "coach" text, "first_yr" real, "last_yr" real, "w_lpct" real, "g_500" real, "yr_plyf" real, "g_plyf" real, "w_plyf" real, "l_plyf" real ); Question: What is the average last ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "coaches" ( "coach" text, "first_yr" real, "last_yr" real, "w_lpct" real, "g_500" real, "yr_plyf" real, "g_plyf" real, "w_plyf" real, "l_plyf" real ); Question: What is the earliest last...
<|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 is the To par of the Player with a Score of 69-70=139? <|assistant|> SELECT "to_par" F...
<|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 is Bob Gilder in Place T3's To par? <|assistant|> SELECT "to_par" FROM "second_round" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text ); Question: Wh...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text ); Question: Wh...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text ); Question: Wh...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race_calendar" ( "date" text, "series" text, "circuit" text, "city_state" text, "winner" text, "team" text ); Question: What is Winner, when Date is 5 Sep? <|assistant|> SELECT "winner" FROM ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race_calendar" ( "date" text, "series" text, "circuit" text, "city_state" text, "winner" text, "team" text ); Question: What is Team, when Circuit is Queensland Raceway, and when Winner is Ga...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race_calendar" ( "date" text, "series" text, "circuit" text, "city_state" text, "winner" text, "team" text ); Question: What is Date, when Team is Holden Racing Team, and when Circuit is East...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race_calendar" ( "date" text, "series" text, "circuit" text, "city_state" text, "winner" text, "team" text ); Question: What is Team, when Circuit is Phillip Island Grand Prix Circuit? <|assi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race_calendar" ( "date" text, "series" text, "circuit" text, "city_state" text, "winner" text, "team" text ); Question: What is Circuit, when Series is ASTC Round 4? <|assistant|> SELECT "cir...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final" ( "lane" real, "name" text, "country" text, "mark" text, "react" real ); Question: What is the total number of React, when Name is Sean Wroe, and when Lane is greater than 2? <|assistant...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final" ( "lane" real, "name" text, "country" text, "mark" text, "react" real ); Question: What is the highest Lane, when Mark is 46.65, and when React is greater than 0.251? <|assistant|> SELEC...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final" ( "lane" real, "name" text, "country" text, "mark" text, "react" real ); Question: What is the lowest React, when Mark is 46.26 sb, and when Lane is greater than 6? <|assistant|> SELECT ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final" ( "lane" real, "name" text, "country" text, "mark" text, "react" real ); Question: What is Mark, when Lane is greater than 2, and when Country is Bahamas? <|assistant|> SELECT "mark" FRO...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "language" ( "language" text, "number" text, "percentage_pct" text, "males" text, "females" text ); Question: What is the number of the belarusian language? <|assistant|> SELECT "number" FROM "l...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "language" ( "language" text, "number" text, "percentage_pct" text, "males" text, "females" text ); Question: What is the number with an 80.62 percentage? <|assistant|> SELECT "number" FROM "lan...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "language" ( "language" text, "number" text, "percentage_pct" text, "males" text, "females" text ); Question: How many males have a percentage of 80.62? <|assistant|> SELECT "males" FROM "langua...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "players_in_the_nba" ( "name" text, "wsu_year_s" text, "position" text, "team" text, "pro_year_s" text ); Question: What is Name, when Team is New York Knicks, and when WSU Year(s) is 1965-68? <...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "players_in_the_nba" ( "name" text, "wsu_year_s" text, "position" text, "team" text, "pro_year_s" text ); Question: What is Name, when WSU Year(s) is 1981-82? <|assistant|> SELECT "name" FROM "p...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "players_in_the_nba" ( "name" text, "wsu_year_s" text, "position" text, "team" text, "pro_year_s" text ); Question: What is WSU Year(s), when Pro Year(s) is 1974-77? <|assistant|> SELECT "wsu_ye...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "players_in_the_nba" ( "name" text, "wsu_year_s" text, "position" text, "team" text, "pro_year_s" text ); Question: What is Pro Year(s), when Team is Cincinnati Royals? <|assistant|> SELECT "pro...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "players_in_the_nba" ( "name" text, "wsu_year_s" text, "position" text, "team" text, "pro_year_s" text ); Question: What is Position, when Team is Cincinnati Royals? <|assistant|> SELECT "positi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "players_in_the_nba" ( "name" text, "wsu_year_s" text, "position" text, "team" text, "pro_year_s" text ); Question: What is Name, when Team is Detroit Pistons, and when WSU Year(s) is 1979-82? <...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "washington_redskins_draft_history" ( "round" real, "pick" real, "overall" real, "name" text, "position" text, "college" text ); Question: What is Position, when Overallis less than 314, and w...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "washington_redskins_draft_history" ( "round" real, "pick" real, "overall" real, "name" text, "position" text, "college" text ); Question: What is the average value of Overall, when Round is g...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "washington_redskins_draft_history" ( "round" real, "pick" real, "overall" real, "name" text, "position" text, "college" text ); Question: What is Name, when Overall is greater than 132, and w...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "washington_redskins_draft_history" ( "round" real, "pick" real, "overall" real, "name" text, "position" text, "college" text ); Question: What is College, when Pick is 20? <|assistant|> SELEC...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "washington_redskins_draft_history" ( "round" real, "pick" real, "overall" real, "name" text, "position" text, "college" text ); Question: What is average Overall, when Pick is 19? <|assistant...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "draft_picks" ( "round" real, "pick" real, "player" text, "nationality" text, "college" text ); Question: What is the average pick for Princeton after round 3? <|assistant|> SELECT AVG("pick") F...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "draft_picks" ( "round" real, "pick" real, "player" text, "nationality" text, "college" text ); Question: What is the earliest round Clark was in? <|assistant|> SELECT MIN("round") FROM "draft_p...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "second_round" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text ); Question: What is the tie number when the home team was gillingham? <|assistant|> SELECT "tie_no"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "second_round" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text ); Question: What was the score when the home team was goole town? <|assistant|> SELECT "score" FROM...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "second_round" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text ); Question: What date had the home team as brentford? <|assistant|> SELECT "date" FROM "second_roun...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "second_round" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text ); Question: What was the tie number when bradford park avenue was the away team? <|assistant|> SELE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1950_1999" ( "1950" real, "general_1950" text, "senate_1950" text, "house_1950" text, "governors_1950" text ); Question: What shows for House 1950 when the Governors 1950 show governors 1995? <...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1950_1999" ( "1950" real, "general_1950" text, "senate_1950" text, "house_1950" text, "governors_1950" text ); Question: What shows for House 1950 when the General 1950 is general 1986? <|assis...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1950_1999" ( "1950" real, "general_1950" text, "senate_1950" text, "house_1950" text, "governors_1950" text ); Question: What is the Governors 1950 when the General 1950 is general 1979? <|assi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1950_1999" ( "1950" real, "general_1950" text, "senate_1950" text, "house_1950" text, "governors_1950" text ); Question: What shows for House 1950 with a 1950 less than 1980, and Governors 1950...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles" ( "year" real, "month" text, "single" text, "album" text, "record_label" text ); Question: What's the average year for the good things happening album's single "lady lady lay"? <|assis...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles" ( "year" real, "month" text, "single" text, "album" text, "record_label" text ); Question: What album came out before 1975 with the dawn record label and the single "lady lady lay"? <|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles" ( "year" real, "month" text, "single" text, "album" text, "record_label" text ); Question: What's the earliest year listed for "where are you going to my love" from the album united we...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles" ( "year" real, "month" text, "single" text, "album" text, "record_label" text ); Question: What month before 1973 is listed for the album united we stand? <|assistant|> SELECT "month" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "panchayatana" ( "name_of_deity" text, "bhuta_tatwa" text, "name_of_the_stone_sila" text, "name_of_the_river" text, "name_of_the_state_where_found_in_india" text ); Question: What is the name of...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "panchayatana" ( "name_of_deity" text, "bhuta_tatwa" text, "name_of_the_stone_sila" text, "name_of_the_river" text, "name_of_the_state_where_found_in_india" text ); Question: What is the name of...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "panchayatana" ( "name_of_deity" text, "bhuta_tatwa" text, "name_of_the_stone_sila" text, "name_of_the_river" text, "name_of_the_state_where_found_in_india" text ); Question: What is the name of...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "panchayatana" ( "name_of_deity" text, "bhuta_tatwa" text, "name_of_the_stone_sila" text, "name_of_the_river" text, "name_of_the_state_where_found_in_india" text ); Question: What is the name of...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_11" ( "date" text, "home_team" text, "score" text, "away_team" text, "venue" text, "box_score" text, "report" text ); Question: What date was the game score 103-94? <|assistant|> SELE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_11" ( "date" text, "home_team" text, "score" text, "away_team" text, "venue" text, "box_score" text, "report" text ); Question: Who is the away team that played home team of Perth Wil...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_11" ( "date" text, "home_team" text, "score" text, "away_team" text, "venue" text, "box_score" text, "report" text ); Question: What is the score of the game that was played on 29 Nov...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_11" ( "date" text, "home_team" text, "score" text, "away_team" text, "venue" text, "box_score" text, "report" text ); Question: What date did home team Gold Coast Blaze play? <|assist...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_11" ( "date" text, "home_team" text, "score" text, "away_team" text, "venue" text, "box_score" text, "report" text ); Question: What kind of report was for the game played on 29 Novem...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_11" ( "date" text, "home_team" text, "score" text, "away_team" text, "venue" text, "box_score" text, "report" text ); Question: Who is the away team that played home team Perth Wildca...
<|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: Who did they play in week 11? <|assistant|> SELECT "opponent" FROM "schedule" WHERE "week"=1...
<|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 day did they play in week 6? <|assistant|> SELECT "date" FROM "schedule" WHERE "week"=6...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "allsvenskan_2004" ( "date" text, "venue" text, "opponents" text, "score" text, "comp" text, "attendance" text ); Question: Name the Date which has a Score of 3-1 and Attendances of 32 590? <|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "allsvenskan_2004" ( "date" text, "venue" text, "opponents" text, "score" text, "comp" text, "attendance" text ); Question: Which Venue is on 2004-07-24? <|assistant|> SELECT "venue" FROM "all...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "allsvenskan_2004" ( "date" text, "venue" text, "opponents" text, "score" text, "comp" text, "attendance" text ); Question: Which Score has a Venue of idrottsparken? <|assistant|> SELECT "scor...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "allsvenskan_2004" ( "date" text, "venue" text, "opponents" text, "score" text, "comp" text, "attendance" text ); Question: Which Comp is on 2004-10-17? <|assistant|> SELECT "comp" FROM "allsv...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "allsvenskan_2004" ( "date" text, "venue" text, "opponents" text, "score" text, "comp" text, "attendance" text ); Question: Which Venue has a Opponents of halmstad and a Score of 1-1? <|assist...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "allsvenskan_2004" ( "date" text, "venue" text, "opponents" text, "score" text, "comp" text, "attendance" text ); Question: Which Attendance that has a Venue of ryavallen? <|assistant|> SELECT...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_16_9_7" ( "outcome" text, "date" text, "tournament" text, "surface" text, "opponent" text, "score" text ); Question: What is Tournament, when Outcome is Winner, and when Date is 13 Ju...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_16_9_7" ( "outcome" text, "date" text, "tournament" text, "surface" text, "opponent" text, "score" text ); Question: What is Date, when Outcome is Winner, and when Opponent is An-Soph...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_16_9_7" ( "outcome" text, "date" text, "tournament" text, "surface" text, "opponent" text, "score" text ); Question: What is Score, when Date is 10 July 2011? <|assistant|> SELECT "sc...
<|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, "pregame_host" text ); Question: What network has a Play-by-play by Jack Edwards in 2000? <|assistant|> SE...
<|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, "pregame_host" text ); Question: What is the name of the pregame host when Bold was the network? <|assista...