output
stringlengths
27
479
instruction
stringlengths
407
1.39k
SELECT "tv_season" FROM "u_s_broadcast_and_ratings" WHERE "rank"='39';
## Task Generate a SQL query to answer the following question: `What is the season year where the rank is 39?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "u_s_broadcast_and_ratings" ( "season" real, "timeslot_et" text, "season_premiere" text, ...
SELECT COUNT("season_premiere") FROM "u_s_broadcast_and_ratings" WHERE "viewers_millions"='10.17';
## Task Generate a SQL query to answer the following question: `What is the number of season premieres were 10.17 people watched?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "u_s_broadcast_and_ratings" ( "season" real, "timeslot_et" text, "sea...
SELECT "tv_season" FROM "u_s_broadcast_and_ratings" WHERE "season"=12;
## Task Generate a SQL query to answer the following question: `What is the year of the season that was 12?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "u_s_broadcast_and_ratings" ( "season" real, "timeslot_et" text, "season_premiere" text, ...
SELECT "avg_finish" FROM "nascar_sprint_cup_series" WHERE "year"=2012;
## Task Generate a SQL query to answer the following question: `In 2012 what was the average finish?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "nascar_sprint_cup_series" ( "year" real, "starts" real, "wins" real, "top_5" real, "top_10" r...
SELECT MIN("wins") FROM "nascar_sprint_cup_series" WHERE "year"=1983;
## Task Generate a SQL query to answer the following question: `How many wins happened in 1983?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "nascar_sprint_cup_series" ( "year" real, "starts" real, "wins" real, "top_5" real, "top_10" real, ...
SELECT COUNT("top_10") FROM "nascar_sprint_cup_series" WHERE "avg_start"='29.4';
## Task Generate a SQL query to answer the following question: `How many top tens had an average start of 29.4?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "nascar_sprint_cup_series" ( "year" real, "starts" real, "wins" real, "top_5" real, ...
SELECT MAX("poles") FROM "nascar_sprint_cup_series" WHERE "avg_finish"='19.1';
## Task Generate a SQL query to answer the following question: `How many poles had an average finish of 19.1?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "nascar_sprint_cup_series" ( "year" real, "starts" real, "wins" real, "top_5" real, "...
SELECT MIN("starts") FROM "nascar_sprint_cup_series" WHERE "team_s"='Hendrick Motorsports';
## Task Generate a SQL query to answer the following question: `How many starts did Hendrick motorsports have?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "nascar_sprint_cup_series" ( "year" real, "starts" real, "wins" real, "top_5" real, ...
SELECT "player" FROM "round_ten" WHERE "position"='Centre' AND "nhl_team"='Florida Panthers';
## Task Generate a SQL query to answer the following question: `NHL players are all centre in Florida panthers.` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "round_ten" ( "pick" real, "player" text, "position" text, "nationality" text, "nhl...
SELECT "player" FROM "round_ten" WHERE "nhl_team"='San Jose Sharks' AND "nationality"='United States';
## Task Generate a SQL query to answer the following question: `NHL team player San Jose Sharks is United States nationally.` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "round_ten" ( "pick" real, "player" text, "position" text, "nationality"...
SELECT "position" FROM "round_ten" WHERE "player"='Mark Polak';
## Task Generate a SQL query to answer the following question: `All players are position mark polak.` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "round_ten" ( "pick" real, "player" text, "position" text, "nationality" text, "nhl_team" text...
SELECT "nhl_team" FROM "round_ten" WHERE "position"='Centre' AND "pick"<243.0;
## Task Generate a SQL query to answer the following question: `Position in nhl team centre are all smaller pick than 243.0` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "round_ten" ( "pick" real, "player" text, "position" text, "nationality" ...
SELECT "college_junior_club_team" FROM "round_eleven" WHERE "nhl_team"='St. Louis Blues';
## Task Generate a SQL query to answer the following question: `What college/junior/club teams do the players from the St. Louis Blues come from?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "round_eleven" ( "pick" real, "player" text, "positio...
SELECT "nhl_team" FROM "round_eleven" WHERE "college_junior_club_team"='TPS (Finland)';
## Task Generate a SQL query to answer the following question: `What teams do the players from TPS (Finland) play for?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "round_eleven" ( "pick" real, "player" text, "position" text, "nationality" te...
SELECT "college_junior_club_team" FROM "round_eleven" WHERE "player"='Doug Nolan';
## Task Generate a SQL query to answer the following question: `What high school team did Doug Nolan play for?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "round_eleven" ( "pick" real, "player" text, "position" text, "nationality" text, "n...
SELECT "college_junior_club_team" FROM "round_eleven" WHERE "player"='Per Gustafsson';
## Task Generate a SQL query to answer the following question: `What club team is Per Gustafsson play for?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "round_eleven" ( "pick" real, "player" text, "position" text, "nationality" text, "nhl_t...
SELECT "nationality" FROM "round_eleven" WHERE "player"='Shayne Wright';
## Task Generate a SQL query to answer the following question: `What is the nationality of Shayne Wright?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "round_eleven" ( "pick" real, "player" text, "position" text, "nationality" text, "nhl_te...
SELECT "southern_england" FROM "voting" WHERE "northern_ireland"=3;
## Task Generate a SQL query to answer the following question: `How many votes did Southern England cast whilst Northern Ireland cast 3?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "voting" ( "song" text, "mobiles" real, "northern_ireland" rea...
SELECT MIN("scotland") FROM "voting";
## Task Generate a SQL query to answer the following question: `What was the lowest number of votes Scotland cast?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "voting" ( "song" text, "mobiles" real, "northern_ireland" real, "northern_england...
SELECT COUNT("scotland") FROM "voting" WHERE "total"=35;
## Task Generate a SQL query to answer the following question: `What is the total number of votes if Scotland cast 35?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "voting" ( "song" text, "mobiles" real, "northern_ireland" real, "northern_eng...
SELECT "northern_ireland" FROM "voting" WHERE "total"=35;
## Task Generate a SQL query to answer the following question: `How many votes did Northern Ireland cast if the total was 35?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "voting" ( "song" text, "mobiles" real, "northern_ireland" real, "north...
SELECT MIN("wales") FROM "voting" WHERE "northern_england"=6;
## Task Generate a SQL query to answer the following question: `How many votes did Wales cast when Northern England cast 6?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "voting" ( "song" text, "mobiles" real, "northern_ireland" real, "norther...
SELECT "team_s" FROM "nascar_nationwide_series" WHERE "top_5"=9 AND "wins"=1;
## Task Generate a SQL query to answer the following question: `What teams had 9 in the top 5 and 1 wins?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "nascar_nationwide_series" ( "year" real, "starts" real, "wins" real, "top_5" real, "top_...
SELECT "college_junior_club_team" FROM "round_one" WHERE "player"='Vadim Sharifijanov';
## Task Generate a SQL query to answer the following question: `What teams did the player vadim sharifijanov play for?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "round_one" ( "pick" real, "player" text, "position" text, "nationality" text,...
SELECT "position" FROM "round_one" WHERE "nhl_team"='Hartford Whalers';
## Task Generate a SQL query to answer the following question: `What positions do the hartford whalers nhl team have?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "round_one" ( "pick" real, "player" text, "position" text, "nationality" text, ...
SELECT MIN("pick") FROM "round_one" WHERE "player"='Brett Lindros';
## Task Generate a SQL query to answer the following question: `What is the smallest pick for the player, brett lindros?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "round_one" ( "pick" real, "player" text, "position" text, "nationality" tex...
SELECT "position" FROM "round_one" WHERE "college_junior_club_team"='Molot Perm (Russia)';
## Task Generate a SQL query to answer the following question: `What positions does the college/junior/club team, molot perm (russia) have?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "round_one" ( "pick" real, "player" text, "position" text, ...
SELECT "nationality" FROM "round_one" WHERE "nhl_team"='New York Islanders';
## Task Generate a SQL query to answer the following question: `The nhl team new york islanders is what nationality?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "round_one" ( "pick" real, "player" text, "position" text, "nationality" text, ...
SELECT "vacator" FROM "table1_1013168_3" WHERE "district"='Louisiana 1st';
## Task Generate a SQL query to answer the following question: `What is the name of the vacator for district Louisiana 1st?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_1013168_3" ( "district" text, "vacator" text, "reason_for_change" t...
SELECT "notation" FROM "critical_temperature_t_c_crystal_structu" WHERE "crystal_structure"='Tetragonal' AND "formula"='Bi 2 Sr 2 CaCu 2 O 8';
## Task Generate a SQL query to answer the following question: `What is the notion when the crystal structure is tetragonal and the formula is bi 2 sr 2 cacu 2 o 8` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "critical_temperature_t_c_crystal_structu...
SELECT "no_of_cu_o_planes_in_unit_cell" FROM "critical_temperature_t_c_crystal_structu" WHERE "formula"='Tl 2 Ba 2 CuO 6';
## Task Generate a SQL query to answer the following question: `How many times is the formula tl 2 ba 2 cuo 6?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "critical_temperature_t_c_crystal_structu" ( "formula" text, "notation" text, "t_c_k" re...
SELECT "crystal_structure" FROM "critical_temperature_t_c_crystal_structu" WHERE "formula"='YBa 2 Cu 3 O 7';
## Task Generate a SQL query to answer the following question: `What is the crystal structure for the formula yba 2 cu 3 o 7?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "critical_temperature_t_c_crystal_structu" ( "formula" text, "notation" tex...
SELECT COUNT("t_c_k") FROM "critical_temperature_t_c_crystal_structu" WHERE "notation"='Tl-2212';
## Task Generate a SQL query to answer the following question: `What is the number for t c (k) when the notation is tl-2212?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "critical_temperature_t_c_crystal_structu" ( "formula" text, "notation" text...
SELECT COUNT("2010_est") FROM "references" WHERE "city"='Cremona';
## Task Generate a SQL query to answer the following question: `How many 2010 estimations have been done in the city of Cremona?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "references" ( "num" real, "city" text, "1981_census" real, "1991_ce...
SELECT MIN("2001_census") FROM "references" WHERE "region"='Abruzzo' AND "1981_census">51092.0;
## Task Generate a SQL query to answer the following question: `What's the 2001 census of the region of Abruzzo where the 1871 census is bigger than 51092.0?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "references" ( "num" real, "city" text, "...
SELECT MAX("1991_census") FROM "references" WHERE "city"='Carpi';
## Task Generate a SQL query to answer the following question: `What's the 1991 census of the city of Carpi?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "references" ( "num" real, "city" text, "1981_census" real, "1991_census" real, "2001_...
SELECT COUNT("2001_census") FROM "references" WHERE "num"=13;
## Task Generate a SQL query to answer the following question: `How many 2001 censuses are there on number 13?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "references" ( "num" real, "city" text, "1981_census" real, "1991_census" real, "200...
SELECT "1981_census" FROM "references" WHERE "city"='Livorno';
## Task Generate a SQL query to answer the following question: `What's the 1981 census of Livorno?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "references" ( "num" real, "city" text, "1981_census" real, "1991_census" real, "2001_census" re...
SELECT "nhl_team" FROM "round_eight" WHERE "player"='Mike Loach';
## Task Generate a SQL query to answer the following question: `Which NHL team has player Mike Loach?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "round_eight" ( "pick" real, "player" text, "position" text, "nationality" text, "nhl_team" t...
SELECT "nhl_team" FROM "round_eight" WHERE "player"='Peter Strom';
## Task Generate a SQL query to answer the following question: `What is the NHL team that has Peter Strom?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "round_eight" ( "pick" real, "player" text, "position" text, "nationality" text, "nhl_te...
SELECT "college_junior_club_team" FROM "round_eight" WHERE "player"='Keith McCambridge';
## Task Generate a SQL query to answer the following question: `What team is Keith Mccambridge on?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "round_eight" ( "pick" real, "player" text, "position" text, "nationality" text, "nhl_team" text...
SELECT COUNT("nationality") FROM "round_eight" WHERE "pick"=193;
## Task Generate a SQL query to answer the following question: `How many nationalities are the pick 193?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "round_eight" ( "pick" real, "player" text, "position" text, "nationality" text, "nhl_team...
SELECT "successor" FROM "table1_1013168_2" WHERE "date_of_successors_formal_installation"='November 8, 1978';
## Task Generate a SQL query to answer the following question: `Who was the succesor that was formally installed on November 8, 1978?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_1013168_2" ( "state_class" text, "vacator" text, "reason_...
SELECT COUNT("tonioli") FROM "table1_1014319_1" WHERE "goodman"='10';
## Task Generate a SQL query to answer the following question: `How many songs received a 10 from Goodman and were rated by Tonioli?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_1014319_1" ( "week" real, "dance_song" text, "horwood" tex...
SELECT "goodman" FROM "table1_1014319_1" WHERE "total"='31' AND "horwood"='7' AND "result"='Safe';
## Task Generate a SQL query to answer the following question: `What score did Goodman give to all songs with safe results, which received a 7 from Horwood and have a total score of 31?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_1014319_1" ...
SELECT "dixon" FROM "table1_1014319_1" WHERE "dance_song"='Samba / Young Hearts Run Free' AND "result"='Second place';
## Task Generate a SQL query to answer the following question: `What score did Dixon give to the song "samba / young hearts run free", which was in second place?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_1014319_1" ( "week" real, "danc...
SELECT COUNT("goodman") FROM "table1_1014319_1" WHERE "result"='Second place' AND "dance_song"='Samba / Young Hearts Run Free';
## Task Generate a SQL query to answer the following question: `How many scores did Goodman give to "samba / young hearts run free", which was in second place?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_1014319_1" ( "week" real, "dance_...
SELECT "year_built" FROM "current_fleet_details" WHERE "no_built"=7;
## Task Generate a SQL query to answer the following question: `What year was number 7 built?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "current_fleet_details" ( "class" text, "operator" text, "no_built" real, "year_built" text, "cars_pe...
SELECT "we_two" FROM "nominal_morphology" WHERE "case_suffix"='loc.';
## Task Generate a SQL query to answer the following question: `What is we two when the case/suffix is loc.?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "nominal_morphology" ( "case_suffix" text, "we_two" text, "you_and_i" text, "you_two" te...
SELECT "them_two_the_two" FROM "nominal_morphology" WHERE "we_two"='ngalbelpa';
## Task Generate a SQL query to answer the following question: `What is them two (the two) when we two is ngalbelpa?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "nominal_morphology" ( "case_suffix" text, "we_two" text, "you_and_i" text, "you...
SELECT "them_two_the_two" FROM "nominal_morphology" WHERE "you_and_i"='ngœbalngu';
## Task Generate a SQL query to answer the following question: `What is them two (the two) when you and i is ngœbalngu?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "nominal_morphology" ( "case_suffix" text, "we_two" text, "you_and_i" text, "...
SELECT "who_two" FROM "nominal_morphology" WHERE "you_and_i"='ngœban';
## Task Generate a SQL query to answer the following question: `What is who-two where you and i is ngœban?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "nominal_morphology" ( "case_suffix" text, "we_two" text, "you_and_i" text, "you_two" text...
SELECT "we_two" FROM "nominal_morphology" WHERE "you_two"='ngipen';
## Task Generate a SQL query to answer the following question: `What is we two where you two is ngipen?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "nominal_morphology" ( "case_suffix" text, "we_two" text, "you_and_i" text, "you_two" text, ...
SELECT "who_two" FROM "nominal_morphology" WHERE "you_two"='ngipelngu';
## Task Generate a SQL query to answer the following question: `What is who-two when you two is ngipelngu?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "nominal_morphology" ( "case_suffix" text, "we_two" text, "you_and_i" text, "you_two" text...
SELECT "points" FROM "race_results" WHERE "driver"='Mark Martin';
## Task Generate a SQL query to answer the following question: `what's the points with driver  mark martin` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "race_results" ( "position" real, "driver" text, "points" real, "winnings" text, "series...
SELECT "points" FROM "race_results" WHERE "driver"='Rusty Wallace';
## Task Generate a SQL query to answer the following question: `what's the points with driver  rusty wallace` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "race_results" ( "position" real, "driver" text, "points" real, "winnings" text, "seri...
SELECT COUNT("position") FROM "race_results" WHERE "driver"='Robby Gordon';
## Task Generate a SQL query to answer the following question: `what's the total number of position with driver  robby gordon` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "race_results" ( "position" real, "driver" text, "points" real, "winnin...
SELECT MAX("position") FROM "race_results" WHERE "winnings"='$50,000';
## Task Generate a SQL query to answer the following question: `what's the maximum position with winnings  $50,000` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "race_results" ( "position" real, "driver" text, "points" real, "winnings" text, ...
SELECT "actors_name" FROM "stozhary_2003_prize_winners" WHERE "film_name"='Anastasiya Slutskaya';
## Task Generate a SQL query to answer the following question: `What actor was nominted for an award in the film Anastasiya Slutskaya?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "stozhary_2003_prize_winners" ( "nomination" text, "actors_name" t...
SELECT "nomination" FROM "stozhary_2003_prize_winners" WHERE "film_name"='Falling Up';
## Task Generate a SQL query to answer the following question: `What was the film Falling up nominated for?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "stozhary_2003_prize_winners" ( "nomination" text, "actors_name" text, "film_name" text, ...
SELECT "actors_name" FROM "stozhary_2003_prize_winners" WHERE "film_name"='Chopin: Desire for Love' AND "nomination"='Best Actress in a Leading Role';
## Task Generate a SQL query to answer the following question: `What is the name of the actress that was nominated for best actress in a leading role in the film Chopin: Desire for love?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "stozhary_2003_pri...
SELECT "actors_name" FROM "stozhary_2003_prize_winners" WHERE "film_name"='Chopin: Desire for Love' AND "nomination"='Best Actress in a Leading Role';
## Task Generate a SQL query to answer the following question: `What is the name of the actress that was nominated for best actress in a leading role in the film Chopin: Desire for love?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "stozhary_2003_pri...
SELECT "film_name" FROM "stozhary_2003_prize_winners" WHERE "actors_name"='Alla Sergiyko';
## Task Generate a SQL query to answer the following question: `Which films does the actor Alla Sergiyko star in?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "stozhary_2003_prize_winners" ( "nomination" text, "actors_name" text, "film_name" te...
SELECT "nomination" FROM "stozhary_2003_prize_winners" WHERE "film_name"='27 Stolen Kisses';
## Task Generate a SQL query to answer the following question: `Which nominations was the film 27 Stolen Kisses nominated for?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "stozhary_2003_prize_winners" ( "nomination" text, "actors_name" text, "...
SELECT "actors_name" FROM "stozhary_99_prize_winners" WHERE "nomination"='Best Actor in a Supporting Role' AND "country"='Serbia';
## Task Generate a SQL query to answer the following question: `Which actor from Serbia was nominated for best actor in a supporting role?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "stozhary_99_prize_winners" ( "nomination" text, "actors_name"...
SELECT "country" FROM "stozhary_99_prize_winners" WHERE "actors_name"='Vsevolod Shilovskiy';
## Task Generate a SQL query to answer the following question: `Vsevolod Shilovskiy is from what country?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "stozhary_99_prize_winners" ( "nomination" text, "actors_name" text, "film_name" text, "dir...
SELECT "nomination" FROM "stozhary_99_prize_winners" WHERE "film_name"='Totalitarian Romance';
## Task Generate a SQL query to answer the following question: `Which nominations are connected to the film Totalitarian Romance?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "stozhary_99_prize_winners" ( "nomination" text, "actors_name" text, ...
SELECT "nomination" FROM "stozhary_99_prize_winners" WHERE "director"='Srdjan Dragojevic';
## Task Generate a SQL query to answer the following question: `Srdjan Dragojevic worked on a film which earned what nomination?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "stozhary_99_prize_winners" ( "nomination" text, "actors_name" text, "...
SELECT "actors_name" FROM "stozhary_99_prize_winners" WHERE "country"='Ukraine';
## Task Generate a SQL query to answer the following question: `Which actors are from Ukraine?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "stozhary_99_prize_winners" ( "nomination" text, "actors_name" text, "film_name" text, "director" text...
SELECT "film_name" FROM "stozhary_95_prize_winners" WHERE "director"='Vadim Ilyenko';
## Task Generate a SQL query to answer the following question: `What was the film that vadim ilyenko directed?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "stozhary_95_prize_winners" ( "nomination" text, "actors_name" text, "film_name" text, ...
SELECT "actors_name" FROM "stozhary_95_prize_winners" WHERE "director"='Vadim Ilyenko';
## Task Generate a SQL query to answer the following question: `What was the actors name that vadim ilyenko directed?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "stozhary_95_prize_winners" ( "nomination" text, "actors_name" text, "film_name" ...
SELECT "actors_name" FROM "stozhary_95_prize_winners" WHERE "film_name"='Fuchzhou' AND "nomination"='Best Non-Professional Actor';
## Task Generate a SQL query to answer the following question: `What was the actors name for fuchzhou and nomination was best non-professional actor?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "stozhary_95_prize_winners" ( "nomination" text, "a...
SELECT "film_name" FROM "stozhary_95_prize_winners" WHERE "director"='Michaylo Ilyenko' AND "nomination"='Best Actor in a Supporting Role';
## Task Generate a SQL query to answer the following question: `What film did michaylo ilyenko make with best actor in a supporting role?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "stozhary_95_prize_winners" ( "nomination" text, "actors_name" ...
SELECT "actors_name" FROM "stozhary_95_prize_winners" WHERE "nomination"='Best Debut';
## Task Generate a SQL query to answer the following question: `What was the actor's name for best debut?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "stozhary_95_prize_winners" ( "nomination" text, "actors_name" text, "film_name" text, "dir...
SELECT COUNT("nomination") FROM "stozhary_95_prize_winners" WHERE "actors_name"='Natalia Raskokoha';
## Task Generate a SQL query to answer the following question: `What was the number of nominations for natalia raskokoha?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "stozhary_95_prize_winners" ( "nomination" text, "actors_name" text, "film_na...
SELECT MAX("total_goals") FROM "barnsley";
## Task Generate a SQL query to answer the following question: `What is the highest value of Total Goals?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "barnsley" ( "season" text, "division" text, "league_apps" real, "league_goals" real, "fa...
SELECT MIN("fa_cup_goals") FROM "barnsley" WHERE "fa_cup_apps"=9;
## Task Generate a SQL query to answer the following question: `When FA Cup Apps is 9 what is the smallest number of FA Cup Goals?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "barnsley" ( "season" text, "division" text, "league_apps" real, "...
SELECT MIN("total_goals") FROM "barnsley";
## Task Generate a SQL query to answer the following question: `What is the smallest number of Total Goals?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "barnsley" ( "season" text, "division" text, "league_apps" real, "league_goals" real, "...
SELECT "circuit" FROM "race_calendar_and_results" WHERE "fastest_lap"='Hideki Mutoh';
## Task Generate a SQL query to answer the following question: `What circuit was the race where Hideki Mutoh had the fastest lap?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "race_calendar_and_results" ( "round" real, "circuit" text, "date" te...
SELECT MIN("production_code") FROM "table1_10269427_3" WHERE "title"='\"Foreign Exchange Problem / Turn About\"';
## Task Generate a SQL query to answer the following question: `what is the minimum production code with title "foreign exchange problem / turn about"` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_10269427_3" ( "episode_num" real, "product...
SELECT "episode_num" FROM "table1_10269427_3" WHERE "title"='\"The Yindianapolis 500 / Personality Problem\"';
## Task Generate a SQL query to answer the following question: `what is the episode # for title "the yindianapolis 500 / personality problem"` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_10269427_3" ( "episode_num" real, "production_code"...
SELECT "episode_num" FROM "table1_10269427_3" WHERE "production_code"=227;
## Task Generate a SQL query to answer the following question: `what is the episode # for production code 227` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_10269427_3" ( "episode_num" real, "production_code" real, "title" text, "direct...
SELECT "directed_by" FROM "table1_10269427_3" WHERE "written_by"='Sib Ventress / Aydrea ten Bosch';
## Task Generate a SQL query to answer the following question: `who directed the movie written by is sib ventress / aydrea ten bosch` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_10269427_3" ( "episode_num" real, "production_code" real, ...
SELECT "production_code" FROM "table1_10269427_3" WHERE "title"='\"Skirting the Issue / Moon Over my Yinnie\"';
## Task Generate a SQL query to answer the following question: `what is the production code with title "skirting the issue / moon over my yinnie"` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_10269427_3" ( "episode_num" real, "production_c...
SELECT MAX("total_goals") FROM "sheffield_united";
## Task Generate a SQL query to answer the following question: `Whatis the number of total goals maximum?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "sheffield_united" ( "season" text, "division" text, "league_apps" real, "league_goals" rea...
SELECT COUNT("temp_c") FROM "technology_overview" WHERE "adhesive_type"='Acryl';
## Task Generate a SQL query to answer the following question: `HOW MANY TEMPERATURE INTERVALS ARE POSSIBLE TO USE WITH ACRYL? ` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "technology_overview" ( "assembly_type" text, "adhesive_type" text, "ti...
SELECT COUNT("opponents") FROM "mixed_doubles_6_3_titles_3_runner_ups" WHERE "partner"='Jim Pugh';
## Task Generate a SQL query to answer the following question: `How many matches where played with Jim Pugh?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "mixed_doubles_6_3_titles_3_runner_ups" ( "outcome" text, "year" real, "championship" text...
SELECT "score" FROM "mixed_doubles_6_3_titles_3_runner_ups" WHERE "partner"='Jim Pugh';
## Task Generate a SQL query to answer the following question: `What is the score with partner Jim Pugh?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "mixed_doubles_6_3_titles_3_runner_ups" ( "outcome" text, "year" real, "championship" text, ...
SELECT COUNT("surface") FROM "mixed_doubles_6_3_titles_3_runner_ups" WHERE "score"='3–6, 7–6(5), 6–3';
## Task Generate a SQL query to answer the following question: `How many matched scored 3–6, 7–6(5), 6–3?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "mixed_doubles_6_3_titles_3_runner_ups" ( "outcome" text, "year" real, "championship" text, ...
SELECT "score" FROM "mixed_doubles_6_3_titles_3_runner_ups" WHERE "partner"='Jim Pugh';
## Task Generate a SQL query to answer the following question: `What is the score of the match with partner Jim Pugh?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "mixed_doubles_6_3_titles_3_runner_ups" ( "outcome" text, "year" real, "champions...
SELECT "year" FROM "mixed_doubles_6_3_titles_3_runner_ups" WHERE "championship"='Wimbledon (2)';
## Task Generate a SQL query to answer the following question: `What year was the championship in Wimbledon (2)?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "mixed_doubles_6_3_titles_3_runner_ups" ( "outcome" text, "year" real, "championship" ...
SELECT "score" FROM "mixed_doubles_6_3_titles_3_runner_ups" WHERE "opponents"='Gretchen Magers Kelly Jones';
## Task Generate a SQL query to answer the following question: `What is the score of the match with opponents Gretchen Magers Kelly Jones?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "mixed_doubles_6_3_titles_3_runner_ups" ( "outcome" text, "yea...
SELECT COUNT("date_of_birth") FROM "historical" WHERE "representative"='Earl Hanley Beshlin';
## Task Generate a SQL query to answer the following question: `How many birthdays does Earl Hanley Beshlin have?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "historical" ( "begin_date" text, "end_date" text, "representative" text, "date_of_...
SELECT "party" FROM "historical" WHERE "date_of_birth"='November 10, 1880';
## Task Generate a SQL query to answer the following question: `Which politican party has a birthday of November 10, 1880` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "historical" ( "begin_date" text, "end_date" text, "representative" text, "...
SELECT "representative" FROM "historical" WHERE "date_of_birth"='January 31, 1866';
## Task Generate a SQL query to answer the following question: `Which representative has a birthday of January 31, 1866?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "historical" ( "begin_date" text, "end_date" text, "representative" text, "d...
SELECT "singles_w_l" FROM "current_team" WHERE "player"='Laurynas Grigelis';
## Task Generate a SQL query to answer the following question: `What is the Singles W-L for the players named Laurynas Grigelis?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "current_team" ( "player" text, "current_singles_ranking" text, "curr...
SELECT "current_singles_ranking" FROM "current_team" WHERE "player"='Mantas Bugailiškis';
## Task Generate a SQL query to answer the following question: `What is the Current singles ranking for the player named Mantas Bugailiškis?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "current_team" ( "player" text, "current_singles_ranking" te...
SELECT COUNT("1999_broadway") FROM "cast_of_major_productions_1954_1999" WHERE "character"='Mrs. Darling';
## Task Generate a SQL query to answer the following question: `How many playerd Mrs. Darling in the 1999 Broadway?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "cast_of_major_productions_1954_1999" ( "character" text, "1954_broadway" text, "19...
SELECT "1990_broadway" FROM "cast_of_major_productions_1954_1999" WHERE "character"='Peter Pan';
## Task Generate a SQL query to answer the following question: `Who played Peter Pan in the 1990 Broadway?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "cast_of_major_productions_1954_1999" ( "character" text, "1954_broadway" text, "1955_broadc...
SELECT "1991_broadway" FROM "cast_of_major_productions_1954_1999" WHERE "1999_broadway"='Barbara McCulloh';
## Task Generate a SQL query to answer the following question: `Who played in the 1991 Broadway before Barbara McCulloh played the part in the 1999 Broadway?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "cast_of_major_productions_1954_1999" ( "char...