text stringlengths 310 1.28k |
|---|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "u_s_broadcast_and_ratings" (
"season" real,
"timeslot_et" text,
"season_premiere" text,
"season_finale" text,
"tv_season" text,
"rank" text,
"viewers_millions" text
);
Question: What is the... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "u_s_broadcast_and_ratings" (
"season" real,
"timeslot_et" text,
"season_premiere" text,
"season_finale" text,
"tv_season" text,
"rank" text,
"viewers_millions" text
);
Question: What is the... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "u_s_broadcast_and_ratings" (
"season" real,
"timeslot_et" text,
"season_premiere" text,
"season_finale" text,
"tv_season" text,
"rank" text,
"viewers_millions" text
);
Question: What is the... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "nascar_sprint_cup_series" (
"year" real,
"starts" real,
"wins" real,
"top_5" real,
"top_10" real,
"poles" real,
"avg_start" text,
"avg_finish" text,
"winnings" text,
"position" text,
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "nascar_sprint_cup_series" (
"year" real,
"starts" real,
"wins" real,
"top_5" real,
"top_10" real,
"poles" real,
"avg_start" text,
"avg_finish" text,
"winnings" text,
"position" text,
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "nascar_sprint_cup_series" (
"year" real,
"starts" real,
"wins" real,
"top_5" real,
"top_10" real,
"poles" real,
"avg_start" text,
"avg_finish" text,
"winnings" text,
"position" text,
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "nascar_sprint_cup_series" (
"year" real,
"starts" real,
"wins" real,
"top_5" real,
"top_10" real,
"poles" real,
"avg_start" text,
"avg_finish" text,
"winnings" text,
"position" text,
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "nascar_sprint_cup_series" (
"year" real,
"starts" real,
"wins" real,
"top_5" real,
"top_10" real,
"poles" real,
"avg_start" text,
"avg_finish" text,
"winnings" text,
"position" text,
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_ten" (
"pick" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
);
Question: NHL players are all centre in Florida panthers.
<|a... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_ten" (
"pick" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
);
Question: NHL team player San Jose Sharks is United States na... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_ten" (
"pick" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
);
Question: All players are position mark polak.
<|assistant|>
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_ten" (
"pick" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
);
Question: Position in nhl team centre are all smaller pick th... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_eleven" (
"pick" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
);
Question: What college/junior/club teams do the players fr... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_eleven" (
"pick" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
);
Question: What teams do the players from TPS (Finland) pla... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_eleven" (
"pick" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
);
Question: What high school team did Doug Nolan play for?
<... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_eleven" (
"pick" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
);
Question: What club team is Per Gustafsson play for?
<|ass... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_eleven" (
"pick" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
);
Question: What is the nationality of Shayne Wright?
<|assi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "voting" (
"song" text,
"mobiles" real,
"northern_ireland" real,
"northern_england" real,
"scotland" real,
"southern_england" real,
"wales" real,
"total" real
);
Question: How many votes d... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "voting" (
"song" text,
"mobiles" real,
"northern_ireland" real,
"northern_england" real,
"scotland" real,
"southern_england" real,
"wales" real,
"total" real
);
Question: What was the low... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "voting" (
"song" text,
"mobiles" real,
"northern_ireland" real,
"northern_england" real,
"scotland" real,
"southern_england" real,
"wales" real,
"total" real
);
Question: What is the tota... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "voting" (
"song" text,
"mobiles" real,
"northern_ireland" real,
"northern_england" real,
"scotland" real,
"southern_england" real,
"wales" real,
"total" real
);
Question: How many votes d... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "voting" (
"song" text,
"mobiles" real,
"northern_ireland" real,
"northern_england" real,
"scotland" real,
"southern_england" real,
"wales" real,
"total" real
);
Question: How many votes d... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "nascar_nationwide_series" (
"year" real,
"starts" real,
"wins" real,
"top_5" real,
"top_10" real,
"poles" real,
"avg_start" text,
"avg_finish" text,
"winnings" text,
"position" text,
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_one" (
"pick" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
);
Question: What teams did the player vadim sharifijanov play f... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_one" (
"pick" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
);
Question: What positions do the hartford whalers nhl team hav... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_one" (
"pick" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
);
Question: What is the smallest pick for the player, brett lin... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_one" (
"pick" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
);
Question: What positions does the college/junior/club team, m... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_one" (
"pick" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
);
Question: The nhl team new york islanders is what nationality... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_1013168_3" (
"district" text,
"vacator" text,
"reason_for_change" text,
"successor" text,
"date_successor_seated" text
);
Question: What is the name of the vacator for district Louisiana... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "critical_temperature_t_c_crystal_structu" (
"formula" text,
"notation" text,
"t_c_k" real,
"no_of_cu_o_planes_in_unit_cell" real,
"crystal_structure" text
);
Question: What is the notion when t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "critical_temperature_t_c_crystal_structu" (
"formula" text,
"notation" text,
"t_c_k" real,
"no_of_cu_o_planes_in_unit_cell" real,
"crystal_structure" text
);
Question: How many times is the for... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "critical_temperature_t_c_crystal_structu" (
"formula" text,
"notation" text,
"t_c_k" real,
"no_of_cu_o_planes_in_unit_cell" real,
"crystal_structure" text
);
Question: What is the crystal struc... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "critical_temperature_t_c_crystal_structu" (
"formula" text,
"notation" text,
"t_c_k" real,
"no_of_cu_o_planes_in_unit_cell" real,
"crystal_structure" text
);
Question: What is the number for t ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "references" (
"num" real,
"city" text,
"1981_census" real,
"1991_census" real,
"2001_census" real,
"2010_est" real,
"region" text
);
Question: How many 2010 estimations have been done in th... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "references" (
"num" real,
"city" text,
"1981_census" real,
"1991_census" real,
"2001_census" real,
"2010_est" real,
"region" text
);
Question: What's the 2001 census of the region of Abruzz... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "references" (
"num" real,
"city" text,
"1981_census" real,
"1991_census" real,
"2001_census" real,
"2010_est" real,
"region" text
);
Question: What's the 1991 census of the city of Carpi?
<... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "references" (
"num" real,
"city" text,
"1981_census" real,
"1991_census" real,
"2001_census" real,
"2010_est" real,
"region" text
);
Question: How many 2001 censuses are there on number 13?... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "references" (
"num" real,
"city" text,
"1981_census" real,
"1991_census" real,
"2001_census" real,
"2010_est" real,
"region" text
);
Question: What's the 1981 census of Livorno?
<|assistant... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_eight" (
"pick" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
);
Question: Which NHL team has player Mike Loach?
<|assistant... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_eight" (
"pick" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
);
Question: What is the NHL team that has Peter Strom?
<|assi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_eight" (
"pick" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
);
Question: What team is Keith Mccambridge on?
<|assistant|>
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_eight" (
"pick" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
);
Question: How many nationalities are the pick 193?
<|assist... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_1013168_2" (
"state_class" text,
"vacator" text,
"reason_for_change" text,
"successor" text,
"date_of_successors_formal_installation" text
);
Question: Who was the succesor that was form... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_1014319_1" (
"week" real,
"dance_song" text,
"horwood" text,
"goodman" text,
"dixon" text,
"tonioli" text,
"total" text,
"result" text
);
Question: How many songs received a 10 fro... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_1014319_1" (
"week" real,
"dance_song" text,
"horwood" text,
"goodman" text,
"dixon" text,
"tonioli" text,
"total" text,
"result" text
);
Question: What score did Goodman give to a... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_1014319_1" (
"week" real,
"dance_song" text,
"horwood" text,
"goodman" text,
"dixon" text,
"tonioli" text,
"total" text,
"result" text
);
Question: What score did Dixon give to the... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_1014319_1" (
"week" real,
"dance_song" text,
"horwood" text,
"goodman" text,
"dixon" text,
"tonioli" text,
"total" text,
"result" text
);
Question: How many scores did Goodman give... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "current_fleet_details" (
"class" text,
"operator" text,
"no_built" real,
"year_built" text,
"cars_per_set" real,
"unit_nos" text
);
Question: What year was number 7 built?
<|assistant|>
SELEC... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "nominal_morphology" (
"case_suffix" text,
"we_two" text,
"you_and_i" text,
"you_two" text,
"them_two_the_two" text,
"who_two" text
);
Question: What is we two when the case/suffix is loc.?
<|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "nominal_morphology" (
"case_suffix" text,
"we_two" text,
"you_and_i" text,
"you_two" text,
"them_two_the_two" text,
"who_two" text
);
Question: What is them two (the two) when we two is ngalb... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "nominal_morphology" (
"case_suffix" text,
"we_two" text,
"you_and_i" text,
"you_two" text,
"them_two_the_two" text,
"who_two" text
);
Question: What is them two (the two) when you and i is ng... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "nominal_morphology" (
"case_suffix" text,
"we_two" text,
"you_and_i" text,
"you_two" text,
"them_two_the_two" text,
"who_two" text
);
Question: What is who-two where you and i is ngœban?
<|as... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "nominal_morphology" (
"case_suffix" text,
"we_two" text,
"you_and_i" text,
"you_two" text,
"them_two_the_two" text,
"who_two" text
);
Question: What is we two where you two is ngipen?
<|assis... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "nominal_morphology" (
"case_suffix" text,
"we_two" text,
"you_and_i" text,
"you_two" text,
"them_two_the_two" text,
"who_two" text
);
Question: What is who-two when you two is ngipelngu?
<|as... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "race_results" (
"position" real,
"driver" text,
"points" real,
"winnings" text,
"series" text
);
Question: what's the points with driver mark martin
<|assistant|>
SELECT "points" FROM "race_re... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "race_results" (
"position" real,
"driver" text,
"points" real,
"winnings" text,
"series" text
);
Question: what's the points with driver rusty wallace
<|assistant|>
SELECT "points" FROM "race_... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "race_results" (
"position" real,
"driver" text,
"points" real,
"winnings" text,
"series" text
);
Question: what's the total number of position with driver robby gordon
<|assistant|>
SELECT COU... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "race_results" (
"position" real,
"driver" text,
"points" real,
"winnings" text,
"series" text
);
Question: what's the maximum position with winnings $50,000
<|assistant|>
SELECT MAX("position"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "stozhary_2003_prize_winners" (
"nomination" text,
"actors_name" text,
"film_name" text,
"director" text,
"country" text
);
Question: What actor was nominted for an award in the film Anastasiya ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "stozhary_2003_prize_winners" (
"nomination" text,
"actors_name" text,
"film_name" text,
"director" text,
"country" text
);
Question: What was the film Falling up nominated for?
<|assistant|>
SE... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "stozhary_2003_prize_winners" (
"nomination" text,
"actors_name" text,
"film_name" text,
"director" text,
"country" text
);
Question: What is the name of the actress that was nominated for best ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "stozhary_2003_prize_winners" (
"nomination" text,
"actors_name" text,
"film_name" text,
"director" text,
"country" text
);
Question: What is the name of the actress that was nominated for best ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "stozhary_2003_prize_winners" (
"nomination" text,
"actors_name" text,
"film_name" text,
"director" text,
"country" text
);
Question: Which films does the actor Alla Sergiyko star in?
<|assistan... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "stozhary_2003_prize_winners" (
"nomination" text,
"actors_name" text,
"film_name" text,
"director" text,
"country" text
);
Question: Which nominations was the film 27 Stolen Kisses nominated fo... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "stozhary_99_prize_winners" (
"nomination" text,
"actors_name" text,
"film_name" text,
"director" text,
"country" text
);
Question: Which actor from Serbia was nominated for best actor in a supp... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "stozhary_99_prize_winners" (
"nomination" text,
"actors_name" text,
"film_name" text,
"director" text,
"country" text
);
Question: Vsevolod Shilovskiy is from what country?
<|assistant|>
SELECT... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "stozhary_99_prize_winners" (
"nomination" text,
"actors_name" text,
"film_name" text,
"director" text,
"country" text
);
Question: Which nominations are connected to the film Totalitarian Roman... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "stozhary_99_prize_winners" (
"nomination" text,
"actors_name" text,
"film_name" text,
"director" text,
"country" text
);
Question: Srdjan Dragojevic worked on a film which earned what nominatio... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "stozhary_99_prize_winners" (
"nomination" text,
"actors_name" text,
"film_name" text,
"director" text,
"country" text
);
Question: Which actors are from Ukraine?
<|assistant|>
SELECT "actors_na... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "stozhary_95_prize_winners" (
"nomination" text,
"actors_name" text,
"film_name" text,
"director" text,
"country" text
);
Question: What was the film that vadim ilyenko directed?
<|assistant|>
S... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "stozhary_95_prize_winners" (
"nomination" text,
"actors_name" text,
"film_name" text,
"director" text,
"country" text
);
Question: What was the actors name that vadim ilyenko directed?
<|assist... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "stozhary_95_prize_winners" (
"nomination" text,
"actors_name" text,
"film_name" text,
"director" text,
"country" text
);
Question: What was the actors name for fuchzhou and nomination was best ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "stozhary_95_prize_winners" (
"nomination" text,
"actors_name" text,
"film_name" text,
"director" text,
"country" text
);
Question: What film did michaylo ilyenko make with best actor in a suppo... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "stozhary_95_prize_winners" (
"nomination" text,
"actors_name" text,
"film_name" text,
"director" text,
"country" text
);
Question: What was the actor's name for best debut?
<|assistant|>
SELECT... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "stozhary_95_prize_winners" (
"nomination" text,
"actors_name" text,
"film_name" text,
"director" text,
"country" text
);
Question: What was the number of nominations for natalia raskokoha?
<|as... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "barnsley" (
"season" text,
"division" text,
"league_apps" real,
"league_goals" real,
"fa_cup_apps" real,
"fa_cup_goals" real,
"total_apps" real,
"total_goals" real
);
Question: What is th... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "barnsley" (
"season" text,
"division" text,
"league_apps" real,
"league_goals" real,
"fa_cup_apps" real,
"fa_cup_goals" real,
"total_apps" real,
"total_goals" real
);
Question: When FA Cu... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "barnsley" (
"season" text,
"division" text,
"league_apps" real,
"league_goals" real,
"fa_cup_apps" real,
"fa_cup_goals" real,
"total_apps" real,
"total_goals" real
);
Question: What is th... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "race_calendar_and_results" (
"round" real,
"circuit" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_team" text
);
Question: What circuit was th... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_10269427_3" (
"episode_num" real,
"production_code" real,
"title" text,
"directed_by" text,
"written_by" text,
"airdate" text
);
Question: what is the minimum production code with titl... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_10269427_3" (
"episode_num" real,
"production_code" real,
"title" text,
"directed_by" text,
"written_by" text,
"airdate" text
);
Question: what is the episode # for title "the yindiana... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_10269427_3" (
"episode_num" real,
"production_code" real,
"title" text,
"directed_by" text,
"written_by" text,
"airdate" text
);
Question: what is the episode # for production code 227... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_10269427_3" (
"episode_num" real,
"production_code" real,
"title" text,
"directed_by" text,
"written_by" text,
"airdate" text
);
Question: who directed the movie written by is sib vent... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_10269427_3" (
"episode_num" real,
"production_code" real,
"title" text,
"directed_by" text,
"written_by" text,
"airdate" text
);
Question: what is the production code with title "skirt... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "sheffield_united" (
"season" text,
"division" text,
"league_apps" real,
"league_goals" real,
"fa_cup_apps" real,
"fa_cup_goals" real,
"total_apps" real,
"total_goals" real
);
Question: Wh... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "technology_overview" (
"assembly_type" text,
"adhesive_type" text,
"time_sec" text,
"temp_c" text,
"pressure" text
);
Question: HOW MANY TEMPERATURE INTERVALS ARE POSSIBLE TO USE WITH ACRYL?
<... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "mixed_doubles_6_3_titles_3_runner_ups" (
"outcome" text,
"year" real,
"championship" text,
"surface" text,
"partner" text,
"opponents" text,
"score" text
);
Question: How many matches where... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "mixed_doubles_6_3_titles_3_runner_ups" (
"outcome" text,
"year" real,
"championship" text,
"surface" text,
"partner" text,
"opponents" text,
"score" text
);
Question: What is the score with... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "mixed_doubles_6_3_titles_3_runner_ups" (
"outcome" text,
"year" real,
"championship" text,
"surface" text,
"partner" text,
"opponents" text,
"score" text
);
Question: How many matched score... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "mixed_doubles_6_3_titles_3_runner_ups" (
"outcome" text,
"year" real,
"championship" text,
"surface" text,
"partner" text,
"opponents" text,
"score" text
);
Question: What is the score of t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "mixed_doubles_6_3_titles_3_runner_ups" (
"outcome" text,
"year" real,
"championship" text,
"surface" text,
"partner" text,
"opponents" text,
"score" text
);
Question: What year was the cham... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "mixed_doubles_6_3_titles_3_runner_ups" (
"outcome" text,
"year" real,
"championship" text,
"surface" text,
"partner" text,
"opponents" text,
"score" text
);
Question: What is the score of t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "historical" (
"begin_date" text,
"end_date" text,
"representative" text,
"date_of_birth" text,
"house_term" text,
"state_served" text,
"party" text,
"age_years_days" text
);
Question: How... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "historical" (
"begin_date" text,
"end_date" text,
"representative" text,
"date_of_birth" text,
"house_term" text,
"state_served" text,
"party" text,
"age_years_days" text
);
Question: Whi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "historical" (
"begin_date" text,
"end_date" text,
"representative" text,
"date_of_birth" text,
"house_term" text,
"state_served" text,
"party" text,
"age_years_days" text
);
Question: Whi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "current_team" (
"player" text,
"current_singles_ranking" text,
"current_doubles_ranking" text,
"first_year_played" real,
"ties_played" real,
"total_w_l" text,
"singles_w_l" text,
"doubles_... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "current_team" (
"player" text,
"current_singles_ranking" text,
"current_doubles_ranking" text,
"first_year_played" real,
"ties_played" real,
"total_w_l" text,
"singles_w_l" text,
"doubles_... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "cast_of_major_productions_1954_1999" (
"character" text,
"1954_broadway" text,
"1955_broadcast" text,
"1960_broadcast" text,
"1979_broadway" text,
"1990_broadway" text,
"1991_broadway" text,... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "cast_of_major_productions_1954_1999" (
"character" text,
"1954_broadway" text,
"1955_broadcast" text,
"1960_broadcast" text,
"1979_broadway" text,
"1990_broadway" text,
"1991_broadway" text,... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "cast_of_major_productions_1954_1999" (
"character" text,
"1954_broadway" text,
"1955_broadcast" text,
"1960_broadcast" text,
"1979_broadway" text,
"1990_broadway" text,
"1991_broadway" text,... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.