text stringlengths 310 1.28k |
|---|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "final_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"money" real
);
Question: When the score was 71-71-70-70=282 what was the To par recorded?
<|assistan... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "final_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"money" real
);
Question: What was the score for Tom Lehman?
<|assistant|>
SELECT "score" FROM "final_... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule_and_results" (
"game" real,
"november" real,
"opponent" text,
"score" text,
"record" text
);
Question: What is the sum of November, when Game is greater than 23?
<|assistant|>
SELECT S... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule_and_results" (
"game" real,
"november" real,
"opponent" text,
"score" text,
"record" text
);
Question: What is the sum of November, when Game is "17"?
<|assistant|>
SELECT SUM("novembe... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule_and_results" (
"game" real,
"november" real,
"opponent" text,
"score" text,
"record" text
);
Question: What is the highest Game, when Opponent is "Chicago Black Hawks", and when Novemb... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "made_the_cut" (
"player" text,
"country" text,
"year_s_won" text,
"total" real,
"to_par" text,
"finish" text
);
Question: What player has a total of 297?
<|assistant|>
SELECT "player" FROM "m... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "made_the_cut" (
"player" text,
"country" text,
"year_s_won" text,
"total" real,
"to_par" text,
"finish" text
);
Question: Which country has a total less than 289 and finished t2?
<|assistant|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "made_the_cut" (
"player" text,
"country" text,
"year_s_won" text,
"total" real,
"to_par" text,
"finish" text
);
Question: Which player finished t35?
<|assistant|>
SELECT "player" FROM "made_t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "made_the_cut" (
"player" text,
"country" text,
"year_s_won" text,
"total" real,
"to_par" text,
"finish" text
);
Question: What finish has a total of more than 289 and won in 1979?
<|assistant... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "loan_out" (
"date_from" text,
"date_to" text,
"pos" text,
"name" text,
"moving_to" text
);
Question: What is Name, when Moving To is "NEC Nijmegen"?
<|assistant|>
SELECT "name" FROM "loan_out" ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "loan_out" (
"date_from" text,
"date_to" text,
"pos" text,
"name" text,
"moving_to" text
);
Question: What is Date From, when Moving To is "Birmingham City"?
<|assistant|>
SELECT "date_from" FRO... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "loan_out" (
"date_from" text,
"date_to" text,
"pos" text,
"name" text,
"moving_to" text
);
Question: What is Pos., when Date To is "30 June 2009", and when Name is "Eddie Johnson"?
<|assistant|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "loan_out" (
"date_from" text,
"date_to" text,
"pos" text,
"name" text,
"moving_to" text
);
Question: What is Pos., when Date From is "28 August 2008"?
<|assistant|>
SELECT "pos" FROM "loan_out"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "loan_out" (
"date_from" text,
"date_to" text,
"pos" text,
"name" text,
"moving_to" text
);
Question: What is Moving To, when Name is "Leon Andreasen"?
<|assistant|>
SELECT "moving_to" FROM "loa... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "loan_out" (
"date_from" text,
"date_to" text,
"pos" text,
"name" text,
"moving_to" text
);
Question: What is Date To, when Name is "Lee Cook"?
<|assistant|>
SELECT "date_to" FROM "loan_out" WHE... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "references" (
"name" text,
"built" text,
"listed" text,
"location" text,
"county" text
);
Question: When was the oakachoy covered bridge listed?
<|assistant|>
SELECT "listed" FROM "references" ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "references" (
"name" text,
"built" text,
"listed" text,
"location" text,
"county" text
);
Question: In which county is the swann covered bridge located?
<|assistant|>
SELECT "county" FROM "refe... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "references" (
"name" text,
"built" text,
"listed" text,
"location" text,
"county" text
);
Question: Which bridge is located in Nectar, in Blount County?
<|assistant|>
SELECT "name" FROM "refere... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "references" (
"name" text,
"built" text,
"listed" text,
"location" text,
"county" text
);
Question: Which county built a bridge in 1934?
<|assistant|>
SELECT "county" FROM "references" WHERE "b... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "references" (
"name" text,
"built" text,
"listed" text,
"location" text,
"county" text
);
Question: In which year did Blount County build a bridge in Cleveland that was listed on 1981-08-20?
<|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "pool_b" (
"date" text,
"time" text,
"score" text,
"set_1" text,
"set_2" text,
"set_3" text,
"total" text
);
Question: What is the score with a time at 18:00 and a score for set 3 of 13β25?
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "pool_b" (
"date" text,
"time" text,
"score" text,
"set_1" text,
"set_2" text,
"set_3" text,
"total" text
);
Question: What is the score for set 2 when the score of set 1 is 19β25?
<|assista... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "pool_b" (
"date" text,
"time" text,
"score" text,
"set_1" text,
"set_2" text,
"set_3" text,
"total" text
);
Question: How much is the total with a time at 16:00 and score for set 3 of 18β25... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "pool_b" (
"date" text,
"time" text,
"score" text,
"set_1" text,
"set_2" text,
"set_3" text,
"total" text
);
Question: What is the score for set 2 when the time is 18:00 and the score of set... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "pool_b" (
"date" text,
"time" text,
"score" text,
"set_1" text,
"set_2" text,
"set_3" text,
"total" text
);
Question: What was the total with a score in set 3 of 13β25?
<|assistant|>
SELECT... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "tournament_champions" (
"year" text,
"champion_seed" text,
"score" text,
"runner_up_seed" text,
"most_valuable_player" text
);
Question: What was the Champion of the Tournament with a Score of ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "tournament_champions" (
"year" text,
"champion_seed" text,
"score" text,
"runner_up_seed" text,
"most_valuable_player" text
);
Question: What was the Champion of the Game with a Score of 65β56?... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "moto_gp_classification" (
"rider" text,
"manufacturer" text,
"laps" real,
"time_retired" text,
"grid" real
);
Question: Which Manufacturer has a Laps of 21, a Grid larger than 16, and a Rider o... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "moto_gp_classification" (
"rider" text,
"manufacturer" text,
"laps" real,
"time_retired" text,
"grid" real
);
Question: Which Time/Retired has a Rider of daijiro kato?
<|assistant|>
SELECT "tim... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "moto_gp_classification" (
"rider" text,
"manufacturer" text,
"laps" real,
"time_retired" text,
"grid" real
);
Question: Which Manufacturer has a Rider of daijiro kato?
<|assistant|>
SELECT "man... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "moto_gp_classification" (
"rider" text,
"manufacturer" text,
"laps" real,
"time_retired" text,
"grid" real
);
Question: Which Time/Retired has a Manufacturer of yamaha, and a Rider of garry mcc... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "draft_picks" (
"round" real,
"player" text,
"position" text,
"nationality" text,
"college_junior_club_team_league" text
);
Question: What is the name of the team with round less than 2, and the... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "draft_picks" (
"round" real,
"player" text,
"position" text,
"nationality" text,
"college_junior_club_team_league" text
);
Question: What position does John Carlson play?
<|assistant|>
SELECT "... |
<|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 "washington_redskins_draft_history" (
"round" real,
"pick" real,
"overall" real,
"name" text,
"position" text,
"college" text
);
Question: How many Overall went in a round larger than 7 with a... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2013_money_leaders" (
"rank" real,
"player" text,
"country" text,
"events" real,
"prize_money" real
);
Question: What is the largest event number for player from Norway with prize money less th... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2013_money_leaders" (
"rank" real,
"player" text,
"country" text,
"events" real,
"prize_money" real
);
Question: What is the rank for the player with events greater than 23 and prize money in e... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2013_money_leaders" (
"rank" real,
"player" text,
"country" text,
"events" real,
"prize_money" real
);
Question: What is the prize money for the player ranked 1?
<|assistant|>
SELECT MAX("prize... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" real
);
Question: What was the lowest round for the KOTC 25: Flaming Fury event?
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" real
);
Question: Who was the opponent for the KOTC 25: Flaming Fury event?
<|ass... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" real
);
Question: Who was the opponent in the WMMA 1: McCorkle vs. Heden event th... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" real
);
Question: What was the result when his record was 25-15?
<|assistant|>
SE... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "draft_picks" (
"round" real,
"player" text,
"position" text,
"nationality" text,
"college_junior_club_team_league" text
);
Question: What is Position, when Round is less than 6, and when Nation... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "draft_picks" (
"round" real,
"player" text,
"position" text,
"nationality" text,
"college_junior_club_team_league" text
);
Question: What is Position, when Nationality is "Canada", and when Rou... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "draft_picks" (
"round" real,
"player" text,
"position" text,
"nationality" text,
"college_junior_club_team_league" text
);
Question: What is the total number of Round, when College/Junior/Club ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"round" text,
"location" text
);
Question: What round did the fight last when Mikhail Ilyukhin's record... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"round" text,
"location" text
);
Question: What method did Mikhail Ilyukhin win the fight in round 1 wh... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"round" text,
"location" text
);
Question: What was the method of resolution when Mikhail Ilyukhin's re... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "december" (
"date" text,
"h_a_n" text,
"opponent" text,
"score" text,
"record" text
);
Question: When was the score 123-112?
<|assistant|>
SELECT "date" FROM "december" WHERE "score"='123-112';... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "december" (
"date" text,
"h_a_n" text,
"opponent" text,
"score" text,
"record" text
);
Question: Who did they play when the score was 95-118?
<|assistant|>
SELECT "opponent" FROM "december" WHE... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "december" (
"date" text,
"h_a_n" text,
"opponent" text,
"score" text,
"record" text
);
Question: Who did they play when the score was 95-114?
<|assistant|>
SELECT "opponent" FROM "december" WHE... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "december" (
"date" text,
"h_a_n" text,
"opponent" text,
"score" text,
"record" text
);
Question: When was the score 92-134?
<|assistant|>
SELECT "date" FROM "december" WHERE "score"='92-134';<|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "december" (
"date" text,
"h_a_n" text,
"opponent" text,
"score" text,
"record" text
);
Question: When they were 2-32 what did they score?
<|assistant|>
SELECT "score" FROM "december" WHERE "rec... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "past_champions_in_the_field" (
"player" text,
"country" text,
"year_s_won" text,
"total" real,
"to_par" real,
"finish" text
);
Question: When the total was smaller than 290, what was the high... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "past_champions_in_the_field" (
"player" text,
"country" text,
"year_s_won" text,
"total" real,
"to_par" real,
"finish" text
);
Question: What is the total number of To par for Lee Trevino?
<|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "past_champions_in_the_field" (
"player" text,
"country" text,
"year_s_won" text,
"total" real,
"to_par" real,
"finish" text
);
Question: What is the sum of To par when the Finish is t11?
<|as... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "best_batting_averages" (
"player" text,
"team" text,
"matches" real,
"innings" real,
"runs" real,
"average" real,
"highest_score" text,
"100s" real
);
Question: What was Donald Bradman's ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "best_batting_averages" (
"player" text,
"team" text,
"matches" real,
"innings" real,
"runs" real,
"average" real,
"highest_score" text,
"100s" real
);
Question: What was the highest amoun... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "standings" (
"province" text,
"skip" text,
"ends_won" real,
"ends_lost" real,
"blank_ends" real,
"stolen_ends" real,
"shot_pct" real
);
Question: What is the lowest Shot Pct., when Blank En... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "standings" (
"province" text,
"skip" text,
"ends_won" real,
"ends_lost" real,
"blank_ends" real,
"stolen_ends" real,
"shot_pct" real
);
Question: What is Shot Pct., when Stolen Ends is 2?
<... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "standings" (
"province" text,
"skip" text,
"ends_won" real,
"ends_lost" real,
"blank_ends" real,
"stolen_ends" real,
"shot_pct" real
);
Question: What is the total number of Ends Won, when ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_10" (
"date" text,
"home_team" text,
"score" text,
"away_team" text,
"venue" text,
"box_score" text,
"report" text
);
Question: On what date were Perth Wildcats the away team?
<|assis... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_10" (
"date" text,
"home_team" text,
"score" text,
"away_team" text,
"venue" text,
"box_score" text,
"report" text
);
Question: On what date was the score 121-113?
<|assistant|>
SELEC... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_10" (
"date" text,
"home_team" text,
"score" text,
"away_team" text,
"venue" text,
"box_score" text,
"report" text
);
Question: On what date was Adelaide 36ers the home team?
<|assist... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_10" (
"date" text,
"home_team" text,
"score" text,
"away_team" text,
"venue" text,
"box_score" text,
"report" text
);
Question: Which report is for Townsville Entertainment Centre?
<|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_10" (
"date" text,
"home_team" text,
"score" text,
"away_team" text,
"venue" text,
"box_score" text,
"report" text
);
Question: Which home team had a score of 85-101?
<|assistant|>
SE... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_10" (
"date" text,
"home_team" text,
"score" text,
"away_team" text,
"venue" text,
"box_score" text,
"report" text
);
Question: What was the box core for the Melbourne Tigers?
<|assis... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "series_1" (
"series_sorted" text,
"title" text,
"author" text,
"featuring" text,
"released" text
);
Question: who is the author when featuring is leela, the master, kraals?
<|assistant|>
SELECT... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "series_1" (
"series_sorted" text,
"title" text,
"author" text,
"featuring" text,
"released" text
);
Question: who is the author when the title is destination: nerva?
<|assistant|>
SELECT "autho... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "series_1" (
"series_sorted" text,
"title" text,
"author" text,
"featuring" text,
"released" text
);
Question: who is featuring when the title is energy of the daleks?
<|assistant|>
SELECT "feat... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "series_1" (
"series_sorted" text,
"title" text,
"author" text,
"featuring" text,
"released" text
);
Question: what is the title when the featuring is leela and series sorted is 4s/b?
<|assistan... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule_and_results" (
"game" real,
"december" real,
"opponent" text,
"score" text,
"record" text
);
Question: Can you tell me the Opponent that has the December of 2?
<|assistant|>
SELECT "op... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule_and_results" (
"game" real,
"december" real,
"opponent" text,
"score" text,
"record" text
);
Question: Can you tell me the average December rhat has the Opponent of @ toronto maple lea... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule_and_results" (
"game" real,
"december" real,
"opponent" text,
"score" text,
"record" text
);
Question: Can you tell me the Score that has the December of 10?
<|assistant|>
SELECT "scor... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "fifth_round_proper" (
"tie_no" real,
"home_team" text,
"score" text,
"away_team" text,
"date" text
);
Question: What was the score when the Tie no was 6?
<|assistant|>
SELECT "score" FROM "fift... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "fifth_round_proper" (
"tie_no" real,
"home_team" text,
"score" text,
"away_team" text,
"date" text
);
Question: What was the score when the Tie no less than 2?
<|assistant|>
SELECT "score" FROM... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "fifth_round_proper" (
"tie_no" real,
"home_team" text,
"score" text,
"away_team" text,
"date" text
);
Question: Who was the away team when the home team was Sunderland?
<|assistant|>
SELECT "aw... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "calendar" (
"round" real,
"circuit" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_team" text
);
Question: Which Winning Team has the Fastest L... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "calendar" (
"round" real,
"circuit" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_team" text
);
Question: Which Circuit has the Winning Team o... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "calendar" (
"round" real,
"circuit" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_team" text
);
Question: Which Round has the Winning Driver o... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "calendar" (
"round" real,
"circuit" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_team" text
);
Question: Which Date has a Pole Position of mi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "races" (
"race_name" text,
"circuit" text,
"city_location" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_team" text,
"report" text
);
Ques... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "races" (
"race_name" text,
"circuit" text,
"city_location" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_team" text,
"report" text
);
Ques... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "races" (
"race_name" text,
"circuit" text,
"city_location" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_team" text,
"report" text
);
Ques... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "races" (
"race_name" text,
"circuit" text,
"city_location" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_team" text,
"report" text
);
Ques... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "races" (
"race_name" text,
"circuit" text,
"city_location" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_team" text,
"report" text
);
Ques... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "races" (
"race_name" text,
"circuit" text,
"city_location" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_team" text,
"report" text
);
Ques... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "personal_pronouns_nominative_case" (
"subject" real,
"proximity" text,
"honor" text,
"singular" text,
"plural" text
);
Question: What subject has a plural of am(Γ΄)ra (we)?
<|assistant|>
SELECT ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "nfl_draft" (
"round" real,
"pick_num" real,
"player" text,
"position" text,
"college" text
);
Question: What round was the player drafted from mississippi valley state?
<|assistant|>
SELECT "ro... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "nfl_draft" (
"round" real,
"pick_num" real,
"player" text,
"position" text,
"college" text
);
Question: What college was the draft pick from who plays center position?
<|assistant|>
SELECT "col... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "game_log" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"location" text,
"record" text
);
Question: What is the record of the game with the toronto huskies as the opponent?
<|ass... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "game_log" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"location" text,
"record" text
);
Question: Who is the opponent on November 14?
<|assistant|>
SELECT "opponent" FROM "game... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "game_log" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"location" text,
"record" text
);
Question: What is the record of the game with a game number greater than 7 at boston gar... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "nfl_draft" (
"round" real,
"pick" real,
"player" text,
"position" text,
"school_club_team" text
);
Question: What pick in round 5 did the 49ers pick Jim Pilot?
<|assistant|>
SELECT SUM("pick") ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "nfl_draft" (
"round" real,
"pick" real,
"player" text,
"position" text,
"school_club_team" text
);
Question: What pick in a round earlier than 4 did UCLA choose their pick?
<|assistant|>
SELECT... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "nfl_draft" (
"round" real,
"pick" real,
"player" text,
"position" text,
"school_club_team" text
);
Question: What position did pick 36 play?
<|assistant|>
SELECT "position" FROM "nfl_draft" WHE... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "winners_of_the_distaff_turf_mile_stakes_" (
"year" real,
"winner" text,
"jockey" text,
"trainer" text,
"owner" text,
"time" text
);
Question: Who is the owner of Miss Terrible?
<|assistant|>
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "winners_of_the_distaff_turf_mile_stakes_" (
"year" real,
"winner" text,
"jockey" text,
"trainer" text,
"owner" text,
"time" text
);
Question: What is the most recent year that had a time of 1... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "winners_of_the_distaff_turf_mile_stakes_" (
"year" real,
"winner" text,
"jockey" text,
"trainer" text,
"owner" text,
"time" text
);
Question: What time does the trainer, Todd Pletcher have?
<... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "winners_of_the_distaff_turf_mile_stakes_" (
"year" real,
"winner" text,
"jockey" text,
"trainer" text,
"owner" text,
"time" text
);
Question: What is the most recent year that Iftiraas was th... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.