text stringlengths 310 1.28k |
|---|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "effects_of_the_high_german_consonant_shi" (
"german" text,
"low_german" text,
"plautdietsch" text,
"dutch" text,
"english" text
);
Question: Which English has German of leben?
<|assistant|>
SEL... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "effects_of_the_high_german_consonant_shi" (
"german" text,
"low_german" text,
"plautdietsch" text,
"dutch" text,
"english" text
);
Question: Which Plautdietsch has Dutch of maken?
<|assistant|>... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "effects_of_the_high_german_consonant_shi" (
"german" text,
"low_german" text,
"plautdietsch" text,
"dutch" text,
"english" text
);
Question: Which English has Dutch of tong?
<|assistant|>
SELEC... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "effects_of_the_high_german_consonant_shi" (
"german" text,
"low_german" text,
"plautdietsch" text,
"dutch" text,
"english" text
);
Question: Which English has Plautdietsch of aupel?
<|assistant... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "effects_of_the_high_german_consonant_shi" (
"german" text,
"low_german" text,
"plautdietsch" text,
"dutch" text,
"english" text
);
Question: Which Plautdietsch has Low German of doon?
<|assista... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "effects_of_the_high_german_consonant_shi" (
"german" text,
"low_german" text,
"plautdietsch" text,
"dutch" text,
"english" text
);
Question: Which English has Dutch of maken?
<|assistant|>
SELE... |
<|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: Can you tell me the Country that has the Year(s) Won of 1988?
<|assistant|>
SELECT "... |
<|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: Can you tell me the average Total that has the To par smaller than 10, and the Count... |
<|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: Can you tell me the Year(s) Won that has the Country of united states, and the Total... |
<|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: Can you tell me the Year(s) Won that has the To par larger than 5, and the Total sma... |
<|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 golfer has a greater than 293 total, and won in 1989?
<|assistan... |
<|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 maximum total when the To par is +3?
<|assistant|>
SELECT... |
<|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 golfer has 281 as their total?
<|assistant|>
SELECT "player" FRO... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "pirveli_liga_2011_12" (
"clubs" text,
"position_2010_11" text,
"region" text,
"stadium" text,
"capacity" real
);
Question: What is the highest capacity of the tsentral stadium (batumi)?
<|assis... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "pirveli_liga_2011_12" (
"clubs" text,
"position_2010_11" text,
"region" text,
"stadium" text,
"capacity" real
);
Question: What clubs are in the evgrapi shevardnadze stadium?
<|assistant|>
SELE... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "pirveli_liga_2011_12" (
"clubs" text,
"position_2010_11" text,
"region" text,
"stadium" text,
"capacity" real
);
Question: What is the stadium of the zooveti tbilisi club?
<|assistant|>
SELECT ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "notable_undrafted_players" (
"original_nfl_team" text,
"player" text,
"pos" text,
"college" text,
"conf" text
);
Question: What college had Jim Leonhard Category:articles with hcards?
<|assista... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "notable_undrafted_players" (
"original_nfl_team" text,
"player" text,
"pos" text,
"college" text,
"conf" text
);
Question: Who's the original team for Rashied Davis Category:articles with hcard... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "notable_undrafted_players" (
"original_nfl_team" text,
"player" text,
"pos" text,
"college" text,
"conf" text
);
Question: What college has Lance Moore Category:articles with hcards?
<|assistan... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "notable_undrafted_players" (
"original_nfl_team" text,
"player" text,
"pos" text,
"college" text,
"conf" text
);
Question: What's the original NFL team when the POS is S and college is Georgia ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "allegations_of_children_born_to_alleged_" (
"child" text,
"date_of_birth" text,
"mother" text,
"father" text,
"dna_testing_status" text
);
Question: What is the date of birth of Oliver Buell's ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "allegations_of_children_born_to_alleged_" (
"child" text,
"date_of_birth" text,
"mother" text,
"father" text,
"dna_testing_status" text
);
Question: Who is the father that was born on January 2... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "allegations_of_children_born_to_alleged_" (
"child" text,
"date_of_birth" text,
"mother" text,
"father" text,
"dna_testing_status" text
);
Question: Who is the father of the child whose mother ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "second_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
);
Question: What was the place in Germany with a score of 69-69=138?
<|assistant|>
SELECT "place" FROM ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "second_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
);
Question: What is the country that has a place of T6 that Eduardo Romero plays for?
<|assistant|>
SEL... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "second_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
);
Question: What is the to par for Scotland?
<|assistant|>
SELECT "to_par" FROM "second_round" WHERE "c... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "second_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
);
Question: What is the score for Darren Clarke?
<|assistant|>
SELECT "score" FROM "second_round" WHERE... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "second_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
);
Question: What is the country that has a place of T6, a socre of 69-69=138, and where Niclas Fasth pl... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2009_ladder_and_finals" (
"benalla_dfl" text,
"wins" real,
"losses" real,
"draws" real,
"byes" real,
"against" real
);
Question: What's the total losses that has more than 12 wins and 1017 ag... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2009_ladder_and_finals" (
"benalla_dfl" text,
"wins" real,
"losses" real,
"draws" real,
"byes" real,
"against" real
);
Question: What's the most wins of Tatong?
<|assistant|>
SELECT MAX("wins... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2009_ladder_and_finals" (
"benalla_dfl" text,
"wins" real,
"losses" real,
"draws" real,
"byes" real,
"against" real
);
Question: What's the most number of byes for Longwood having less than 1... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2009_ladder_and_finals" (
"benalla_dfl" text,
"wins" real,
"losses" real,
"draws" real,
"byes" real,
"against" real
);
Question: What is the smallest number against when the draws are less th... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2009_ladder_and_finals" (
"benalla_dfl" text,
"wins" real,
"losses" real,
"draws" real,
"byes" real,
"against" real
);
Question: What are the average byes of Bonnie Doon having more than 16 w... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "girone_b" (
"club" text,
"city" text,
"stadium" text,
"capacity" real,
"2007_08_season" text
);
Question: What is Rovigo's Club?
<|assistant|>
SELECT "club" FROM "girone_b" WHERE "city"='rovigo... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "girone_b" (
"club" text,
"city" text,
"stadium" text,
"capacity" real,
"2007_08_season" text
);
Question: What 2007-08 had A.S. Gubbio 1910 Club?
<|assistant|>
SELECT "2007_08_season" FROM "gir... |
<|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: Which country had a total of 295?
<|assistant|>
SELECT "country" FROM... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "third_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"date" text
);
Question: On what Date is West Ham United the Home team?
<|assistant|>
SELECT "date" FROM "... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "third_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"date" text
);
Question: On what Date was the Score 4β1?
<|assistant|>
SELECT "date" FROM "third_round_pro... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "third_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"date" text
);
Question: What is the Away team of Tie no 1?
<|assistant|>
SELECT "away_team" FROM "third_r... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "third_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"date" text
);
Question: What is the Tie no when Crystal Palace is the Away team?
<|assistant|>
SELECT "ti... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "third_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"date" text
);
Question: What is the Home team of Tie no 11?
<|assistant|>
SELECT "home_team" FROM "third_... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "third_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"date" text
);
Question: On what Date is West Ham United the Home team?
<|assistant|>
SELECT "date" FROM "... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2004" (
"week_1" text,
"week_2" text,
"week_3" text,
"week_4" text,
"week_5" text
);
Question: What kind of Week 4 has a Week 1 of sheila levell?
<|assistant|>
SELECT "week_4" FROM "2004" WHERE... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2004" (
"week_1" text,
"week_2" text,
"week_3" text,
"week_4" text,
"week_5" text
);
Question: What kind of Week 2 has a Week 4 of araya robinson?
<|assistant|>
SELECT "week_2" FROM "2004" WHER... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2004" (
"week_1" text,
"week_2" text,
"week_3" text,
"week_4" text,
"week_5" text
);
Question: What kind of Week 4 has a Week 2 of tiffany logan?
<|assistant|>
SELECT "week_4" FROM "2004" WHERE... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2004" (
"week_1" text,
"week_2" text,
"week_3" text,
"week_4" text,
"week_5" text
);
Question: what kind of Week 5 that has a Week 1 of mandy ashford?
<|assistant|>
SELECT "week_5" FROM "2004" ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2004" (
"week_1" text,
"week_2" text,
"week_3" text,
"week_4" text,
"week_5" text
);
Question: What kind of Week 2 that has a Week 1 of mandy ashford?
<|assistant|>
SELECT "week_2" FROM "2004" ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2004" (
"week_1" text,
"week_2" text,
"week_3" text,
"week_4" text,
"week_5" text
);
Question: What Week 2 that has a Week 1 of mackenzie ryan?
<|assistant|>
SELECT "week_2" FROM "2004" WHERE "... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "russia" (
"name" text,
"pos" text,
"height" text,
"weight" text,
"date_of_birth" text,
"club" text
);
Question: What is the name when weight shows head coach: Aleksandr Kabanov?
<|assistant|>... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "stations" (
"station_name" text,
"opening_year" text,
"municipality" text,
"park_and_ride_lot" text,
"free_fare_zone" text
);
Question: What is the park & ride lot for the Temple Square station... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "stations" (
"station_name" text,
"opening_year" text,
"municipality" text,
"park_and_ride_lot" text,
"free_fare_zone" text
);
Question: For the Temple Square station, what is the park & ride lo... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "stations" (
"station_name" text,
"opening_year" text,
"municipality" text,
"park_and_ride_lot" text,
"free_fare_zone" text
);
Question: Which station was opened in 2013, with no park & ride lot... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "stations" (
"station_name" text,
"opening_year" text,
"municipality" text,
"park_and_ride_lot" text,
"free_fare_zone" text
);
Question: Where is the free fare zone for the Arena station?
<|assi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "individual_single_game_records" (
"statistic" text,
"name" text,
"total" text,
"school" text,
"opponent" text,
"stage" text
);
Question: Calvin Abueva Calvin Abueva had what statistic?
<|assi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "individual_single_game_records" (
"statistic" text,
"name" text,
"total" text,
"school" text,
"opponent" text,
"stage" text
);
Question: When the opposing team was SSC-R what was the statisti... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "individual_single_game_records" (
"statistic" text,
"name" text,
"total" text,
"school" text,
"opponent" text,
"stage" text
);
Question: When SSC-R is the opponent what is the name?
<|assista... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "individual_single_game_records" (
"statistic" text,
"name" text,
"total" text,
"school" text,
"opponent" text,
"stage" text
);
Question: With a statistic of most points, what is the stage?
<|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "individual_single_game_records" (
"statistic" text,
"name" text,
"total" text,
"school" text,
"opponent" text,
"stage" text
);
Question: When the opposing team was CSB UPHDS what was the tota... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "individual_single_game_records" (
"statistic" text,
"name" text,
"total" text,
"school" text,
"opponent" text,
"stage" text
);
Question: Who had the statistic of most assists?
<|assistant|>
S... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "records" (
"event" text,
"time" text,
"swimmer" text,
"school" text,
"year" real
);
Question: What is Swimmer, when Year is less than 2011, and when Time is "53.06"?
<|assistant|>
SELECT "swimm... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "records" (
"event" text,
"time" text,
"swimmer" text,
"school" text,
"year" real
);
Question: What is School, when Event is "100 Backstroke"?
<|assistant|>
SELECT "school" FROM "records" WHERE ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "records" (
"event" text,
"time" text,
"swimmer" text,
"school" text,
"year" real
);
Question: What is School, when Year is less than 2013, and when Event is "100 Breaststroke"?
<|assistant|>
SE... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "records" (
"event" text,
"time" text,
"swimmer" text,
"school" text,
"year" real
);
Question: What is Time, when Year is greater than 2011, and when Event is "800 Freestyle Relay"?
<|assistant|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "records" (
"event" text,
"time" text,
"swimmer" text,
"school" text,
"year" real
);
Question: What is Year, when Time is "1:47.55"?
<|assistant|>
SELECT "year" FROM "records" WHERE "time"='1:47... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "singles_11_5_6" (
"outcome" text,
"date" text,
"tournament" text,
"surface" text,
"opponent_in_the_final" text,
"score_in_the_final" text
);
Question: What is the Surface of the match against... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "singles_11_5_6" (
"outcome" text,
"date" text,
"tournament" text,
"surface" text,
"opponent_in_the_final" text,
"score_in_the_final" text
);
Question: What is the Surface of the match with a ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "singles_11_5_6" (
"outcome" text,
"date" text,
"tournament" text,
"surface" text,
"opponent_in_the_final" text,
"score_in_the_final" text
);
Question: Who is the Opponent in the final of the ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "singles_11_5_6" (
"outcome" text,
"date" text,
"tournament" text,
"surface" text,
"opponent_in_the_final" text,
"score_in_the_final" text
);
Question: On what Date is the match played on Clay... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "draft_picks" (
"round" real,
"player" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team_league" text
);
Question: WHAT IS THE NHL TEAM OF FINLAND?
<|assistant|>
SELECT "nhl_t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "iraqi_air_force_strength_at_start_of_war" (
"aircraft" text,
"1990" real,
"destroyed" real,
"damaged" real,
"to_iran" real,
"survived" real
);
Question: What's the to Iran with fewer than 9 s... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "iraqi_air_force_strength_at_start_of_war" (
"aircraft" text,
"1990" real,
"destroyed" real,
"damaged" real,
"to_iran" real,
"survived" real
);
Question: What's the average destroyed with a 19... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "iraqi_air_force_strength_at_start_of_war" (
"aircraft" text,
"1990" real,
"destroyed" real,
"damaged" real,
"to_iran" real,
"survived" real
);
Question: What's the average survived with a to ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "replays" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"attendance" text
);
Question: What home team played when there was an attendance of 568?
<|assistant|>
SELECT "home_... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "replays" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"attendance" text
);
Question: What away team did Horsham play?
<|assistant|>
SELECT "away_team" FROM "replays" WHERE... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "replays" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"attendance" text
);
Question: What home team played Hinckley United?
<|assistant|>
SELECT "home_team" FROM "replays"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "complete_formula_one_results" (
"year" real,
"team_chassis" text,
"engine" text,
"tyres" text,
"pts" real
);
Question: How many points have an Engine of ferrari tipo 033 v6 tc, and a Year large... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "complete_formula_one_results" (
"year" real,
"team_chassis" text,
"engine" text,
"tyres" text,
"pts" real
);
Question: Which Team/Chassis has a Year larger than 1987?
<|assistant|>
SELECT "team... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "complete_formula_one_results" (
"year" real,
"team_chassis" text,
"engine" text,
"tyres" text,
"pts" real
);
Question: How many points have an Engine of ferrari tipo 033 v6 tc, and a Year small... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "complete_formula_one_results" (
"year" real,
"team_chassis" text,
"engine" text,
"tyres" text,
"pts" real
);
Question: Which Team/Chassis has less than 65 points?
<|assistant|>
SELECT "team_cha... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "third_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"date" text
);
Question: What is the score if the Tie no is 32?
<|assistant|>
SELECT "score" FROM "third_r... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "third_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"date" text
);
Question: What is the Tie no for Scunthorpe United?
<|assistant|>
SELECT "tie_no" FROM "thi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "third_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"date" text
);
Question: Which home team played against Stoke City?
<|assistant|>
SELECT "home_team" FROM ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "third_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"date" text
);
Question: Which away team has a Tie no of 14?
<|assistant|>
SELECT "away_team" FROM "third_... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "third_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"date" text
);
Question: On what date does Watford have a Tie no of 2?
<|assistant|>
SELECT "date" FROM "t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "ultra_low_voltage_processors" (
"model_number" text,
"clock_speed" text,
"l1_cache" text,
"l2_cache" text,
"fsb_speed" text,
"clock_multiplier" text,
"idle_power" text,
"socket" text,
"c... |
<|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 is the score of Player Tom Kite?
<|assistant|>
SELECT "score" FROM "third_round" WHERE ... |
<|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 is the To Par that has a 69-69-73=211 score?
<|assistant|>
SELECT "to_par" FROM "third_... |
<|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 is the Top that has a 66-71-66=203 score and a place of t1?
<|assistant|>
SELECT "to_pa... |
<|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 To Par of +1 with a score of 71-67-73=211?
<|assistant|>
SELECT "player" F... |
<|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: Which Player has a Score of 72-68-78-71=289?
<|assistant|>
SELECT "player" F... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "first_round" (
"place" text,
"player" text,
"country" text,
"score" real,
"to_par" text
);
Question: What is the Place for the 66 Score?
<|assistant|>
SELECT "place" FROM "first_round" WHERE "s... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "first_round" (
"place" text,
"player" text,
"country" text,
"score" real,
"to_par" text
);
Question: What Country has a 67 score by Phil Mickelson?
<|assistant|>
SELECT "country" FROM "first_ro... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2002" (
"week_1" text,
"week_2" text,
"week_3" text,
"week_4" text,
"week_5" text
);
Question: When Cathi O'Malley was featured in Week 3, who was the cyber girl for Week 5?
<|assistant|>
SELEC... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2002" (
"week_1" text,
"week_2" text,
"week_3" text,
"week_4" text,
"week_5" text
);
Question: When Star Zemba was featured in Week 3, who was the cyber girl for Week 2?
<|assistant|>
SELECT "w... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2002" (
"week_1" text,
"week_2" text,
"week_3" text,
"week_4" text,
"week_5" text
);
Question: When Heather Christensen was featured in Week 2, who was the cyber girl for Week 3?
<|assistant|>
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2002" (
"week_1" text,
"week_2" text,
"week_3" text,
"week_4" text,
"week_5" text
);
Question: When Audra Lynn was featured in Week 2, who was the cyber girl for Week 5?
<|assistant|>
SELECT "w... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "qualifying_round" (
"team_1" text,
"agg" text,
"team_2" text,
"1st_leg" text,
"2nd_leg" text
);
Question: What is Agg., when Team 1 is "Tirana"?
<|assistant|>
SELECT "agg" FROM "qualifying_roun... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "qualifying_round" (
"team_1" text,
"agg" text,
"team_2" text,
"1st_leg" text,
"2nd_leg" text
);
Question: What is 2nd Leg, when Team 2 is "Dunaferr"?
<|assistant|>
SELECT "2nd_leg" FROM "qualif... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "six_man_elimination_tag_team_match" (
"elimination" text,
"wrestler" text,
"eliminated_by" text,
"elimination_move" text,
"time" text
);
Question: What is the elimination number for the time 13... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "six_man_elimination_tag_team_match" (
"elimination" text,
"wrestler" text,
"eliminated_by" text,
"elimination_move" text,
"time" text
);
Question: What Elimination number is listed againt Elimi... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.