text stringlengths 310 1.28k |
|---|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "airbus_jetliners_1972_1994" (
"model" text,
"a300" text,
"a310" text,
"a320" text,
"a330" text,
"a340" text
);
Question: What model is the A310 of 1983?
<|assistant|>
SELECT "model" FROM "air... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "male_names" (
"region_year" text,
"no_1" text,
"no_2" text,
"no_3" text,
"no_4" text,
"no_5" text,
"no_6" text,
"no_7" text,
"no_8" text,
"no_9" text,
"no_10" text
);
Question: What... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "male_names" (
"region_year" text,
"no_1" text,
"no_2" text,
"no_3" text,
"no_4" text,
"no_5" text,
"no_6" text,
"no_7" text,
"no_8" text,
"no_9" text,
"no_10" text
);
Question: In w... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "male_names" (
"region_year" text,
"no_1" text,
"no_2" text,
"no_3" text,
"no_4" text,
"no_5" text,
"no_6" text,
"no_7" text,
"no_8" text,
"no_9" text,
"no_10" text
);
Question: What... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "male_names" (
"region_year" text,
"no_1" text,
"no_2" text,
"no_3" text,
"no_4" text,
"no_5" text,
"no_6" text,
"no_7" text,
"no_8" text,
"no_9" text,
"no_10" text
);
Question: What... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "j" (
"player" text,
"nationality" text,
"position" text,
"years_for_grizzlies" text,
"school_club_team" text
);
Question: What is the positions of Damon Jones?
<|assistant|>
SELECT "position" F... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "j" (
"player" text,
"nationality" text,
"position" text,
"years_for_grizzlies" text,
"school_club_team" text
);
Question: for how many years did the player who graduated from stanford play for ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "j" (
"player" text,
"nationality" text,
"position" text,
"years_for_grizzlies" text,
"school_club_team" text
);
Question: Which school did Dahntay Jones graduate from?
<|assistant|>
SELECT "sch... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "j" (
"player" text,
"nationality" text,
"position" text,
"years_for_grizzlies" text,
"school_club_team" text
);
Question: Which player gradyated from Florida State?
<|assistant|>
SELECT "player... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "finals" (
"year" text,
"champions" text,
"result" text,
"runners_up" text,
"playoffs_mvp" text
);
Question: What is the Playoffs MVP of the game with a Result of 4β1 with Champions Daejeon Hyun... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "finals" (
"year" text,
"champions" text,
"result" text,
"runners_up" text,
"playoffs_mvp" text
);
Question: What is the Year of the game with Result of 4β3 and Champions of Daegu Tongyang Orion... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "finals" (
"year" text,
"champions" text,
"result" text,
"runners_up" text,
"playoffs_mvp" text
);
Question: What is the Runners-up of the game with a Result of 4β1 and Champions of Wonju Dongbu... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "friendlies" (
"date" text,
"opponent" text,
"venue" text,
"result" text,
"attendance" real
);
Question: Where was the venue that Linfield was the opponent?
<|assistant|>
SELECT "venue" FROM "fr... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "fourth_division" (
"scorer" text,
"club" text,
"league_goals" text,
"fa_cup_goals" real,
"league_cup_goals" real,
"total" real
);
Question: Which scorer plays for Aldershot and has scored a t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "fourth_division" (
"scorer" text,
"club" text,
"league_goals" text,
"fa_cup_goals" real,
"league_cup_goals" real,
"total" real
);
Question: What is the highest number of League Cup goals that... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_12" (
"date" text,
"home_team" text,
"score" text,
"away_team" text,
"venue" text,
"box_score" text,
"report" text
);
Question: When was the game at the North Shore Events Centre?
<|a... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_12" (
"date" text,
"home_team" text,
"score" text,
"away_team" text,
"venue" text,
"box_score" text,
"report" text
);
Question: What is the report corresponding to the game that had t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_12" (
"date" text,
"home_team" text,
"score" text,
"away_team" text,
"venue" text,
"box_score" text,
"report" text
);
Question: When was the game that had Sydney Spirit as the away te... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_12" (
"date" text,
"home_team" text,
"score" text,
"away_team" text,
"venue" text,
"box_score" text,
"report" text
);
Question: What was the box score for the game that had the Townsv... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_12" (
"date" text,
"home_team" text,
"score" text,
"away_team" text,
"venue" text,
"box_score" text,
"report" text
);
Question: What was the box score for the game that had the Cairns... |
<|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: What's the lap number for time/retired of +33.912?
<|assistant|>
SELECT C... |
<|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: Total laps for Shinya Nakano at smaller than 10 grids.
<|assistant|>
SELE... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "a" (
"player" text,
"nationality" text,
"jersey_number_s" text,
"position" text,
"years" text,
"from" text
);
Question: What years were from Connecticut?
<|assistant|>
SELECT "years" FROM "a"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "a" (
"player" text,
"nationality" text,
"jersey_number_s" text,
"position" text,
"years" text,
"from" text
);
Question: Where is the position of sG from?
<|assistant|>
SELECT "from" FROM "a" ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "a" (
"player" text,
"nationality" text,
"jersey_number_s" text,
"position" text,
"years" text,
"from" text
);
Question: Which player wears the number 2 on his jersey?
<|assistant|>
SELECT "pl... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "a" (
"player" text,
"nationality" text,
"jersey_number_s" text,
"position" text,
"years" text,
"from" text
);
Question: What position is from Georgia Tech?
<|assistant|>
SELECT "position" FRO... |
<|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 "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 "nfl_draft" (
"round" real,
"pick" real,
"player" text,
"position" text,
"school" text
);
Question: What is the Pick # of the Player from Southern MIssissippi?
<|assistant|>
SELECT COUNT("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" text
);
Question: In what Round was Derrick Franklin picked?
<|assistant|>
SELECT "round" FROM "nfl_draft" WHERE... |
<|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" text
);
Question: In what Round does Duke have a Pick larger than 9?
<|assistant|>
SELECT COUNT("round") FROM "n... |
<|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" text
);
Question: In what Round was Tommy Norman picked?
<|assistant|>
SELECT MAX("round") FROM "nfl_draft" WHER... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "performance_indicators_for_nwsc_1998_201" (
"1998" text,
"2000" text,
"2004" text,
"2007" text,
"2011" text
);
Question: What is the 2000 value if the 1998 value is 1.5?
<|assistant|>
SELECT "2... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "performance_indicators_for_nwsc_1998_201" (
"1998" text,
"2000" text,
"2004" text,
"2007" text,
"2011" text
);
Question: What is the 2004 value if the 1998 value is 35?
<|assistant|>
SELECT "20... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "performance_indicators_for_nwsc_1998_201" (
"1998" text,
"2000" text,
"2004" text,
"2007" text,
"2011" text
);
Question: What is the 1998 value if the 2000 value is 25?
<|assistant|>
SELECT "19... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "performance_indicators_for_nwsc_1998_201" (
"1998" text,
"2000" text,
"2004" text,
"2007" text,
"2011" text
);
Question: What is the 1998 value if the 2007 value is 8?
<|assistant|>
SELECT "199... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "performance_indicators_for_nwsc_1998_201" (
"1998" text,
"2000" text,
"2004" text,
"2007" text,
"2011" text
);
Question: What is the 2000 value if the 1998 value is 1.5?
<|assistant|>
SELECT "2... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "performance_indicators_for_nwsc_1998_201" (
"1998" text,
"2000" text,
"2004" text,
"2007" text,
"2011" text
);
Question: What is the 1998 value if the 2011 value is 30.4?
<|assistant|>
SELECT "... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "typical_duplex_scanners" (
"product" text,
"dimensions_mm" text,
"pages_per_minute_color" real,
"max_page_size" text,
"interface" text
);
Question: What is the interface of the product xerox tr... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "typical_duplex_scanners" (
"product" text,
"dimensions_mm" text,
"pages_per_minute_color" real,
"max_page_size" text,
"interface" text
);
Question: What is the pages per minute (color) of the m... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "end_of_season_managerial_changes" (
"name" text,
"club" text,
"date_of_departure" text,
"replacement" text,
"date_of_appointment" text
);
Question: What club had Guus Hiddink as outgoing manage... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "end_of_season_managerial_changes" (
"name" text,
"club" text,
"date_of_departure" text,
"replacement" text,
"date_of_appointment" text
);
Question: When did Brendan Rodgers depart his position?... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "end_of_season_managerial_changes" (
"name" text,
"club" text,
"date_of_departure" text,
"replacement" text,
"date_of_appointment" text
);
Question: On what date was Paulo Sousa appointed?
<|ass... |
<|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 "philadelphia_phillies_vs_los_angeles_dod" (
"game" real,
"date" text,
"score" text,
"location" text,
"time" text,
"attendance" real
);
Question: What date did a game have a time of 3:44?
<|as... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "philadelphia_phillies_vs_los_angeles_dod" (
"game" real,
"date" text,
"score" text,
"location" text,
"time" text,
"attendance" real
);
Question: What was the attendance for the game after gam... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "barangays" (
"barangay" text,
"urban_rural" text,
"geographic_character" text,
"population_2007" real,
"population_2010" real
);
Question: WHAT IS THE TYPE OF LAND WITH A 2010 POPULATION GREATE... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "barangays" (
"barangay" text,
"urban_rural" text,
"geographic_character" text,
"population_2007" real,
"population_2010" real
);
Question: WHAT IS THE TYPE OF LAND WITH A 2007 POPULATION SMALLE... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "barangays" (
"barangay" text,
"urban_rural" text,
"geographic_character" text,
"population_2007" real,
"population_2010" real
);
Question: WHAT IS THE POPULATION OF 2007 WHEN 2010 POPULATION WA... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "group_i" (
"position" real,
"club" text,
"played" real,
"points" real,
"wins" real,
"draws" real,
"losses" real,
"goals_for" real,
"goals_against" real,
"goal_difference" real
);
Ques... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "group_i" (
"position" real,
"club" text,
"played" real,
"points" real,
"wins" real,
"draws" real,
"losses" real,
"goals_for" real,
"goals_against" real,
"goal_difference" real
);
Ques... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "group_i" (
"position" real,
"club" text,
"played" real,
"points" real,
"wins" real,
"draws" real,
"losses" real,
"goals_for" real,
"goals_against" real,
"goal_difference" real
);
Ques... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "group_i" (
"position" real,
"club" text,
"played" real,
"points" real,
"wins" real,
"draws" real,
"losses" real,
"goals_for" real,
"goals_against" real,
"goal_difference" real
);
Ques... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "group_i" (
"position" real,
"club" text,
"played" real,
"points" real,
"wins" real,
"draws" real,
"losses" real,
"goals_for" real,
"goals_against" real,
"goal_difference" real
);
Ques... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "production" (
"block" real,
"director" text,
"writers" text,
"producer" text,
"code" text
);
Question: Who is the producer for the director Richard Clark?
<|assistant|>
SELECT "producer" FROM "... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "production" (
"block" real,
"director" text,
"writers" text,
"producer" text,
"code" text
);
Question: What is the lowest block for director Graeme Harper?
<|assistant|>
SELECT MIN("block") FRO... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "standings" (
"country" text,
"skip" text,
"ends_won" real,
"ends_lost" real,
"blank_ends_f_a" text,
"stolen_ends_for" real,
"stolen_ends_against" real,
"shot_pct" real
);
Question: What i... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "standings" (
"country" text,
"skip" text,
"ends_won" real,
"ends_lost" real,
"blank_ends_f_a" text,
"stolen_ends_for" real,
"stolen_ends_against" real,
"shot_pct" real
);
Question: What i... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "standings" (
"country" text,
"skip" text,
"ends_won" real,
"ends_lost" real,
"blank_ends_f_a" text,
"stolen_ends_for" real,
"stolen_ends_against" real,
"shot_pct" real
);
Question: What i... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "standings" (
"country" text,
"skip" text,
"ends_won" real,
"ends_lost" real,
"blank_ends_f_a" text,
"stolen_ends_for" real,
"stolen_ends_against" real,
"shot_pct" real
);
Question: What i... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "1970s_eagles_15_4_1" (
"year" real,
"date" text,
"winner" text,
"result" text,
"location" text
);
Question: what is the location when the year is after 1974 and the date is september 19?
<|assi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "1970s_eagles_15_4_1" (
"year" real,
"date" text,
"winner" text,
"result" text,
"location" text
);
Question: what is the location when the year is before 1979 and the result is 19-17?
<|assistan... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "1970s_eagles_15_4_1" (
"year" real,
"date" text,
"winner" text,
"result" text,
"location" text
);
Question: what is the result for 1970 at yankee stadium?
<|assistant|>
SELECT "result" FROM "19... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "1970s_eagles_15_4_1" (
"year" real,
"date" text,
"winner" text,
"result" text,
"location" text
);
Question: what is the year when the location is yankee stadium and the result is 23-23
<|assist... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "appearances" (
"name" text,
"years" text,
"league" real,
"scottish_cup" real,
"league_cup" real,
"europe" real,
"total" real
);
Question: Which Scottish Cup has a League Cup of 95, and a Eu... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "appearances" (
"name" text,
"years" text,
"league" real,
"scottish_cup" real,
"league_cup" real,
"europe" real,
"total" real
);
Question: Which Total has a Name of eoin jess category:articl... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "appearances" (
"name" text,
"years" text,
"league" real,
"scottish_cup" real,
"league_cup" real,
"europe" real,
"total" real
);
Question: Which Total has a Name of alex mcleish category:art... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "appearances" (
"name" text,
"years" text,
"league" real,
"scottish_cup" real,
"league_cup" real,
"europe" real,
"total" real
);
Question: Which League Cup has a Scottish Cup larger than 69?... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "appearances" (
"name" text,
"years" text,
"league" real,
"scottish_cup" real,
"league_cup" real,
"europe" real,
"total" real
);
Question: Which Scottish Cup has a League smaller than 561, Y... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "team_players_drafted_into_the_nfl" (
"player" text,
"position" text,
"round" real,
"pick" real,
"nfl_club" text
);
Question: What is the highest pick of the houston oilers NFL club, which has a... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "team_players_drafted_into_the_nfl" (
"player" text,
"position" text,
"round" real,
"pick" real,
"nfl_club" text
);
Question: What is the round of the new york jets NFL club?
<|assistant|>
SELEC... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "team_players_drafted_into_the_nfl" (
"player" text,
"position" text,
"round" real,
"pick" real,
"nfl_club" text
);
Question: What is the sum of the round of the new york jets NFL club, which ha... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "singles_performance_timeline" (
"tournament" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text
);
Question: WHAT IS THE 2012 PERFORMANCE FOR THE MADRID MASTERS?
<|assistan... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "singles_performance_timeline" (
"tournament" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text
);
Question: WHAT IS THE 2011 PERFORMANCE FOR TOURNAMENTS PLAYED?
<|assistan... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "singles_performance_timeline" (
"tournament" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text
);
Question: WHAT IS THE 2010 PERFORMANCE THAT HAD 2009 0F 0, AND FINALS TOU... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "singles_performance_timeline" (
"tournament" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text
);
Question: WHAT IS THE 2009 PERFORMANCE FOR TOURNAMENTS PLAYED?
<|assistan... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "fa_cup" (
"date" text,
"round" text,
"opponents" text,
"h_a" text,
"result_f_a" text,
"scorers" text,
"attendance" real
);
Question: Who were the scorers in round 3?
<|assistant|>
SELECT "s... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "fa_cup" (
"date" text,
"round" text,
"opponents" text,
"h_a" text,
"result_f_a" text,
"scorers" text,
"attendance" real
);
Question: What is the H/A in the semi-final round where oldham ath... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "fa_cup" (
"date" text,
"round" text,
"opponents" text,
"h_a" text,
"result_f_a" text,
"scorers" text,
"attendance" real
);
Question: Who were the scorers in the semi-final round where oldha... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "singles_11_8_3" (
"outcome" text,
"date" text,
"tournament" text,
"surface" text,
"opponent" text,
"score" text
);
Question: Where was the tournament where the score was 1β6, 6β3, 3β6?
<|assi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "singles_11_8_3" (
"outcome" text,
"date" text,
"tournament" text,
"surface" text,
"opponent" text,
"score" text
);
Question: Who did thomaz bellucci play against when the score was 4β6, 6β4, ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "doubles_25_12_13" (
"outcome" text,
"date" text,
"tournament" text,
"surface" text,
"partner" text,
"opponents_in_the_final" text,
"score" text
);
Question: What was the outcome of the tour... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "singles_performance_timeline" (
"tournament" text,
"2005" text,
"2006" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text
);
Question: Which tournament h... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "singles_performance_timeline" (
"tournament" text,
"2005" text,
"2006" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text
);
Question: What is the 2010 v... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "singles_performance_timeline" (
"tournament" text,
"2005" text,
"2006" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text
);
Question: What is the tourna... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "singles_performance_timeline" (
"tournament" text,
"2005" text,
"2006" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text
);
Question: What is the 2011 v... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "game_log" (
"game" text,
"date" text,
"opponent" text,
"score" text,
"location_attendance" text,
"record" text
);
Question: What was the record after game 45?
<|assistant|>
SELECT "record" FR... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "game_log" (
"game" text,
"date" text,
"opponent" text,
"score" text,
"location_attendance" text,
"record" text
);
Question: What was the date of the game at the delta center when the record w... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "game_log" (
"game" text,
"date" text,
"opponent" text,
"score" text,
"location_attendance" text,
"record" text
);
Question: Who was the opponent, during the game at the location of keyarena a... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "selected_discography" (
"artist" text,
"inst" text,
"release" text,
"format" text,
"label" text,
"year" real
);
Question: What is the label of release we are the rage with a cd format?
<|assi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "1950s_giants_13_7" (
"year" real,
"date" text,
"winner" text,
"result" text,
"loser" text,
"location" text
);
Question: Who was the winning team before 1956 on October 21?
<|assistant|>
SELEC... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "1950s_giants_13_7" (
"year" real,
"date" text,
"winner" text,
"result" text,
"loser" text,
"location" text
);
Question: Who was the loser when the New York Giants were the winners on November... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "1950s_giants_13_7" (
"year" real,
"date" text,
"winner" text,
"result" text,
"loser" text,
"location" text
);
Question: Who was the winner when the Philadelphia eagles were the losers after 1... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "1950s_giants_13_7" (
"year" real,
"date" text,
"winner" text,
"result" text,
"loser" text,
"location" text
);
Question: What location was the game with the result of 29-14?
<|assistant|>
SELE... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "first_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"date" text
);
Question: What is the score of the wigan athletic home team?
<|assistant|>
SELECT "score" F... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "first_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"date" text
);
Question: What is the away team with a 2 tie no.?
<|assistant|>
SELECT "away_team" FROM "fi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "first_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"date" text
);
Question: What is the away team for the home team wigan athletic?
<|assistant|>
SELECT "awa... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "first_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"date" text
);
Question: What is the score on 23 November 1983 with exeter city as the away team?
<|assist... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.