text stringlengths 310 1.28k |
|---|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "submissions" (
"year_ceremony" text,
"english_title" text,
"russian_title" text,
"kazakh_title" text,
"director" text,
"result" text
);
Question: What year was Kelin nominated?
<|assistant|>
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "final_round_sunday" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" real,
"winnings" real
);
Question: What was the to par score in the match that had a score of 76-71-7... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "final_round_sunday" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" real,
"winnings" real
);
Question: What is Robert Allenby's average to par score?
<|assistant|>
SELEC... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "mixed_doubles_performance_timeline" (
"tournament" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text,
"2013" text
);
Question: Can you tell me the Tournament that has th... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "mixed_doubles_performance_timeline" (
"tournament" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text,
"2013" text
);
Question: Can you tell me the 2010 that has the 2008... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "mixed_doubles_performance_timeline" (
"tournament" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text,
"2013" text
);
Question: Can you tell me the 2009 that has the 2011... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "missed_the_cut" (
"player" text,
"country" text,
"year_s_won" text,
"total" real,
"to_par" real
);
Question: What is the to par for the player with total of 155?
<|assistant|>
SELECT AVG("to_pa... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "women" (
"year" real,
"gold" text,
"silver" text,
"bronze" text,
"notes" text
);
Question: Who won Bronze with Notes of 2.5km, 16controls?
<|assistant|>
SELECT "bronze" FROM "women" WHERE "note... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "women" (
"year" real,
"gold" text,
"silver" text,
"bronze" text,
"notes" text
);
Question: Who won Gold later than 2004 with Notes of 2.73km, 14controls?
<|assistant|>
SELECT "gold" FROM "women... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "women" (
"year" real,
"gold" text,
"silver" text,
"bronze" text,
"notes" text
);
Question: Who won Bronze with notes of 2.5km, 14controls?
<|assistant|>
SELECT "bronze" FROM "women" WHERE "note... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "women" (
"year" real,
"gold" text,
"silver" text,
"bronze" text,
"notes" text
);
Question: What are the Notes against a Silver for Jenny Johansson earlier than 2006?
<|assistant|>
SELECT "notes... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "assembly_segments" (
"constituency_number" text,
"name" text,
"reserved_for_sc_st_none" text,
"district" text,
"number_of_electorates_2009" real
);
Question: What is the Constituency number for... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "assembly_segments" (
"constituency_number" text,
"name" text,
"reserved_for_sc_st_none" text,
"district" text,
"number_of_electorates_2009" real
);
Question: What is the name for the constituen... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "summary" (
"rank" text,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
);
Question: When bronze is more than 3, what is the rank?
<|assistant|>
SELECT "rank" FROM "sum... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "summary" (
"rank" text,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
);
Question: When rank is 7 and silver is less than 0, what is the total gold?
<|assistant|>
SEL... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "third_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
);
Question: What player is from Wales?
<|assistant|>
SELECT "player" FROM "third_round" WHERE "country"=... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "third_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
);
Question: What player scored 73-68-66=207?
<|assistant|>
SELECT "player" FROM "third_round" WHERE "sco... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "third_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
);
Question: What Seve Ballesteros's score?
<|assistant|>
SELECT "score" FROM "third_round" WHERE "player... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "third_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
);
Question: What country is Craig Parry from?
<|assistant|>
SELECT "country" FROM "third_round" WHERE "p... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "third_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
);
Question: What country has a score of 66-73-69=208?
<|assistant|>
SELECT "country" FROM "third_round" ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "nba_finals" (
"game" text,
"date" text,
"home_team" text,
"result" text,
"road_team" text
);
Question: What is Road Team, when Result is "74-71"?
<|assistant|>
SELECT "road_team" FROM "nba_fina... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "nba_finals" (
"game" text,
"date" text,
"home_team" text,
"result" text,
"road_team" text
);
Question: What is Result, when Date is "April 3"?
<|assistant|>
SELECT "result" FROM "nba_finals" WH... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "nba_finals" (
"game" text,
"date" text,
"home_team" text,
"result" text,
"road_team" text
);
Question: What is Game, when Road Team is "Syracuse", and when Result is "96-89"?
<|assistant|>
SELE... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "nba_finals" (
"game" text,
"date" text,
"home_team" text,
"result" text,
"road_team" text
);
Question: What is Home Team, when Date is "April 10"?
<|assistant|>
SELECT "home_team" FROM "nba_fin... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "nba_finals" (
"game" text,
"date" text,
"home_team" text,
"result" text,
"road_team" text
);
Question: What is Game, when Road Team is "Syracuse", and when Result is "109-82"?
<|assistant|>
SEL... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "nba_finals" (
"game" text,
"date" text,
"home_team" text,
"result" text,
"road_team" text
);
Question: What is Road Team, when Date is "April 10"?
<|assistant|>
SELECT "road_team" FROM "nba_fin... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "nfl_draft" (
"round" real,
"pick" real,
"overall_pick" real,
"player" text,
"school_club_team" text,
"position" text
);
Question: What was the earliest round with Neil Colzie and a pick small... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "nfl_draft" (
"round" real,
"pick" real,
"overall_pick" real,
"player" text,
"school_club_team" text,
"position" text
);
Question: What team had a pick of 24 and an overall pick of 310?
<|assi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "fifth_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"date" text
);
Question: What was the score of the replay game when watford was the away team?
<|assistant... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "fifth_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"date" text
);
Question: Who was the home team when walsall was the away team?
<|assistant|>
SELECT "home_... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "1991_1992" (
"date" real,
"name" text,
"venue" text,
"winner" text,
"runner_up" text,
"score" text
);
Question: What is Name, when Venue is "Hong Kong"?
<|assistant|>
SELECT "name" FROM "1991... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "1991_1992" (
"date" real,
"name" text,
"venue" text,
"winner" text,
"runner_up" text,
"score" text
);
Question: What is Name, when Venue is "Motherwell"?
<|assistant|>
SELECT "name" FROM "199... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "singles_champions" (
"year" real,
"name_of_tournament" text,
"champions" text,
"runners_up" text,
"score" text
);
Question: In 1987, what is the Runners-up when Stefan Edberg is Champion?
<|ass... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "singles_champions" (
"year" real,
"name_of_tournament" text,
"champions" text,
"runners_up" text,
"score" text
);
Question: What were the Runners-up prior to 1990 when Ivan Lendl was Champion i... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "singles_champions" (
"year" real,
"name_of_tournament" text,
"champions" text,
"runners_up" text,
"score" text
);
Question: In What Tournament did Boris Becker have a Score of 7β6, 6β4?
<|assis... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "knights_weapons_items_and_vehicles" (
"knight" text,
"weapon_item" text,
"external_weapon" text,
"shield_animal" text,
"cart" text
);
Question: What is the external weapon with the falcon shiel... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "knights_weapons_items_and_vehicles" (
"knight" text,
"weapon_item" text,
"external_weapon" text,
"shield_animal" text,
"cart" text
);
Question: What cart has a serpent shield animal?
<|assistan... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "knights_weapons_items_and_vehicles" (
"knight" text,
"weapon_item" text,
"external_weapon" text,
"shield_animal" text,
"cart" text
);
Question: What is the external weapon of knight zeke?
<|ass... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "knights_weapons_items_and_vehicles" (
"knight" text,
"weapon_item" text,
"external_weapon" text,
"shield_animal" text,
"cart" text
);
Question: What is the shield animal of knight phil?
<|assis... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "knights_weapons_items_and_vehicles" (
"knight" text,
"weapon_item" text,
"external_weapon" text,
"shield_animal" text,
"cart" text
);
Question: What is the external weapon with a ramhead cart?
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "fourth_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"date" text
);
Question: On what date was the away team Sheffield Wednesday?
<|assistant|>
SELECT "date" ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "fourth_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"date" text
);
Question: What was the tie number for the game with an away team of Hartlepool United?
<|a... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "fourth_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"date" text
);
Question: What was the score in Tie number 16?
<|assistant|>
SELECT "score" FROM "fourth_r... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "king_s_commissioners" (
"province" text,
"commissioner" text,
"assumed_office" text,
"duration" text,
"party" text,
"born" text
);
Question: What is the duration of the commissioner from the ... |
<|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,
"attendance" real
);
Question: Which round has an H/A of H?
<|assistant|>
SELECT "round" FROM "fa_cup" WH... |
<|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,
"attendance" real
);
Question: Rich round has an H/A of A and the opponent Sheffield United?
<|assistant|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "counties_and_districts" (
"mapnum" real,
"county" text,
"capital" text,
"population_2008" real,
"area" text,
"created" real
);
Question: What is the population (2008) when the capital was San... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "counties_and_districts" (
"mapnum" real,
"county" text,
"capital" text,
"population_2008" real,
"area" text,
"created" real
);
Question: What is the highest population (2008) created earlier ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "counties_and_districts" (
"mapnum" real,
"county" text,
"capital" text,
"population_2008" real,
"area" text,
"created" real
);
Question: What is the earliest created year when the map# was 10... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "scotland_national_team" (
"date" text,
"venue" text,
"score" text,
"competition" text,
"report" text
);
Question: What is the Venue of the game with a Score of 0β0?
<|assistant|>
SELECT "venue"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "scotland_national_team" (
"date" text,
"venue" text,
"score" text,
"competition" text,
"report" text
);
Question: What is the Venue of the Friendly Competition with a Score of 1β4?
<|assistant|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "scotland_national_team" (
"date" text,
"venue" text,
"score" text,
"competition" text,
"report" text
);
Question: What is the Venue of the WCQ5 Competition?
<|assistant|>
SELECT "venue" FROM "s... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "scotland_national_team" (
"date" text,
"venue" text,
"score" text,
"competition" text,
"report" text
);
Question: What is the Date of the Competition with a Score of 2β0?
<|assistant|>
SELECT "... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "scotland_national_team" (
"date" text,
"venue" text,
"score" text,
"competition" text,
"report" text
);
Question: What is the Venue of the Competition with a Score of 0β2?
<|assistant|>
SELECT ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "scotland_national_team" (
"date" text,
"venue" text,
"score" text,
"competition" text,
"report" text
);
Question: What is the Venue of the Competition with a Score of 2β0?
<|assistant|>
SELECT ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "systematic_multiples" (
"symbol" text,
"prefix" text,
"si_meaning" text,
"binary_meaning" text,
"size_difference" text
);
Question: What is the binary meaning for symbol p?
<|assistant|>
SELECT... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "systematic_multiples" (
"symbol" text,
"prefix" text,
"si_meaning" text,
"binary_meaning" text,
"size_difference" text
);
Question: What;s the SI Meaning for symbol m?
<|assistant|>
SELECT "si_... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "systematic_multiples" (
"symbol" text,
"prefix" text,
"si_meaning" text,
"binary_meaning" text,
"size_difference" text
);
Question: Which prefix has a binary meaning of 2 10 = 1024 1?
<|assista... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "systematic_multiples" (
"symbol" text,
"prefix" text,
"si_meaning" text,
"binary_meaning" text,
"size_difference" text
);
Question: What is the size difference for exa?
<|assistant|>
SELECT "si... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "systematic_multiples" (
"symbol" text,
"prefix" text,
"si_meaning" text,
"binary_meaning" text,
"size_difference" text
);
Question: What is the size difference for the binary meaning of 2 70 = ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "winners" (
"year" real,
"dates" text,
"champion" text,
"country" text,
"score" text,
"tournament_location" text,
"purse" text,
"winner_s_share" text
);
Question: What is the score of cham... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "winners" (
"year" real,
"dates" text,
"champion" text,
"country" text,
"score" text,
"tournament_location" text,
"purse" text,
"winner_s_share" text
);
Question: What dates was champion m... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "winners" (
"year" real,
"dates" text,
"champion" text,
"country" text,
"score" text,
"tournament_location" text,
"purse" text,
"winner_s_share" text
);
Question: What is the winner's shar... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "winners" (
"year" real,
"dates" text,
"champion" text,
"country" text,
"score" text,
"tournament_location" text,
"purse" text,
"winner_s_share" text
);
Question: Who is the champion with ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "draft_picks" (
"draft" real,
"round" real,
"pick" real,
"player" text,
"nationality" text
);
Question: What round had Canada with a draft of 1970 and a pick of 7?
<|assistant|>
SELECT MAX("roun... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "miss_universe" (
"year" real,
"delegate" text,
"hometown" text,
"placement_in_miss_universe" text,
"other_awards" text
);
Question: Which Placement in Miss Universe has a Delegate of janine mar... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "miss_universe" (
"year" real,
"delegate" text,
"hometown" text,
"placement_in_miss_universe" text,
"other_awards" text
);
Question: Which Placement in Miss Universe is armi barbara quiray cres... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "miss_universe" (
"year" real,
"delegate" text,
"hometown" text,
"placement_in_miss_universe" text,
"other_awards" text
);
Question: Which Delegate has a Placement in Miss Universe of fourth run... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "miss_universe" (
"year" real,
"delegate" text,
"hometown" text,
"placement_in_miss_universe" text,
"other_awards" text
);
Question: What kind of Placement in Miss Universe that rosita cornell c... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "miss_universe" (
"year" real,
"delegate" text,
"hometown" text,
"placement_in_miss_universe" text,
"other_awards" text
);
Question: Which Year jennifer tarol barrientos is in?
<|assistant|>
SEL... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "major_competition_record" (
"year" real,
"competition" text,
"venue" text,
"position" text,
"event" text,
"notes" real
);
Question: WHAT YEAR WAS THE WORLD CHAMPIONSHIPS IN WITH NOTES OF 39.0... |
<|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's the sum of money ($) that angela park has won?
<|assistant|>
SELECT S... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "national_football_league" (
"year" text,
"round" real,
"pick" real,
"overall" real,
"position" text,
"nfl_team" text
);
Question: What number was the pick for the position of DT in 1952, afte... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "national_football_league" (
"year" text,
"round" real,
"pick" real,
"overall" real,
"position" text,
"nfl_team" text
);
Question: Which NFL team chose a position of DE when the pick was large... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "singles_performance_timeline" (
"tournament" text,
"2001" text,
"2002" text,
"2003" text,
"2004" text,
"2005" text,
"2006" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text,
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "singles_performance_timeline" (
"tournament" text,
"2001" text,
"2002" text,
"2003" text,
"2004" text,
"2005" text,
"2006" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text,
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "singles_performance_timeline" (
"tournament" text,
"2001" text,
"2002" text,
"2003" text,
"2004" text,
"2005" text,
"2006" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text,
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "singles_performance_timeline" (
"tournament" text,
"2001" text,
"2002" text,
"2003" text,
"2004" text,
"2005" text,
"2006" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text,
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "singles_performance_timeline" (
"tournament" text,
"2001" text,
"2002" text,
"2003" text,
"2004" text,
"2005" text,
"2006" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text,
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "singles_performance_timeline" (
"tournament" text,
"2001" text,
"2002" text,
"2003" text,
"2004" text,
"2005" text,
"2006" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text,
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "notes" (
"member" text,
"party" text,
"electorate" text,
"state" text,
"first_elected" real
);
Question: Which Member has an Electorate of southern melbourne?
<|assistant|>
SELECT "member" FROM... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "notes" (
"member" text,
"party" text,
"electorate" text,
"state" text,
"first_elected" real
);
Question: When was H.B. Higgins first elected?
<|assistant|>
SELECT "first_elected" FROM "notes" W... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2011_ladder" (
"golden_rivers" text,
"wins" real,
"byes" real,
"losses" real,
"draws" real,
"against" real
);
Question: What is the highest number of byes when draws are larger than 0?
<|assi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2011_ladder" (
"golden_rivers" text,
"wins" real,
"byes" real,
"losses" real,
"draws" real,
"against" real
);
Question: What is the lowest amount of losses when the goldne rivers is quambatoo... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2011_ladder" (
"golden_rivers" text,
"wins" real,
"byes" real,
"losses" real,
"draws" real,
"against" real
);
Question: How many losses did the golden rivers of ultima have when wins were les... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2011_ladder" (
"golden_rivers" text,
"wins" real,
"byes" real,
"losses" real,
"draws" real,
"against" real
);
Question: How many losses did the Golden rivers of hay have?
<|assistant|>
SELECT... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2011_ladder" (
"golden_rivers" text,
"wins" real,
"byes" real,
"losses" real,
"draws" real,
"against" real
);
Question: What is the total number of byes when the wins were 9?
<|assistant|>
SE... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2011_ladder" (
"golden_rivers" text,
"wins" real,
"byes" real,
"losses" real,
"draws" real,
"against" real
);
Question: What is th average dras when wins are less than 12 and the against is 9... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "by_class" (
"class" text,
"seas" text,
"1st_gp" text,
"1st_pod" text,
"1st_win" text,
"race" real,
"podiums" real,
"pole" real,
"f_lap" real,
"w_chmp" real
);
Question: What is the hi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "by_class" (
"class" text,
"seas" text,
"1st_gp" text,
"1st_pod" text,
"1st_win" text,
"race" real,
"podiums" real,
"pole" real,
"f_lap" real,
"w_chmp" real
);
Question: What is the hi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "fa_premier_league" (
"date" text,
"opponents" text,
"h_a" text,
"result_f_a" text,
"attendance" real,
"league_position" text
);
Question: Name the Result F β A that has a League position of 1... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "months" (
"english_name" text,
"thai_name" text,
"abbr" text,
"transcription" text,
"sanskrit_word" text,
"zodiac_sign" text
);
Question: What is the Thai name for the word abbreviated ΰΈ‘ΰΈ΅.ΰΈ.?... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "months" (
"english_name" text,
"thai_name" text,
"abbr" text,
"transcription" text,
"sanskrit_word" text,
"zodiac_sign" text
);
Question: What is the English word that is abbreviated ΰΈ.ΰΈ’.?
<|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "months" (
"english_name" text,
"thai_name" text,
"abbr" text,
"transcription" text,
"sanskrit_word" text,
"zodiac_sign" text
);
Question: What is the transcription for the English word March?... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "months" (
"english_name" text,
"thai_name" text,
"abbr" text,
"transcription" text,
"sanskrit_word" text,
"zodiac_sign" text
);
Question: What is the zodiac sign for the English March?
<|assi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "months" (
"english_name" text,
"thai_name" text,
"abbr" text,
"transcription" text,
"sanskrit_word" text,
"zodiac_sign" text
);
Question: What is the abbreviation for the sign of Capricorn?
<... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "months" (
"english_name" text,
"thai_name" text,
"abbr" text,
"transcription" text,
"sanskrit_word" text,
"zodiac_sign" text
);
Question: What is the transcription for the English March?
<|as... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "singles_5_6" (
"edition" text,
"round" text,
"date" text,
"surface" text,
"opponent" text,
"result" text
);
Question: What date was the 1988 world group i edition with a result of 7β6 (7β5) ,... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "singles_5_6" (
"edition" text,
"round" text,
"date" text,
"surface" text,
"opponent" text,
"result" text
);
Question: Who was the opponent on april 24, 1999?
<|assistant|>
SELECT "opponent" F... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "singles_5_6" (
"edition" text,
"round" text,
"date" text,
"surface" text,
"opponent" text,
"result" text
);
Question: What's the result for the clay surface edition on july 17, 1992?
<|assist... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.