text stringlengths 310 1.28k |
|---|
<|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 "24_hours_of_le_mans_results" (
"year" real,
"team" text,
"co_drivers" text,
"class" text,
"laps" real,
"pos" text,
"class_pos" text
);
Question: What is the total number of laps that Benoît... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "24_hours_of_le_mans_results" (
"year" real,
"team" text,
"co_drivers" text,
"class" text,
"laps" real,
"pos" text,
"class_pos" text
);
Question: Which team has finished in 1st place in 2011... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "director" (
"year" real,
"show" text,
"season" text,
"episode" text,
"notes" text
);
Question: What is the Episode number of Ernest Dickerson in 2009 when the show was dexter?
<|assistant|>
SEL... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "international_goals" (
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
);
Question: What is the result on 29 September 2007?
<|assistant|>
SELECT "result" FROM "inter... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "international_goals" (
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
);
Question: Which competition was on 29 September 2007?
<|assistant|>
SELECT "competition" FRO... |
<|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,
"attendance" real,
"record" text,
"points" real
);
Question: Where was the game where the senators sc... |
<|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,
"attendance" real,
"record" text,
"points" real
);
Question: What is the highest number of points aga... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "250cc_classification" (
"rider" text,
"manufacturer" text,
"laps" real,
"time_retired" text,
"grid" real
);
Question: WHAT IS THE LOWEST GRID FOR RETIREMENT, AND LAPS LARGER THAN 17?
<|assistan... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "250cc_classification" (
"rider" text,
"manufacturer" text,
"laps" real,
"time_retired" text,
"grid" real
);
Question: WHAT IS THE GRID WITH AN ACCIDENT AND HONDA MANUFACTURER?
<|assistant|>
SEL... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "oldest_first_class_cricketers" (
"rank" real,
"name" text,
"team_s" text,
"birth_date" text,
"death_date" text,
"age_as_of_1_february_2014" text,
"nationality" text
);
Question: What was th... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "oldest_first_class_cricketers" (
"rank" real,
"name" text,
"team_s" text,
"birth_date" text,
"death_date" text,
"age_as_of_1_february_2014" text,
"nationality" text
);
Question: What is the... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "oldest_first_class_cricketers" (
"rank" real,
"name" text,
"team_s" text,
"birth_date" text,
"death_date" text,
"age_as_of_1_february_2014" text,
"nationality" text
);
Question: Who is at r... |
<|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" real,
"finish" text
);
Question: What is the finish of player Hale Irwin?
<|assistant|>
SELECT "finish... |
<|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" real,
"finish" text
);
Question: What is the finish of South Africa?
<|assistant|>
SELECT "finish" FRO... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "possessive_adjectives" (
"nominative" text,
"ergative" text,
"dative" text,
"genitive" text,
"instrumental" text,
"adverbial" text
);
Question: With a nominative of chven-i what is the ergati... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "possessive_adjectives" (
"nominative" text,
"ergative" text,
"dative" text,
"genitive" text,
"instrumental" text,
"adverbial" text
);
Question: What instrumental has tkven-i as the genitive?
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "possessive_adjectives" (
"nominative" text,
"ergative" text,
"dative" text,
"genitive" text,
"instrumental" text,
"adverbial" text
);
Question: What nominative has mis as the dative?
<|assist... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "possessive_adjectives" (
"nominative" text,
"ergative" text,
"dative" text,
"genitive" text,
"instrumental" text,
"adverbial" text
);
Question: With chem-s as the dative, what is the ergative... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "possessive_adjectives" (
"nominative" text,
"ergative" text,
"dative" text,
"genitive" text,
"instrumental" text,
"adverbial" text
);
Question: What instrumental has chven-s as the adverbial?... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "possessive_adjectives" (
"nominative" text,
"ergative" text,
"dative" text,
"genitive" text,
"instrumental" text,
"adverbial" text
);
Question: Mis-i is the nominative of what ergative?
<|ass... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "singles" (
"tournament" text,
"surface" text,
"week" text,
"winner" text,
"finalist" text,
"semifinalists" text
);
Question: what was the week for the match on a hard surface at Indian Wells ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "singles" (
"tournament" text,
"surface" text,
"week" text,
"winner" text,
"finalist" text,
"semifinalists" text
);
Question: What week was the tournament at Cincinnati?
<|assistant|>
SELECT "... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "singles" (
"tournament" text,
"surface" text,
"week" text,
"winner" text,
"finalist" text,
"semifinalists" text
);
Question: Where was the tournament where the match was on a hard surface and... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "singles" (
"tournament" text,
"surface" text,
"week" text,
"winner" text,
"finalist" text,
"semifinalists" text
);
Question: Who was the semifinalist at the tournament in miami?
<|assistant|>... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "singles" (
"tournament" text,
"surface" text,
"week" text,
"winner" text,
"finalist" text,
"semifinalists" text
);
Question: Who was the winner at the tournament in Hamburg?
<|assistant|>
SEL... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "greek_cup_finals" (
"year" text,
"winner" text,
"runner_up" text,
"score" text,
"venue" text
);
Question: what is the venue on 21 june 1987?
<|assistant|>
SELECT "venue" FROM "greek_cup_finals"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "greek_cup_finals" (
"year" text,
"winner" text,
"runner_up" text,
"score" text,
"venue" text
);
Question: When is the winner panathinaikos, the runner-up olympiacos and the venue nikos goumas s... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "greek_cup_finals" (
"year" text,
"winner" text,
"runner_up" text,
"score" text,
"venue" text
);
Question: When is the winner olympiacos, the venue is georgios karaiskakis stadium and the runner... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "greek_cup_finals" (
"year" text,
"winner" text,
"runner_up" text,
"score" text,
"venue" text
);
Question: when is the venue nikos goumas stadium and the score is 2–2 4–4 a.e.t. 6–5 pso?
<|assis... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "greek_cup_finals" (
"year" text,
"winner" text,
"runner_up" text,
"score" text,
"venue" text
);
Question: what is the score when the venue is athens olympic stadium on 30 april 2011?
<|assistan... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "teams" (
"season" text,
"skip" text,
"third" text,
"second" text,
"lead" text
);
Question: Which Season has a Skip of Eve Muirhead with a thirs of Jackie Lockhart (e/o) Kelly Wood (w)?
<|assist... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "teams" (
"season" text,
"skip" text,
"third" text,
"second" text,
"lead" text
);
Question: What is the season with a Skip of Eve Muirhead and a third of Kerry Barr?
<|assistant|>
SELECT "season... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "teams" (
"season" text,
"skip" text,
"third" text,
"second" text,
"lead" text
);
Question: Who is the second with a lead of Sarah Macintyre (jr) Anne Laird (w)?
<|assistant|>
SELECT "second" FR... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "teams" (
"season" text,
"skip" text,
"third" text,
"second" text,
"lead" text
);
Question: What is the skip that has a third of Anna Sloan in season 2012-13?
<|assistant|>
SELECT "skip" FROM "t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "teams" (
"season" text,
"skip" text,
"third" text,
"second" text,
"lead" text
);
Question: What is the lead with a second of Vicki Adams and a third of Anna Sloan?
<|assistant|>
SELECT "lead" F... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "teams" (
"season" text,
"skip" text,
"third" text,
"second" text,
"lead" text
);
Question: Who is the second where the third of Kelly Wood (e) Anna Sloan (Jr)?
<|assistant|>
SELECT "second" 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 "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 "second_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"attendance" text
);
Question: What is the Score when the Away Team is Torquay United?
<|assistant|>
SELE... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "second_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"attendance" text
);
Question: Which Away Team has a Tie no of replay and a Home Team of Chesterfield?
<|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "second_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"attendance" text
);
Question: What is the Away Team when the Home Team is Torquay United and the Attende... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "teams_and_drivers" (
"team" text,
"chassis" text,
"engine" text,
"tire" text,
"sponsor" text
);
Question: What is the Chassis of the Honda Engine with a Motorola sponsor?
<|assistant|>
SELECT "... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "teams_and_drivers" (
"team" text,
"chassis" text,
"engine" text,
"tire" text,
"sponsor" text
);
Question: What is the engine of the goodyear tire and Herdez as a sponsor?
<|assistant|>
SELECT "... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "teams_and_drivers" (
"team" text,
"chassis" text,
"engine" text,
"tire" text,
"sponsor" text
);
Question: What engine does the Tasman Motorsports team have?
<|assistant|>
SELECT "engine" FROM "... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "teams_and_drivers" (
"team" text,
"chassis" text,
"engine" text,
"tire" text,
"sponsor" text
);
Question: Which Tire has a Sponsor of Duracell?
<|assistant|>
SELECT "tire" FROM "teams_and_drive... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "teams_and_drivers" (
"team" text,
"chassis" text,
"engine" text,
"tire" text,
"sponsor" text
);
Question: Which team has Firestone Tires a Reynard 95i Chassis and is sponsored by Motorola?
<|as... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "general_election_results" (
"election" real,
"leader" text,
"num_of_candidates" real,
"num_of_constituency_votes" real,
"pct_of_constituency_vote" text
);
Question: What is the highest # Of Con... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "general_election_results" (
"election" real,
"leader" text,
"num_of_candidates" real,
"num_of_constituency_votes" real,
"pct_of_constituency_vote" text
);
Question: What is the sum of # Of Cand... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "general_election_results" (
"election" real,
"leader" text,
"num_of_candidates" real,
"num_of_constituency_votes" real,
"pct_of_constituency_vote" text
);
Question: What is the % Of Constituenc... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "general_election_results" (
"election" real,
"leader" text,
"num_of_candidates" real,
"num_of_constituency_votes" real,
"pct_of_constituency_vote" text
);
Question: What is the highest # Of Con... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "washington_redskins_draft_history" (
"round" real,
"pick" real,
"overall" real,
"name" text,
"position" text,
"college" text
);
Question: What was the overall draft pick of the player who was... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "washington_redskins_draft_history" (
"round" real,
"pick" real,
"overall" real,
"name" text,
"position" text,
"college" text
);
Question: What number pick was the player drafted in round 3 at... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "national_intelligence_program_nip" (
"administrating_agencies_by_nip_funds_only" text,
"management_and_support" real,
"data_collection" text,
"data_processing_and_exploitation" text,
"total" rea... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "defunct_sites" (
"name" text,
"year_began" text,
"registration" text,
"userpics_free" text,
"userpics_paid" text,
"monthly_cost_for_paid_account" text,
"yearly_cost_for_paid_account" text,
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "defunct_sites" (
"name" text,
"year_began" text,
"registration" text,
"userpics_free" text,
"userpics_paid" text,
"monthly_cost_for_paid_account" text,
"yearly_cost_for_paid_account" text,
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "singles" (
"tournament" text,
"surface" text,
"week" text,
"winner_and_score" text,
"finalist" text,
"semifinalists" text
);
Question: Which Week has a Tournament of monte carlo?
<|assistant|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "singles" (
"tournament" text,
"surface" text,
"week" text,
"winner_and_score" text,
"finalist" text,
"semifinalists" text
);
Question: Which Winner and score has a Finalist of aaron krickstei... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "singles" (
"tournament" text,
"surface" text,
"week" text,
"winner_and_score" text,
"finalist" text,
"semifinalists" text
);
Question: Which Semifinalists have a Surface of hard, and a Winner... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "singles" (
"tournament" text,
"surface" text,
"week" text,
"winner_and_score" text,
"finalist" text,
"semifinalists" text
);
Question: Which Finalist has a Winner and score of boris becker 7–... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "singles" (
"tournament" text,
"surface" text,
"week" text,
"winner_and_score" text,
"finalist" text,
"semifinalists" text
);
Question: Which Semifinalists have a Finalist of andrei chesnokov?... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "singles" (
"tournament" text,
"surface" text,
"week" text,
"winner_and_score" text,
"finalist" text,
"semifinalists" text
);
Question: Which Surface has Semifinalists of wally masur malivai w... |
<|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 place had a score of 73-69-68=210?
<|assistant|>
SELECT "place" FROM "third_round" WHER... |
<|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 Gary Player from in T9 place?
<|assistant|>
SELECT "country" FROM "third_rou... |
<|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's the score of New Zealand?
<|assistant|>
SELECT "score" FROM "third_round" WHERE "coun... |
<|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 has a score of 67-70-77=214?
<|assistant|>
SELECT "player" FROM "third_round" WH... |
<|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 country has a finish of 59?
<|assistant|>
SELECT "country" FROM ... |
<|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 is the To Par when the finish was t16 and the player was Julius ... |
<|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 was the finish for Billy Casper?
<|assistant|>
SELECT "finish" F... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "alpine_skiing_at_the_1936_winter_olympic" (
"place" text,
"downhill" real,
"competitor" text,
"1st_run" text,
"2nd_run" text,
"points" text
);
Question: Who is the competitor with a downhill ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "alpine_skiing_at_the_1936_winter_olympic" (
"place" text,
"downhill" real,
"competitor" text,
"1st_run" text,
"2nd_run" text,
"points" text
);
Question: What is the 1st run that is down hill ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "week_1" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"ground" text,
"crowd" real,
"date" text
);
Question: What ground has 0.14.1.6 (93) as the home... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "week_1" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"ground" text,
"crowd" real,
"date" text
);
Question: What away team score has hawthorn as the ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "gt300" (
"team" text,
"make" text,
"drivers" text,
"tyre" text,
"rounds" text
);
Question: What is the make of the vehicle for driver Hisashi Wada?
<|assistant|>
SELECT "make" FROM "gt300" WHER... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "gt300" (
"team" text,
"make" text,
"drivers" text,
"tyre" text,
"rounds" text
);
Question: In what rounds was the featured team of Avanzza Rosso?
<|assistant|>
SELECT "rounds" FROM "gt300" WHER... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "gt300" (
"team" text,
"make" text,
"drivers" text,
"tyre" text,
"rounds" text
);
Question: In what rounds was the featured driver Tomonobu Fujii with a Tyre of Y?
<|assistant|>
SELECT "rounds" ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "gt300" (
"team" text,
"make" text,
"drivers" text,
"tyre" text,
"rounds" text
);
Question: Who is the driver with a tyre of k for Avanzza Rosso?
<|assistant|>
SELECT "drivers" FROM "gt300" WHER... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "gt300" (
"team" text,
"make" text,
"drivers" text,
"tyre" text,
"rounds" text
);
Question: What is the tyre for Yoshihisa Namekata?
<|assistant|>
SELECT "tyre" FROM "gt300" WHERE "drivers"='yos... |
<|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: If the pick is under 28 and the position is k, what's... |
<|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: During round 8 when the Position being picked was rb,... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "by_county" (
"county" text,
"kerrypct" text,
"kerrynum" real,
"bushpct" text,
"bushnum" real,
"otherspct" text,
"othersnum" real
);
Question: Which county had a Bush number of votes of 566?... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "singles_10_8_2" (
"outcome" text,
"year" real,
"championship" text,
"surface" text,
"opponent" text,
"score" text
);
Question: who is the opponent when the year is after 1996 and the outcome ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "singles_10_8_2" (
"outcome" text,
"year" real,
"championship" text,
"surface" text,
"opponent" text,
"score" text
);
Question: what is the surface when the championship is rome and the oppone... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "singles_10_8_2" (
"outcome" text,
"year" real,
"championship" text,
"surface" text,
"opponent" text,
"score" text
);
Question: what is the score when the surface is hard and outcome is runner... |
<|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_assists" text,
"location_attendance" text,
"record" text
);
Question: What was the number of the... |
<|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_assists" text,
"location_attendance" text,
"record" text
);
Question: Where was the game played ... |
<|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_assists" text,
"location_attendance" text,
"record" text
);
Question: What was the record when t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "singles_23_15_8" (
"outcome" text,
"date" text,
"tournament" text,
"surface" text,
"opponent_in_the_final" text,
"score_in_the_final" text
);
Question: What is Score In The Final, when Date i... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "singles_23_15_8" (
"outcome" text,
"date" text,
"tournament" text,
"surface" text,
"opponent_in_the_final" text,
"score_in_the_final" text
);
Question: What is Outcome, when Surface is "Carpe... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "singles_23_15_8" (
"outcome" text,
"date" text,
"tournament" text,
"surface" text,
"opponent_in_the_final" text,
"score_in_the_final" text
);
Question: What is Tournament, when Opponent In Th... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "singles_23_15_8" (
"outcome" text,
"date" text,
"tournament" text,
"surface" text,
"opponent_in_the_final" text,
"score_in_the_final" text
);
Question: What is Score In The Final, when Date i... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "singles_23_15_8" (
"outcome" text,
"date" text,
"tournament" text,
"surface" text,
"opponent_in_the_final" text,
"score_in_the_final" text
);
Question: What is Date, when Outcome is "Winner",... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "singles_23_15_8" (
"outcome" text,
"date" text,
"tournament" text,
"surface" text,
"opponent_in_the_final" text,
"score_in_the_final" text
);
Question: What is Opponent In The Final, when Out... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "preliminary_round" (
"rank" real,
"team" text,
"played" real,
"wins" real,
"ties" real,
"losses" real,
"goals_for" real,
"goals_against" real,
"points" real
);
Question: What are the to... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "preliminary_round" (
"rank" real,
"team" text,
"played" real,
"wins" real,
"ties" real,
"losses" real,
"goals_for" real,
"goals_against" real,
"points" real
);
Question: What is the ave... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "preliminary_round" (
"rank" real,
"team" text,
"played" real,
"wins" real,
"ties" real,
"losses" real,
"goals_for" real,
"goals_against" real,
"points" real
);
Question: What is the tot... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "record_vs_big_12_opponents" (
"oklahoma_vs" text,
"overall_record" text,
"at_norman" text,
"at_opponent_s_venue" text,
"at_neutral_site" text,
"last_5_meetings" text,
"last_10_meetings" text... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.