text stringlengths 310 1.28k |
|---|
<|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: What was the result of the game on November 6, 1988?
<|assistant|>
SELECT "result" FROM "sch... |
<|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: What was the date of the game against the Los Angeles Rams?
<|assistant|>
SELECT "date" FROM... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "results_pool_d" (
"date" text,
"score" text,
"set_1" text,
"set_2" text,
"set_3" text,
"set_4" text,
"set_5" text,
"total" text
);
Question: What is the total with a 25-19 set 2 on Jun 17... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "results_pool_d" (
"date" text,
"score" text,
"set_1" text,
"set_2" text,
"set_3" text,
"set_4" text,
"set_5" text,
"total" text
);
Question: What is the set 4 with a 2-3 score?
<|assistan... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "results_pool_d" (
"date" text,
"score" text,
"set_1" text,
"set_2" text,
"set_3" text,
"set_4" text,
"set_5" text,
"total" text
);
Question: What is the set 5 with a 19-25 set 1?
<|assist... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "results_pool_d" (
"date" text,
"score" text,
"set_1" text,
"set_2" text,
"set_3" text,
"set_4" text,
"set_5" text,
"total" text
);
Question: What is the set 1 with a 28-30 set 4?
<|assist... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "giovanni_hern_ndez_international_goals" (
"goal" real,
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
);
Question: What is the result when there's less than 2 goal... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "giovanni_hern_ndez_international_goals" (
"goal" real,
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
);
Question: What is the score when there are less than 2 goa... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_united_states_national_ice_hocke" (
"position" text,
"jersey_num" real,
"name" text,
"height_cm" real,
"weight_kg" real,
"birthdate" text,
"birthplace" text,
"2009_2010_team" text
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_united_states_national_ice_hocke" (
"position" text,
"jersey_num" real,
"name" text,
"height_cm" real,
"weight_kg" real,
"birthdate" text,
"birthplace" text,
"2009_2010_team" text
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "campeonato_paulista" (
"position" real,
"team" text,
"points" real,
"played" real,
"drawn" real,
"lost" real,
"against" real,
"difference" text
);
Question: How many points on average had... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "victories_by_nationality" (
"country" text,
"men_s_race" real,
"women_s_race" real,
"men_s_wheelchair" real,
"women_s_wheelchair" real,
"total" real
);
Question: What's the highest Total when... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "victories_by_nationality" (
"country" text,
"men_s_race" real,
"women_s_race" real,
"men_s_wheelchair" real,
"women_s_wheelchair" real,
"total" real
);
Question: What's the average men's whee... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "victories_by_nationality" (
"country" text,
"men_s_race" real,
"women_s_race" real,
"men_s_wheelchair" real,
"women_s_wheelchair" real,
"total" real
);
Question: When the Country is Mexico, W... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "victories_by_nationality" (
"country" text,
"men_s_race" real,
"women_s_race" real,
"men_s_wheelchair" real,
"women_s_wheelchair" real,
"total" real
);
Question: What's the sum of Men's race ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "victories_by_nationality" (
"country" text,
"men_s_race" real,
"women_s_race" real,
"men_s_wheelchair" real,
"women_s_wheelchair" real,
"total" real
);
Question: What's the average Women's Wh... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"date" text,
"opponent" text,
"location" text,
"result" text,
"attendance" real
);
Question: What was the lowest Attendance when the Opponent was Maryland?
<|assistant|>
SELECT MIN(... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "international_versions" (
"country" text,
"local_name" text,
"host" text,
"network" text,
"date_premiered" text
);
Question: Which Network has a Local name of moj tata je bolji od tvog tate?
<|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "international_versions" (
"country" text,
"local_name" text,
"host" text,
"network" text,
"date_premiered" text
);
Question: Which Country has a Network of channel 1?
<|assistant|>
SELECT "coun... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "international_versions" (
"country" text,
"local_name" text,
"host" text,
"network" text,
"date_premiered" text
);
Question: Which Country has a Network of nelonen?
<|assistant|>
SELECT "countr... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "international_versions" (
"country" text,
"local_name" text,
"host" text,
"network" text,
"date_premiered" text
);
Question: Which Local name has a Network of nova tv?
<|assistant|>
SELECT "loc... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "international_versions" (
"country" text,
"local_name" text,
"host" text,
"network" text,
"date_premiered" text
);
Question: Which Local name has a Network of tvn?
<|assistant|>
SELECT "local_n... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "international_versions" (
"country" text,
"local_name" text,
"host" text,
"network" text,
"date_premiered" text
);
Question: Which Country has a Host of miguel esteban?
<|assistant|>
SELECT "co... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "text" (
"chapter" real,
"chinese" text,
"pinyin" text,
"english_translation" text,
"articles" real
);
Question: Can you tell me the lowest Chapter that has the Pinyin of dehua, and the Articles... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "text" (
"chapter" real,
"chinese" text,
"pinyin" text,
"english_translation" text,
"articles" real
);
Question: Can you tell me the average Chapter that has Articles smaller than 15?
<|assistan... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "text" (
"chapter" real,
"chinese" text,
"pinyin" text,
"english_translation" text,
"articles" real
);
Question: Can you tell me the Chinese that has the Chapter larger than 4, and the English T... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "text" (
"chapter" real,
"chinese" text,
"pinyin" text,
"english_translation" text,
"articles" real
);
Question: Can you tell me the English Translation that has the Articles of 24?
<|assistant|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "destinations" (
"city" text,
"country" text,
"iata" text,
"icao" text,
"airport" text
);
Question: What shows for ICAO when the IATA is sin?
<|assistant|>
SELECT "icao" FROM "destinations" WHER... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "destinations" (
"city" text,
"country" text,
"iata" text,
"icao" text,
"airport" text
);
Question: What is the IATA when France was the country, and the ICAO was lfrn?
<|assistant|>
SELECT "iat... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "destinations" (
"city" text,
"country" text,
"iata" text,
"icao" text,
"airport" text
);
Question: What is the Airport when France was the country, and Montpellier was the city?
<|assistant|>
S... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "destinations" (
"city" text,
"country" text,
"iata" text,
"icao" text,
"airport" text
);
Question: What is the ICAO for luqa airport?
<|assistant|>
SELECT "icao" FROM "destinations" WHERE "airp... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "destinations" (
"city" text,
"country" text,
"iata" text,
"icao" text,
"airport" text
);
Question: What is the Airport for New York City?
<|assistant|>
SELECT "airport" FROM "destinations" WHER... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "destinations" (
"city" text,
"country" text,
"iata" text,
"icao" text,
"airport" text
);
Question: What is the Country when the IATA was osl?
<|assistant|>
SELECT "country" FROM "destinations" ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "year_by_year" (
"year" real,
"division" text,
"league" text,
"regular_season" text,
"playoffs" text,
"open_cup" text
);
Question: Which Division has a Year larger than 1996,a Regular Season o... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "year_by_year" (
"year" real,
"division" text,
"league" text,
"regular_season" text,
"playoffs" text,
"open_cup" text
);
Question: Which League that has a Open Cup of 1st round, and a Year of ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "year_by_year" (
"year" real,
"division" text,
"league" text,
"regular_season" text,
"playoffs" text,
"open_cup" text
);
Question: Which Playoffs has a Division of 2 and a Regular Season of 4t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2007_results" (
"club" text,
"wins" real,
"loses" real,
"points_for" real,
"points_against" real,
"percentage" text,
"points" real
);
Question: What are the least amount of points that have... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2007_results" (
"club" text,
"wins" real,
"loses" real,
"points_for" real,
"points_against" real,
"percentage" text,
"points" real
);
Question: What are the highest losses that have points ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2007_results" (
"club" text,
"wins" real,
"loses" real,
"points_for" real,
"points_against" real,
"percentage" text,
"points" real
);
Question: What club has losses greater than 1, 4 for th... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2007_results" (
"club" text,
"wins" real,
"loses" real,
"points_for" real,
"points_against" real,
"percentage" text,
"points" real
);
Question: How many losses have points against greater t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2007_results" (
"club" text,
"wins" real,
"loses" real,
"points_for" real,
"points_against" real,
"percentage" text,
"points" real
);
Question: What losses have points for less than 1175, w... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "side_two" (
"track" real,
"recorded" text,
"catalogue" text,
"release_date" text,
"song_title" text,
"writer_s" text,
"time" text
);
Question: What's the smallest track written by dennis li... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "side_two" (
"track" real,
"recorded" text,
"catalogue" text,
"release_date" text,
"song_title" text,
"writer_s" text,
"time" text
);
Question: How long is the song titled burning love?
<|as... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "side_two" (
"track" real,
"recorded" text,
"catalogue" text,
"release_date" text,
"song_title" text,
"writer_s" text,
"time" text
);
Question: When was the song titled if you talk in your s... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "televised_era" (
"year" real,
"venue" text,
"city" text,
"state" text,
"host" text
);
Question: What is the city that is located in California when the year is greater than 2009?
<|assistant|>
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "televised_era" (
"year" real,
"venue" text,
"city" text,
"state" text,
"host" text
);
Question: What is the host in a year greater than 1989 and when the venue is the Staples Center located in ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "televised_era" (
"year" real,
"venue" text,
"city" text,
"state" text,
"host" text
);
Question: What is the venue in 2011, when the state is California?
<|assistant|>
SELECT "venue" FROM "telev... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "arkansas_stakes" (
"stake" text,
"organized" text,
"wards_branches_in_arkansas" real,
"stake_president" text,
"occupation" text
);
Question: What is the wards/branches of the fort smith Arkansa... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "arkansas_stakes" (
"stake" text,
"organized" text,
"wards_branches_in_arkansas" real,
"stake_president" text,
"occupation" text
);
Question: What stake has realtor for American equity realty as... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "arkansas_stakes" (
"stake" text,
"organized" text,
"wards_branches_in_arkansas" real,
"stake_president" text,
"occupation" text
);
Question: What is the organized date of the stake with an occu... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "arkansas_stakes" (
"stake" text,
"organized" text,
"wards_branches_in_arkansas" real,
"stake_president" text,
"occupation" text
);
Question: What is the sum of the wards/branches in Arkansas of... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "arkansas_stakes" (
"stake" text,
"organized" text,
"wards_branches_in_arkansas" real,
"stake_president" text,
"occupation" text
);
Question: What stake has 16 wards/branches in Arkansas?
<|assi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list" (
"ring_name" text,
"current_rank" text,
"debut" text,
"stable" text,
"birthplace" text
);
Question: What is Stable, when Current Rank is F1 Jūryō 14 West?
<|assistant|>
SELECT "stable" F... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list" (
"ring_name" text,
"current_rank" text,
"debut" text,
"stable" text,
"birthplace" text
);
Question: What is Ring Name, when Current Rank is E0 Maegashira 9 West?
<|assistant|>
SELECT "ri... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list" (
"ring_name" text,
"current_rank" text,
"debut" text,
"stable" text,
"birthplace" text
);
Question: What is Birthplace, when Ring Name is Masunoyama Tomoharu?
<|assistant|>
SELECT "birth... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list" (
"ring_name" text,
"current_rank" text,
"debut" text,
"stable" text,
"birthplace" text
);
Question: What is Current Rank, when Ring Name is Tamaasuka Daisuke?
<|assistant|>
SELECT "curre... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list" (
"ring_name" text,
"current_rank" text,
"debut" text,
"stable" text,
"birthplace" text
);
Question: What is Ring Name, when Stable is Kasugano, and when Birthplace is Z Mtskheta , Georgi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list" (
"ring_name" text,
"current_rank" text,
"debut" text,
"stable" text,
"birthplace" text
);
Question: What is Current Rank, when Ring Name is Kimurayama Mamoru?
<|assistant|>
SELECT "curre... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "1984" (
"date" text,
"cover_model" text,
"centerfold_model" text,
"interview_subject" text,
"pictorials" text
);
Question: Who was the Interview Subject on the Date when there were Pictorials o... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "1984" (
"date" text,
"cover_model" text,
"centerfold_model" text,
"interview_subject" text,
"pictorials" text
);
Question: In the issue in which the Interview subject was Jesse Jackson, who wer... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "1984" (
"date" text,
"cover_model" text,
"centerfold_model" text,
"interview_subject" text,
"pictorials" text
);
Question: Who was the Centerfold model in the issue in which the Interview subje... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "1984" (
"date" text,
"cover_model" text,
"centerfold_model" text,
"interview_subject" text,
"pictorials" text
);
Question: Who was the Centerfold model in the issue in which the Interview subje... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "1984" (
"date" text,
"cover_model" text,
"centerfold_model" text,
"interview_subject" text,
"pictorials" text
);
Question: Who was the Cover model in the issue in which the Interview subject wa... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "race_calendar" (
"round" real,
"location" text,
"circuit" text,
"date" text,
"winning_driver" text,
"winning_team" text
);
Question: Which date has a round more than 9?
<|assistant|>
SELECT "... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "race_calendar" (
"round" real,
"location" text,
"circuit" text,
"date" text,
"winning_driver" text,
"winning_team" text
);
Question: Who is the driver that one for the winning tpc team qi-mer... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "track_records" (
"sport" text,
"record" text,
"athlete_s" text,
"nation" text,
"date" text,
"time" real
);
Question: What is the time of 12 December 2009 with record start?
<|assistant|>
SELE... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "track_records" (
"sport" text,
"record" text,
"athlete_s" text,
"nation" text,
"date" text,
"time" real
);
Question: What is Elizabeth Yarnold's nation?
<|assistant|>
SELECT "nation" FROM "tr... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "newly_named_pterosaurs" (
"name" text,
"status" text,
"authors" text,
"unit" text,
"location" text
);
Question: What country is the Jiufotang Formation located in?
<|assistant|>
SELECT "locatio... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "newly_named_pterosaurs" (
"name" text,
"status" text,
"authors" text,
"unit" text,
"location" text
);
Question: Which author is located in Mexico?
<|assistant|>
SELECT "authors" FROM "newly_nam... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "newly_named_pterosaurs" (
"name" text,
"status" text,
"authors" text,
"unit" text,
"location" text
);
Question: Where is wang li duan cheng located?
<|assistant|>
SELECT "location" FROM "newly_... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "newly_named_pterosaurs" (
"name" text,
"status" text,
"authors" text,
"unit" text,
"location" text
);
Question: What is the status of the pterosaur named Cathayopterus?
<|assistant|>
SELECT "st... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "b" (
"player" text,
"nationality" text,
"position" text,
"years_in_orlando" text,
"school_club_team" text
);
Question: Which Years in Orlando has a School/Club Team of texas tech?
<|assistant|>... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "b" (
"player" text,
"nationality" text,
"position" text,
"years_in_orlando" text,
"school_club_team" text
);
Question: Which Nationality has a Player of keith bogans, and a Years in Orlando of ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "b" (
"player" text,
"nationality" text,
"position" text,
"years_in_orlando" text,
"school_club_team" text
);
Question: What is Pat Burke's Nationality?
<|assistant|>
SELECT "nationality" FROM "... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "b" (
"player" text,
"nationality" text,
"position" text,
"years_in_orlando" text,
"school_club_team" text
);
Question: Which School/Club Team has a Player of michael bradley?
<|assistant|>
SELE... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "b" (
"player" text,
"nationality" text,
"position" text,
"years_in_orlando" text,
"school_club_team" text
);
Question: Which Years in Orlando has a School/Club Team of kentucky?
<|assistant|>
S... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "b" (
"player" text,
"nationality" text,
"position" text,
"years_in_orlando" text,
"school_club_team" text
);
Question: Which School/Club Team has a Player of jud buechler?
<|assistant|>
SELECT ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "24_hours_of_le_mans_results" (
"year" real,
"team" text,
"co_drivers" text,
"class" text,
"laps" real,
"pos" text,
"class_pos" text
);
Question: What is the position for years under 1999?
<... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "24_hours_of_le_mans_results" (
"year" real,
"team" text,
"co_drivers" text,
"class" text,
"laps" real,
"pos" text,
"class_pos" text
);
Question: What is the average year for Team Oreca?
<|a... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "24_hours_of_le_mans_results" (
"year" real,
"team" text,
"co_drivers" text,
"class" text,
"laps" real,
"pos" text,
"class_pos" text
);
Question: Which team had a class position of 5th?
<|as... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "24_hours_of_le_mans_results" (
"year" real,
"team" text,
"co_drivers" text,
"class" text,
"laps" real,
"pos" text,
"class_pos" text
);
Question: What is the class having a year under 2010 a... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "campeonato_paulista" (
"position" real,
"team" text,
"points" real,
"played" real,
"drawn" real,
"lost" real,
"against" real,
"difference" text
);
Question: Which Position has an Against ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "campeonato_paulista" (
"position" real,
"team" text,
"points" real,
"played" real,
"drawn" real,
"lost" real,
"against" real,
"difference" text
);
Question: Which Lost has an Against of 4... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "championships" (
"championship" text,
"current_champion_s" text,
"previous_champion_s" text,
"date_won" text,
"location" text
);
Question: In which championship had a previous champion of "defe... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "championships" (
"championship" text,
"current_champion_s" text,
"previous_champion_s" text,
"date_won" text,
"location" text
);
Question: Which location had previous champions of Mike Webb and... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "championships" (
"championship" text,
"current_champion_s" text,
"previous_champion_s" text,
"date_won" text,
"location" text
);
Question: Who were the previous champions from the event won on ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "championships" (
"championship" text,
"current_champion_s" text,
"previous_champion_s" text,
"date_won" text,
"location" text
);
Question: Who is the current champion for the event in Beverly, ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "championships" (
"championship" text,
"current_champion_s" text,
"previous_champion_s" text,
"date_won" text,
"location" text
);
Question: Who is the current champion in the NECW Heavyweight Ch... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "championships" (
"championship" text,
"current_champion_s" text,
"previous_champion_s" text,
"date_won" text,
"location" text
);
Question: Which location held the Iron 8 Championship tournament... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "electrostatic_electrolytic_and_electroch" (
"capacity" text,
"volts" text,
"temp" text,
"energy_to_weight_ratio" text,
"power_to_weight_ratio" text
);
Question: What is the capacity of 3500v vo... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "electrostatic_electrolytic_and_electroch" (
"capacity" text,
"volts" text,
"temp" text,
"energy_to_weight_ratio" text,
"power_to_weight_ratio" text
);
Question: How many volts has an energy-to-... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "electrostatic_electrolytic_and_electroch" (
"capacity" text,
"volts" text,
"temp" text,
"energy_to_weight_ratio" text,
"power_to_weight_ratio" text
);
Question: What is the capacity with 2.7v v... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "final_league_positions_since_1992" (
"season" text,
"div" text,
"pos" real,
"top_scorer_league" text,
"head_coach" text
);
Question: Which season led to a position of 13, and a head coach of Pr... |
<|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" text
);
Question: Which week had the highest attendance with 58,701?
<|assistant|>
SELECT MAX("week") FROM "sc... |
<|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" text
);
Question: What was the score of the game against the San Diego Chargers?
<|assistant|>
SELECT SUM("wee... |
<|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" text
);
Question: When was the attendance less than 44,851 during the first 4 weeks of the season?
<|assistant... |
<|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" text
);
Question: On week 13 what was the score of the game?
<|assistant|>
SELECT "result" FROM "schedule" WHE... |
<|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" text
);
Question: What week had 58,025 in attendance?
<|assistant|>
SELECT SUM("week") FROM "schedule" WHERE "... |
<|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" text
);
Question: When was the game that had 58,025 people in attendance?
<|assistant|>
SELECT "date" FROM "sc... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "campeonato_paulista" (
"position" real,
"team" text,
"points" real,
"played" real,
"drawn" real,
"lost" real,
"against" real,
"difference" text
);
Question: What is the lowest number of D... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.