text stringlengths 310 1.28k |
|---|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"date" text,
"opponentnum" text,
"site" text,
"result" text,
"attendance" text
);
Question: What is the attendance when the result was w61-7?
<|assistant|>
SELECT "attendance" FROM ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "head_to_head" (
"team" text,
"miles_one_way" real,
"home_result" text,
"fans_brought" real,
"away_result" text,
"fans_took" text,
"points_gained" real
);
Question: What shows for miles [One... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "oldest_norwegian_person_by_region" (
"region" text,
"name" text,
"reported_birth_date" text,
"reported_death_date" text,
"reported_age" text
);
Question: what is the reported birth date when th... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "oldest_norwegian_person_by_region" (
"region" text,
"name" text,
"reported_birth_date" text,
"reported_death_date" text,
"reported_age" text
);
Question: what is the reported age when the repor... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "oldest_norwegian_person_by_region" (
"region" text,
"name" text,
"reported_birth_date" text,
"reported_death_date" text,
"reported_age" text
);
Question: what is the region when the reported ag... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "oldest_norwegian_person_by_region" (
"region" text,
"name" text,
"reported_birth_date" text,
"reported_death_date" text,
"reported_age" text
);
Question: what is the reported death date for lau... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "oldest_norwegian_person_by_region" (
"region" text,
"name" text,
"reported_birth_date" text,
"reported_death_date" text,
"reported_age" text
);
Question: Who has a reported age of 111 years, 66... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "oldest_norwegian_person_by_region" (
"region" text,
"name" text,
"reported_birth_date" text,
"reported_death_date" text,
"reported_age" text
);
Question: Who has a reported death of 6 march 199... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "general" (
"overall_ranking" text,
"lat_am_ranking" text,
"countries_surveyed" real,
"pct_rank" text,
"date" text
);
Question: Date for less than 122 countries and a 47% rank?
<|assistant|>
SEL... |
<|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 "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" real,
"time" text,
"location" text
);
Question: What was strikeforce: barnett... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "distribution_of_triples_with_q_1" (
"q_1" real,
"q_1_05" real,
"q_1_1" real,
"q_1_2" real,
"q_1_3" real,
"q_1_4" real
);
Question: What is the total q > 1.4 with a q > 1 less than 7,801,334, ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "distribution_of_triples_with_q_1" (
"q_1" real,
"q_1_05" real,
"q_1_1" real,
"q_1_2" real,
"q_1_3" real,
"q_1_4" real
);
Question: What is the sum of q > 1 when q > 1.05 is bigger than 18,233... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "distribution_of_triples_with_q_1" (
"q_1" real,
"q_1_05" real,
"q_1_1" real,
"q_1_2" real,
"q_1_3" real,
"q_1_4" real
);
Question: What is the mean q > 1 with a q > 1.2 less than 3,028, and a... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "distribution_of_triples_with_q_1" (
"q_1" real,
"q_1_05" real,
"q_1_1" real,
"q_1_2" real,
"q_1_3" real,
"q_1_4" real
);
Question: What is the total of q > 1.4 when q > 1.3 is 455, and q >1.2... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "lowest_scoring_matches" (
"total" real,
"score" text,
"winning_team" text,
"losing_team" text,
"venue" text,
"date" text
);
Question: Who was the losing team with a total of 24 when the winni... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "lowest_scoring_matches" (
"total" real,
"score" text,
"winning_team" text,
"losing_team" text,
"venue" text,
"date" text
);
Question: Which venue had a losing team of south sydney rabbitohs?
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "lowest_scoring_matches" (
"total" real,
"score" text,
"winning_team" text,
"losing_team" text,
"venue" text,
"date" text
);
Question: What day was the total smaller than 19 at Venue of anz st... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "port_trade" (
"year" real,
"imports_tonnes" real,
"exports_tonnes" real,
"total_trade_tonnes" real,
"vessels_entering_port" real
);
Question: What is the total number of Total trade (tonnes) wh... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "port_trade" (
"year" real,
"imports_tonnes" real,
"exports_tonnes" real,
"total_trade_tonnes" real,
"vessels_entering_port" real
);
Question: What is the sum of Total trade (tonnes) where the I... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "port_trade" (
"year" real,
"imports_tonnes" real,
"exports_tonnes" real,
"total_trade_tonnes" real,
"vessels_entering_port" real
);
Question: What is the highest Total trade (tonnes) after 2001... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"record" text,
"kickoff_time" text,
"attendance" text
);
Question: What was the Attendance before Week 17 with a Record... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"record" text,
"kickoff_time" text,
"attendance" text
);
Question: What is the Kickoff Time on January 7, 2002?
<|assis... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"record" text,
"kickoff_time" text,
"attendance" text
);
Question: What was the Opponent in the game with a Result of L... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"record" text,
"kickoff_time" text,
"attendance" text
);
Question: What was the Result of the game with an Attendance o... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "results" (
"year" real,
"date_held" text,
"winner" text,
"events_won_by_kcl" real,
"events_won_by_kclms" real
);
Question: Which event won by KCLMS in 2008 has KCLMS as the winner and less than... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "results" (
"year" real,
"date_held" text,
"winner" text,
"events_won_by_kcl" real,
"events_won_by_kclms" real
);
Question: How many years were the events won by KCLMS less than 7?
<|assistant|>... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "results" (
"year" real,
"date_held" text,
"winner" text,
"events_won_by_kcl" real,
"events_won_by_kclms" real
);
Question: What is the average value for events won by KCL in a year earlier than... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "during_the_season" (
"team" text,
"outgoing_manager" text,
"manner_of_departure" text,
"date_of_vacancy" text,
"replaced_by" text,
"date_of_appointment" text,
"position_in_table" text
);
Qu... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "during_the_season" (
"team" text,
"outgoing_manager" text,
"manner_of_departure" text,
"date_of_vacancy" text,
"replaced_by" text,
"date_of_appointment" text,
"position_in_table" text
);
Qu... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "during_the_season" (
"team" text,
"outgoing_manager" text,
"manner_of_departure" text,
"date_of_vacancy" text,
"replaced_by" text,
"date_of_appointment" text,
"position_in_table" text
);
Qu... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "during_the_season" (
"team" text,
"outgoing_manager" text,
"manner_of_departure" text,
"date_of_vacancy" text,
"replaced_by" text,
"date_of_appointment" text,
"position_in_table" text
);
Qu... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "race_results" (
"driver" text,
"team" text,
"laps" text,
"time_retired" text,
"grid" text,
"laps_led" text,
"points" text
);
Question: How many laps have 50 points?
<|assistant|>
SELECT "la... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "race_results" (
"driver" text,
"team" text,
"laps" text,
"time_retired" text,
"grid" text,
"laps_led" text,
"points" text
);
Question: What is the grid of team dreyer & reinbold racing, whi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "race_results" (
"driver" text,
"team" text,
"laps" text,
"time_retired" text,
"grid" text,
"laps_led" text,
"points" text
);
Question: How many points have 75 laps?
<|assistant|>
SELECT "po... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "race_results" (
"driver" text,
"team" text,
"laps" text,
"time_retired" text,
"grid" text,
"laps_led" text,
"points" text
);
Question: How many laps have 0 laps led and 13 points?
<|assista... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "race_results" (
"driver" text,
"team" text,
"laps" text,
"time_retired" text,
"grid" text,
"laps_led" text,
"points" text
);
Question: How many points have 88 laps and a grid of 14?
<|assis... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "race_results" (
"driver" text,
"team" text,
"laps" text,
"time_retired" text,
"grid" text,
"laps_led" text,
"points" text
);
Question: How many laps have a +0.4865 time/retired?
<|assistant... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "atv_missions" (
"designation" text,
"name" text,
"launch_date" text,
"iss_docking_date" text,
"deorbit_date" text
);
Question: When did the ATV that deorbited on 29 september 2008, launch?
<|as... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "atv_missions" (
"designation" text,
"name" text,
"launch_date" text,
"iss_docking_date" text,
"deorbit_date" text
);
Question: When did the atv-002 launch?
<|assistant|>
SELECT "launch_date" FR... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "atv_missions" (
"designation" text,
"name" text,
"launch_date" text,
"iss_docking_date" text,
"deorbit_date" text
);
Question: When did Edoardo Amaldi launch?
<|assistant|>
SELECT "launch_date"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "atv_missions" (
"designation" text,
"name" text,
"launch_date" text,
"iss_docking_date" text,
"deorbit_date" text
);
Question: When did the ATV that launched on 9 March 2008, deorbit?
<|assista... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "doubles_23_11_12" (
"outcome" text,
"date" text,
"surface" text,
"partner" text,
"opponents" text,
"score" text
);
Question: Who was the partner on the game which took place on a clay surface... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "doubles_23_11_12" (
"outcome" text,
"date" text,
"surface" text,
"partner" text,
"opponents" text,
"score" text
);
Question: Who were the opponent in the match on a clay surface that had a sc... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "by_seasons_and_teams" (
"season" text,
"races" real,
"wins" real,
"podiums" real,
"poles" real
);
Question: What is Season, when Races is less than 16?
<|assistant|>
SELECT "season" FROM "by_se... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "by_seasons_and_teams" (
"season" text,
"races" real,
"wins" real,
"podiums" real,
"poles" real
);
Question: What is the sum of Poles, when Podiums is 0, and when Races is 17?
<|assistant|>
SELE... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "by_seasons_and_teams" (
"season" text,
"races" real,
"wins" real,
"podiums" real,
"poles" real
);
Question: What is Poles, when Races is less than 16?
<|assistant|>
SELECT "poles" FROM "by_seas... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "by_seasons_and_teams" (
"season" text,
"races" real,
"wins" real,
"podiums" real,
"poles" real
);
Question: What is the lowest Races, when Podiums is greater than 1?
<|assistant|>
SELECT MIN("r... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" real
);
Question: How many people on average attended the game in week 14?
<|assistant|>
SELECT AVG("attendanc... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" real
);
Question: The game in week 11 has what result?
<|assistant|>
SELECT "result" FROM "schedule" WHERE "we... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" real
);
Question: For the game against the San Francisco 49ers what was the total attendance?
<|assistant|>
SE... |
<|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 Place that has a To standard of β1, and a Score of 71-68-76=215?
<|assistant|>
S... |
<|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 Player that has a To standard of β7?
<|assistant|>
SELECT "player" FROM "third_r... |
<|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 Player that has a To standard of β4?
<|assistant|>
SELECT "player" FROM "third_r... |
<|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 Player that has a To standard of β1, and a Score of 71-68-76=215?
<|assistant|>
... |
<|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 Player that has a To standard of β4?
<|assistant|>
SELECT "player" FROM "third_r... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "competition_timeline" (
"competition" text,
"1970_71" text,
"1971_72" text,
"1972_73" text,
"1973_74" text,
"1974_75" text,
"1975_76" text,
"1976_77" text,
"1977_78" text,
"1978_79" te... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "competition_timeline" (
"competition" text,
"1970_71" text,
"1971_72" text,
"1972_73" text,
"1973_74" text,
"1974_75" text,
"1975_76" text,
"1976_77" text,
"1977_78" text,
"1978_79" te... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "competition_timeline" (
"competition" text,
"1970_71" text,
"1971_72" text,
"1972_73" text,
"1973_74" text,
"1974_75" text,
"1975_76" text,
"1976_77" text,
"1977_78" text,
"1978_79" te... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "competition_timeline" (
"competition" text,
"1970_71" text,
"1971_72" text,
"1972_73" text,
"1973_74" text,
"1974_75" text,
"1975_76" text,
"1976_77" text,
"1977_78" text,
"1978_79" te... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "competition_timeline" (
"competition" text,
"1970_71" text,
"1971_72" text,
"1972_73" text,
"1973_74" text,
"1974_75" text,
"1975_76" text,
"1976_77" text,
"1977_78" text,
"1978_79" te... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "most_career_wickets" (
"rank" text,
"s_wicket" text,
"player" text,
"matches" text,
"average" text
);
Question: Which rank is 40 for s Wicket with a player of Daniel Marsh?
<|assistant|>
SELECT... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "most_career_wickets" (
"rank" text,
"s_wicket" text,
"player" text,
"matches" text,
"average" text
);
Question: Which rank has a s wicket at 40 and 28.42 is the average?
<|assistant|>
SELECT "r... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "most_career_wickets" (
"rank" text,
"s_wicket" text,
"player" text,
"matches" text,
"average" text
);
Question: Which value for s wicket is associated with Shaun Young?
<|assistant|>
SELECT "s_... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "most_career_wickets" (
"rank" text,
"s_wicket" text,
"player" text,
"matches" text,
"average" text
);
Question: Which player has a s wicket at 48?
<|assistant|>
SELECT "player" FROM "most_caree... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "most_career_wickets" (
"rank" text,
"s_wicket" text,
"player" text,
"matches" text,
"average" text
);
Question: What is the s wicket value associated with Shaun Young?
<|assistant|>
SELECT "s_w... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "game_log" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"record" text,
"points" real
);
Question: What is the date of the game where the NY Islanders are the home team?
<|assistan... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "game_log" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"record" text,
"points" real
);
Question: What is the score of the game where the NY Islanders are the home team?
<|assista... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "game_log" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"record" text,
"points" real
);
Question: Who was the home team on February 3?
<|assistant|>
SELECT "home" FROM "game_log" ... |
<|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 is the sum of Overall, when Round is less than 2... |
<|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 is the total number of Pick, when Position is OT... |
<|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 is the lowest Overall, when College is Hardin-Si... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "singles_21_10_titles_11_runner_ups" (
"outcome" text,
"date" text,
"tournament" text,
"surface" text,
"opponent" text,
"score" text
);
Question: What is the score of the tournament with youne... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "singles_21_10_titles_11_runner_ups" (
"outcome" text,
"date" text,
"tournament" text,
"surface" text,
"opponent" text,
"score" text
);
Question: What is the date of the tournament with carlos... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "singles_21_10_titles_11_runner_ups" (
"outcome" text,
"date" text,
"tournament" text,
"surface" text,
"opponent" text,
"score" text
);
Question: What is the tournament with greg rusedski as t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "singles_21_10_titles_11_runner_ups" (
"outcome" text,
"date" text,
"tournament" text,
"surface" text,
"opponent" text,
"score" text
);
Question: What is the surface on 26 May 1996?
<|assistan... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "top_goalscorers_by_season" (
"season" real,
"player" text,
"club" text,
"nationality" text,
"goals" real
);
Question: What club did united states player ty harden play for?
<|assistant|>
SELECT... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "top_goalscorers_by_season" (
"season" real,
"player" text,
"club" text,
"nationality" text,
"goals" real
);
Question: Which seaosn had a player of rohan ricketts?
<|assistant|>
SELECT COUNT("se... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "pool_2" (
"team" text,
"tries_for" text,
"tries_against" text,
"try_diff" text,
"points_for" text,
"points_against" text,
"points_diff" text
);
Question: What is Tries Against, when Points ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "pool_2" (
"team" text,
"tries_for" text,
"tries_against" text,
"try_diff" text,
"points_for" text,
"points_against" text,
"points_diff" text
);
Question: What is Tries Against, when Tries F... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "pool_2" (
"team" text,
"tries_for" text,
"tries_against" text,
"try_diff" text,
"points_for" text,
"points_against" text,
"points_diff" text
);
Question: What is Try Diff, when Points Diff ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "pool_2" (
"team" text,
"tries_for" text,
"tries_against" text,
"try_diff" text,
"points_for" text,
"points_against" text,
"points_diff" text
);
Question: What is Try Diff, when Points Again... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "pool_2" (
"team" text,
"tries_for" text,
"tries_against" text,
"try_diff" text,
"points_for" text,
"points_against" text,
"points_diff" text
);
Question: What is Tries Against, when Try Dif... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "archbishops" (
"archbishop" text,
"born" text,
"ordained_priest" text,
"ordained_bishop" text,
"appointed_archbishop" text,
"vacated_throne" text,
"died" text
);
Question: Which archbishop ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "archbishops" (
"archbishop" text,
"born" text,
"ordained_priest" text,
"ordained_bishop" text,
"appointed_archbishop" text,
"vacated_throne" text,
"died" text
);
Question: When did the arch... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "archbishops" (
"archbishop" text,
"born" text,
"ordained_priest" text,
"ordained_bishop" text,
"appointed_archbishop" text,
"vacated_throne" text,
"died" text
);
Question: When was the arch... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "archbishops" (
"archbishop" text,
"born" text,
"ordained_priest" text,
"ordained_bishop" text,
"appointed_archbishop" text,
"vacated_throne" text,
"died" text
);
Question: When did Archbish... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "archbishops" (
"archbishop" text,
"born" text,
"ordained_priest" text,
"ordained_bishop" text,
"appointed_archbishop" text,
"vacated_throne" text,
"died" text
);
Question: When was the arch... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "archbishops" (
"archbishop" text,
"born" text,
"ordained_priest" text,
"ordained_bishop" text,
"appointed_archbishop" text,
"vacated_throne" text,
"died" text
);
Question: When was the arch... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" text,
"time" text,
"location" text
);
Question: Which event was against Pat B... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "athletics" (
"athlete" text,
"event" text,
"100_h" real,
"200_m" real,
"800_m" text,
"final" real,
"rank" text
);
Question: What event is 200m larger than 922?
<|assistant|>
SELECT "event" ... |
<|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 Player has a Score of 71-71=142?
<|assistant|>
SELECT "player" FROM "second_round" WHE... |
<|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 of T9 Place Player Ernie Els?
<|assistant|>
SELECT "to_par" FROM "second... |
<|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 of the Player from South Africa?
<|assistant|>
SELECT "score" FROM "secon... |
<|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 Place of the Player with a Score of 70-71=141?
<|assistant|>
SELECT "place" FRO... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "pool_f" (
"date" text,
"time" text,
"score" text,
"set_1" text,
"set_2" text,
"set_3" text,
"total" text
);
Question: Which Date has a Set 1 of 25β20?
<|assistant|>
SELECT "date" FROM "pool... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "pool_f" (
"date" text,
"time" text,
"score" text,
"set_1" text,
"set_2" text,
"set_3" text,
"total" text
);
Question: Which Score has a Total of 80β72?
<|assistant|>
SELECT "score" FROM "po... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "pool_f" (
"date" text,
"time" text,
"score" text,
"set_1" text,
"set_2" text,
"set_3" text,
"total" text
);
Question: Which Date has a Set 1 of 21β25?
<|assistant|>
SELECT "date" FROM "pool... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "pool_f" (
"date" text,
"time" text,
"score" text,
"set_1" text,
"set_2" text,
"set_3" text,
"total" text
);
Question: Which Set 2 has a Set 3 of 25β20, and a Time of 13:45?
<|assistant|>
SE... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.