text stringlengths 310 1.28k |
|---|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "comparison_of_features" (
"name" text,
"wikis" text,
"web_publishing" text,
"calendaring_software" text,
"project_management" text,
"workflow_system" text,
"document_management" text,
"lis... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "targets" (
"hd_designation" text,
"constellation" text,
"distance_ly" real,
"spectral_type" text,
"signal_power_k_w" real,
"date_sent" text,
"arrival_date" text
);
Question: What is Constel... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "targets" (
"hd_designation" text,
"constellation" text,
"distance_ly" real,
"spectral_type" text,
"signal_power_k_w" real,
"date_sent" text,
"arrival_date" text
);
Question: What is Date, w... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "targets" (
"hd_designation" text,
"constellation" text,
"distance_ly" real,
"spectral_type" text,
"signal_power_k_w" real,
"date_sent" text,
"arrival_date" text
);
Question: What is the tot... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "targets" (
"hd_designation" text,
"constellation" text,
"distance_ly" real,
"spectral_type" text,
"signal_power_k_w" real,
"date_sent" text,
"arrival_date" text
);
Question: What is Date Se... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "targets" (
"hd_designation" text,
"constellation" text,
"distance_ly" real,
"spectral_type" text,
"signal_power_k_w" real,
"date_sent" text,
"arrival_date" text
);
Question: What is Constel... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "singles_7" (
"date" text,
"tournament" text,
"surface" text,
"opponent" text,
"score" text
);
Question: What date was the match against leonardo tavares with a score of 6–4, 6–4?
<|assistant|>
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "singles_7" (
"date" text,
"tournament" text,
"surface" text,
"opponent" text,
"score" text
);
Question: What date was the match against adrián menéndez-maceiras?
<|assistant|>
SELECT "date" FRO... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2009_ladder" (
"golden_rivers" text,
"wins" real,
"byes" real,
"losses" real,
"draws" real,
"against" real
);
Question: What is the highest number of wins for Quambatook when Against is less ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2009_ladder" (
"golden_rivers" text,
"wins" real,
"byes" real,
"losses" real,
"draws" real,
"against" real
);
Question: What is the total number of draws when there are fewer than 3 wins?
<|a... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2009_ladder" (
"golden_rivers" text,
"wins" real,
"byes" real,
"losses" real,
"draws" real,
"against" real
);
Question: What is the total number of draws for Wakool when there are more than 1... |
<|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" real
);
Question: Which Country has a Score of 69-74=143?
<|assistant|>
SELECT "country" FROM "second_round" ... |
<|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" real
);
Question: Which Player has a To Par smaller than 5, and a Score of 70-72=142?
<|assistant|>
SELECT "p... |
<|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" real
);
Question: What was Frank Moore's score?
<|assistant|>
SELECT "score" FROM "second_round" WHERE "playe... |
<|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,
"date" text
);
Question: What was the score of the game that home team birmingham city played?
<|assistan... |
<|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,
"date" text
);
Question: What date was the game when away team northampton town played?
<|assistant|>
SEL... |
<|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,
"date" text
);
Question: Who was the team who played home team woking?
<|assistant|>
SELECT "away_team" F... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "fc_bayern_munich_ii_versus_sp_vgg_unterh" (
"season" text,
"league" text,
"teams" text,
"home" text,
"away" text
);
Question: What is the home for the league 3rd liga (iii)?
<|assistant|>
SELEC... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "fc_bayern_munich_ii_versus_sp_vgg_unterh" (
"season" text,
"league" text,
"teams" text,
"home" text,
"away" text
);
Question: What is the home for league 3rd liga, and an away of 4-0?
<|assista... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "fc_bayern_munich_ii_versus_sp_vgg_unterh" (
"season" text,
"league" text,
"teams" text,
"home" text,
"away" text
);
Question: What is the home for the away of 4-0?
<|assistant|>
SELECT "home" F... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "fc_bayern_munich_ii_versus_sp_vgg_unterh" (
"season" text,
"league" text,
"teams" text,
"home" text,
"away" text
);
Question: What season has a league 3rd liga, and away of 1-0?
<|assistant|>
S... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "fc_bayern_munich_ii_versus_sp_vgg_unterh" (
"season" text,
"league" text,
"teams" text,
"home" text,
"away" text
);
Question: What is the home with a league 3rd liga, and an away of 4-0?
<|assi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "fc_bayern_munich_ii_versus_sp_vgg_unterh" (
"season" text,
"league" text,
"teams" text,
"home" text,
"away" text
);
Question: What team has a season of 2009-10?
<|assistant|>
SELECT "teams" FRO... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "group_i" (
"position" real,
"club" text,
"played" real,
"points" real,
"wins" real,
"draws" real,
"losses" real,
"goals_for" real,
"goals_against" real,
"goal_difference" real
);
Ques... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "group_i" (
"position" real,
"club" text,
"played" real,
"points" real,
"wins" real,
"draws" real,
"losses" real,
"goals_for" real,
"goals_against" real,
"goal_difference" real
);
Ques... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "group_i" (
"position" real,
"club" text,
"played" real,
"points" real,
"wins" real,
"draws" real,
"losses" real,
"goals_for" real,
"goals_against" real,
"goal_difference" real
);
Ques... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "group_i" (
"position" real,
"club" text,
"played" real,
"points" real,
"wins" real,
"draws" real,
"losses" real,
"goals_for" real,
"goals_against" real,
"goal_difference" real
);
Ques... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "group_i" (
"position" real,
"club" text,
"played" real,
"points" real,
"wins" real,
"draws" real,
"losses" real,
"goals_for" real,
"goals_against" real,
"goal_difference" real
);
Ques... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2011" (
"week_1" text,
"week_2" text,
"week_3" text,
"week_4" text,
"week_5" text
);
Question: What is the week 3, prior to the when the week 4 was Laura Nicole?
<|assistant|>
SELECT "week_4" F... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2011" (
"week_1" text,
"week_2" text,
"week_3" text,
"week_4" text,
"week_5" text
);
Question: What was the week 2 prior to the when Miranda Jordan was the week 4?
<|assistant|>
SELECT "week_2"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2011" (
"week_1" text,
"week_2" text,
"week_3" text,
"week_4" text,
"week_5" text
);
Question: What was the week 2 prior to the when Brittany Alyse was week 3?
<|assistant|>
SELECT "week_2" FRO... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2011" (
"week_1" text,
"week_2" text,
"week_3" text,
"week_4" text,
"week_5" text
);
Question: What is the week 5 after Dani Dior as week 1?
<|assistant|>
SELECT "week_5" FROM "2011" WHERE "wee... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2011" (
"week_1" text,
"week_2" text,
"week_3" text,
"week_4" text,
"week_5" text
);
Question: What was the week 2 before Lara Leverence was week 3?
<|assistant|>
SELECT "week_2" FROM "2011" WH... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "medals_table" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
);
Question: What is the total number of bronzes that is less than 1 in total?
<|assistant|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "medals_table" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
);
Question: What is the total number of bronze that has less than 2 gold, and more than 1 ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "medals_table" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
);
Question: What is the lowest rank with less than 1 gold, 0 silver, 1 bronze, and a total... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "medals_table" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
);
Question: What is the average bronze for less than 0 gold?
<|assistant|>
SELECT AVG("bro... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "medals_table" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
);
Question: What is the total number for less than 8 bronze, the Netherlands nation, and i... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "undergraduate_chapters_associate_chapter" (
"greek_designation" text,
"collegiate_institution" text,
"charter_date" text,
"status" text,
"city" text,
"u_s_state_district" text
);
Question: Wh... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "undergraduate_chapters_associate_chapter" (
"greek_designation" text,
"collegiate_institution" text,
"charter_date" text,
"status" text,
"city" text,
"u_s_state_district" text
);
Question: Wh... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "undergraduate_chapters_associate_chapter" (
"greek_designation" text,
"collegiate_institution" text,
"charter_date" text,
"status" text,
"city" text,
"u_s_state_district" text
);
Question: Wh... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "undergraduate_chapters_associate_chapter" (
"greek_designation" text,
"collegiate_institution" text,
"charter_date" text,
"status" text,
"city" text,
"u_s_state_district" text
);
Question: Wh... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "undergraduate_chapters_associate_chapter" (
"greek_designation" text,
"collegiate_institution" text,
"charter_date" text,
"status" text,
"city" text,
"u_s_state_district" text
);
Question: Wh... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "undergraduate_chapters_associate_chapter" (
"greek_designation" text,
"collegiate_institution" text,
"charter_date" text,
"status" text,
"city" text,
"u_s_state_district" text
);
Question: Wh... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "individual_hoop" (
"place" real,
"name" text,
"all_around" real,
"hoop" real,
"total" real
);
Question: What is the smallest all around when the total is 19.85 and the hoop is less than 9.85?
<... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "individual_hoop" (
"place" real,
"name" text,
"all_around" real,
"hoop" real,
"total" real
);
Question: What is the average hoop when the all around is less than 9.7?
<|assistant|>
SELECT AVG("... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "georgia_counties_ranked_by_per_capita_in" (
"county" text,
"per_capita_income" text,
"median_household_income" text,
"median_family_income" text,
"population" real,
"number_of_households" real... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "georgia_counties_ranked_by_per_capita_in" (
"county" text,
"per_capita_income" text,
"median_household_income" text,
"median_family_income" text,
"population" real,
"number_of_households" real... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "georgia_counties_ranked_by_per_capita_in" (
"county" text,
"per_capita_income" text,
"median_household_income" text,
"median_family_income" text,
"population" real,
"number_of_households" real... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "georgia_counties_ranked_by_per_capita_in" (
"county" text,
"per_capita_income" text,
"median_household_income" text,
"median_family_income" text,
"population" real,
"number_of_households" real... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "georgia_counties_ranked_by_per_capita_in" (
"county" text,
"per_capita_income" text,
"median_household_income" text,
"median_family_income" text,
"population" real,
"number_of_households" real... |
<|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 Place, when Score is "70-68=138", and when Player is "Andrew Magee"?
<|assistant|>
... |
<|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 To par, when Place is "T5", and when Score is "70-68=138"?
<|assistant|>
SELECT "to... |
<|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 Score, when Place is "T5", when Country is "United States", and when Player is "Dav... |
<|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 Player, when Country is "United States", when Place is "T10", and when Score is "68... |
<|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 Score, when Player is "Vijay Singh"?
<|assistant|>
SELECT "score" FROM "second_roun... |
<|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: Which Player has a To par of –2, and a Country of wales?
<|assistant|>
SELECT "player" FROM ... |
<|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: Which Score has a To par of –3, and a Player of santiago luna?
<|assistant|>
SELECT "score" ... |
<|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: Which Player has a Score of 67 in united states?
<|assistant|>
SELECT "player" FROM "first_r... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "wins_50" (
"outcome" text,
"date" text,
"tournament" text,
"surface" text,
"partner" text,
"opponents_in_the_final" text,
"score_in_the_final" text
);
Question: What are the Opponents at th... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "singles_2_8" (
"outcome" text,
"date" text,
"tournament" text,
"surface" text,
"opponent" text,
"score" text
);
Question: What was the outcome of the August 20, 2007 match?
<|assistant|>
SELE... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "singles_2_8" (
"outcome" text,
"date" text,
"tournament" text,
"surface" text,
"opponent" text,
"score" text
);
Question: What was the score in the August 20, 2007 match?
<|assistant|>
SELECT... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "singles_2_8" (
"outcome" text,
"date" text,
"tournament" text,
"surface" text,
"opponent" text,
"score" text
);
Question: Which tournament was held on July 13, 2008?
<|assistant|>
SELECT "tou... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "singles_2_8" (
"outcome" text,
"date" text,
"tournament" text,
"surface" text,
"opponent" text,
"score" text
);
Question: Who was the opponent in the September 20, 2010 match?
<|assistant|>
S... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "singles_2_8" (
"outcome" text,
"date" text,
"tournament" text,
"surface" text,
"opponent" text,
"score" text
);
Question: What date was the Izmir Cup in which İlhan played against Somdev Devv... |
<|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 years did Tom Lehman win?
<|assistant|>
SELECT "year_s_won" FROM "missed_the_cu... |
<|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 was the total To Par for the winner in 1995?
<|assistant|>
SELECT COUNT("to_par... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "achievements" (
"year" real,
"competition" text,
"venue" text,
"position" text,
"event" text
);
Question: How many years had a 100 m hurdles event at the world championships in Osaka, Japan?
<|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "achievements" (
"year" real,
"competition" text,
"venue" text,
"position" text,
"event" text
);
Question: What was the position of the event held in Valencia, Spain?
<|assistant|>
SELECT "posit... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "achievements" (
"year" real,
"competition" text,
"venue" text,
"position" text,
"event" text
);
Question: What was the earliest year that an event held in Berlin, Germany had a 100 m hurdles ev... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "achievements" (
"year" real,
"competition" text,
"venue" text,
"position" text,
"event" text
);
Question: What even was held in Valencia, Spain?
<|assistant|>
SELECT "event" FROM "achievements"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "pre_season_and_friendlies" (
"date" text,
"time" text,
"competition" text,
"opponent" text,
"ground" text,
"score" text
);
Question: What is the time of the tim trophy competition where juven... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "pre_season_and_friendlies" (
"date" text,
"time" text,
"competition" text,
"opponent" text,
"ground" text,
"score" text
);
Question: What is the competition on 15 August 2008?
<|assistant|>
S... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "pre_season_and_friendlies" (
"date" text,
"time" text,
"competition" text,
"opponent" text,
"ground" text,
"score" text
);
Question: What is the score of the friendly match competition on 24 ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "pre_season_and_friendlies" (
"date" text,
"time" text,
"competition" text,
"opponent" text,
"ground" text,
"score" text
);
Question: What is the ground of the tim trophy competition, which ha... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "pre_season_and_friendlies" (
"date" text,
"time" text,
"competition" text,
"opponent" text,
"ground" text,
"score" text
);
Question: What competition is at 23:00 cet?
<|assistant|>
SELECT "co... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "singles_14_12_2" (
"outcome" text,
"date" text,
"tournament" text,
"surface" text,
"opponent_in_the_final" text,
"score_in_the_final" text
);
Question: What is the outcome on March 20, 1994?
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "singles_14_12_2" (
"outcome" text,
"date" text,
"tournament" text,
"surface" text,
"opponent_in_the_final" text,
"score_in_the_final" text
);
Question: What tournament had a hard surface on F... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "singles_14_12_2" (
"outcome" text,
"date" text,
"tournament" text,
"surface" text,
"opponent_in_the_final" text,
"score_in_the_final" text
);
Question: What is the score in the final with a h... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "singles_14_12_2" (
"outcome" text,
"date" text,
"tournament" text,
"surface" text,
"opponent_in_the_final" text,
"score_in_the_final" text
);
Question: What is the total outcome for the clay ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "aerial_victories" (
"date" text,
"unit" real,
"aircraft" text,
"opponent" text,
"location" text
);
Question: What aircraft is located at S of Avion?
<|assistant|>
SELECT "aircraft" FROM "aerial... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "aerial_victories" (
"date" text,
"unit" real,
"aircraft" text,
"opponent" text,
"location" text
);
Question: What is the Unit for the Aircraft F.e.2b, located in Logeast?
<|assistant|>
SELECT S... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "westmorland_county_new_brunswick" (
"official_name" text,
"status" text,
"area_km_2" real,
"population" real,
"census_ranking" text
);
Question: What is the name of the place that has a census ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "westmorland_county_new_brunswick" (
"official_name" text,
"status" text,
"area_km_2" real,
"population" real,
"census_ranking" text
);
Question: How large, in square kilometers, is Sackville?
<... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "westmorland_county_new_brunswick" (
"official_name" text,
"status" text,
"area_km_2" real,
"population" real,
"census_ranking" text
);
Question: What is the name(s) of the place(s) with a popul... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "regular_season" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"record" text,
"arena" text,
"points" real
);
Question: What score has 33 as the points?
<|as... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "regular_season" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"record" text,
"arena" text,
"points" real
);
Question: What date has joe louis arena as the ... |
<|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 competition was played on 2 June 1992?
<|assistant|>
SELECT "competition" FRO... |
<|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 date was a friendly match played that ended in a 3-0 score?
<|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 was the score of the match played on 5 September 2001?
<|assistant|>
SELECT "... |
<|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: In what stadium was the friendly match on 2 June 1992 played in?
<|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 was the score of the 1998 FIFA World Cup qualification competition?
<|assista... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "club_representative_appearances" (
"date" text,
"nationality_opponent" text,
"ground" text,
"result" text,
"competition" text
);
Question: Name the Date has a Competition of welsh rugby union c... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "club_representative_appearances" (
"date" text,
"nationality_opponent" text,
"ground" text,
"result" text,
"competition" text
);
Question: Name the Result of new zealand Nationality / Opponent?... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "club_representative_appearances" (
"date" text,
"nationality_opponent" text,
"ground" text,
"result" text,
"competition" text
);
Question: Name Nationality / Opponent on 10 january 1998?
<|assi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "club_representative_appearances" (
"date" text,
"nationality_opponent" text,
"ground" text,
"result" text,
"competition" text
);
Question: Name The Ground on 18 january 1998?
<|assistant|>
SELE... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "club_representative_appearances" (
"date" text,
"nationality_opponent" text,
"ground" text,
"result" text,
"competition" text
);
Question: Name the Nationality / Opponent of the Competition of ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "club_representative_appearances" (
"date" text,
"nationality_opponent" text,
"ground" text,
"result" text,
"competition" text
);
Question: Name the Nationality / Opponent of rosario?
<|assistan... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "matches" (
"team_1" text,
"agg" text,
"team_2" text,
"1st_leg" text,
"2nd_leg" text
);
Question: What team 1 has a team 2 of universidad nacional?
<|assistant|>
SELECT "team_1" FROM "matches" W... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "matches" (
"team_1" text,
"agg" text,
"team_2" text,
"1st_leg" text,
"2nd_leg" text
);
Question: What team 2 has a team 1 of harbour view?
<|assistant|>
SELECT "team_2" FROM "matches" WHERE "te... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.