text
stringlengths
310
1.28k
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "submissions" ( "year_ceremony" text, "original_title" text, "film_title_used_in_nomination" text, "director" text, "result" text ); Question: What's the original title of the nomination title, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "submissions" ( "year_ceremony" text, "original_title" text, "film_title_used_in_nomination" text, "director" text, "result" text ); Question: What year has a nomination title of "sangrador"? <|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "submissions" ( "year_ceremony" text, "original_title" text, "film_title_used_in_nomination" text, "director" text, "result" text ); Question: What year has a original title of "el tinte de la f...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "submissions" ( "year_ceremony" text, "original_title" text, "film_title_used_in_nomination" text, "director" text, "result" text ); Question: What's the result for director elia schneider's pun...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "qualification" ( "shooter" text, "event" text, "rank_points" text, "score_points" text, "total" text ); Question: What is the score points when the total is 20? <|assistant|> SELECT "score_poin...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "qualification" ( "shooter" text, "event" text, "rank_points" text, "score_points" text, "total" text ); Question: What is the score points in WC Kerrville, when rank was points of 8? <|assistan...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "qualification" ( "shooter" text, "event" text, "rank_points" text, "score_points" text, "total" text ); Question: What is the score points when the total is 16? <|assistant|> SELECT "score_poin...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "qualification" ( "shooter" text, "event" text, "rank_points" text, "score_points" text, "total" text ); Question: What is the score points when the rank points is 3? <|assistant|> SELECT "score...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "qualification" ( "shooter" text, "event" text, "rank_points" text, "score_points" text, "total" text ); Question: What is the total when the score points show Olympic bronze medalist? <|assista...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "other_grands_prix" ( "name" text, "circuit" text, "date" text, "winning_driver" text, "winning_constructor" text, "report" text ); Question: What Winning constructor has a Circuit of lasarte?...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "other_grands_prix" ( "name" text, "circuit" text, "date" text, "winning_driver" text, "winning_constructor" text, "report" text ); Question: What Date has a Winning driver of ugo sivocci? <|a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "other_grands_prix" ( "name" text, "circuit" text, "date" text, "winning_driver" text, "winning_constructor" text, "report" text ); Question: What Report has a Winning driver of mario razzauti...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "other_grands_prix" ( "name" text, "circuit" text, "date" text, "winning_driver" text, "winning_constructor" text, "report" text ); Question: What Date has a Circuit of cremona? <|assistant|> ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "other_grands_prix" ( "name" text, "circuit" text, "date" text, "winning_driver" text, "winning_constructor" text, "report" text ); Question: What Name has a Winning constructor of ansaldo? <|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "other_grands_prix" ( "name" text, "circuit" text, "date" text, "winning_driver" text, "winning_constructor" text, "report" text ); Question: What Winning driver has a Winning constructor of s...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "medals_table" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real ); Question: What is the average total for 0 bronze? <|assistant|> SELECT AVG("total") FROM...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "track_listing" ( "title" text, "lyricist_s" text, "composer_s" text, "arranger_s" text, "time" text ); Question: What is the time entry for the track composed by ROZ, with the title "잘해봐 (good ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "track_listing" ( "title" text, "lyricist_s" text, "composer_s" text, "arranger_s" text, "time" text ); Question: How long is the track "잘해봐 (good luck!!)"? <|assistant|> SELECT "time" FROM "tra...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "track_listing" ( "title" text, "lyricist_s" text, "composer_s" text, "arranger_s" text, "time" text ); Question: What is the title of the track with lyricist ROZ and arranger Yongmin Lee? <|ass...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "track_listing" ( "title" text, "lyricist_s" text, "composer_s" text, "arranger_s" text, "time" text ); Question: Who was the lyricist for composer ROZ on title "요리왕 (cooking? cooking!)"? <|assi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "track_listing" ( "title" text, "lyricist_s" text, "composer_s" text, "arranger_s" text, "time" text ); Question: Who was the lyricist for composer Haewon Park? <|assistant|> SELECT "lyricist_s"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "track_listing" ( "title" text, "lyricist_s" text, "composer_s" text, "arranger_s" text, "time" text ); Question: What are the lengths of the tracks arranged by ROZ? <|assistant|> SELECT "time" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_titleholders_and_runners_up" ( "host_city" text, "year" real, "winner" text, "1st_runner_up" text, "2nd_runner_up" text ); Question: What host city had a 2nd runner up of woon yeow? <|a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_titleholders_and_runners_up" ( "host_city" text, "year" real, "winner" text, "1st_runner_up" text, "2nd_runner_up" text ); Question: How many years did caroline lubrez win? <|assistant|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_titleholders_and_runners_up" ( "host_city" text, "year" real, "winner" text, "1st_runner_up" text, "2nd_runner_up" text ); Question: Who won after 2007 when deyra cimen was the 1st runn...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_titleholders_and_runners_up" ( "host_city" text, "year" real, "winner" text, "1st_runner_up" text, "2nd_runner_up" text ); Question: How many years was assel isabaeva the 2nd runner up?...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_titleholders_and_runners_up" ( "host_city" text, "year" real, "winner" text, "1st_runner_up" text, "2nd_runner_up" text ); Question: Who was the 2nd runner up in istanbul after 1994 whe...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "parishes" ( "official_name" text, "status" text, "area_km_2" real, "population" real, "census_ranking" text ); Question: Which Area km 2 has an Official Name of stanley, and a Population larger...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "parishes" ( "official_name" text, "status" text, "area_km_2" real, "population" real, "census_ranking" text ); Question: How much Area km 2 have a Population of 1,215? <|assistant|> SELECT COUN...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "parishes" ( "official_name" text, "status" text, "area_km_2" real, "population" real, "census_ranking" text ); Question: Which Census Ranking has a Population smaller than 879, and an Area km 2...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "parishes" ( "official_name" text, "status" text, "area_km_2" real, "population" real, "census_ranking" text ); Question: Which Census Ranking has an Area km 2 larger than 753.06, and an Officia...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "parishes" ( "official_name" text, "status" text, "area_km_2" real, "population" real, "census_ranking" text ); Question: Which Area km 2 has an Official Name of southampton, and a Population la...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "third_division_final_table" ( "position" real, "team" text, "played" real, "drawn" real, "lost" real, "goals_for" real, "goals_against" real, "goal_difference" text, "points_1" text ); ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "third_division_final_table" ( "position" real, "team" text, "played" real, "drawn" real, "lost" real, "goals_for" real, "goals_against" real, "goal_difference" text, "points_1" text ); ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "third_division_final_table" ( "position" real, "team" text, "played" real, "drawn" real, "lost" real, "goals_for" real, "goals_against" real, "goal_difference" text, "points_1" text ); ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "disc_1" ( "english_translation" text, "original_album" text, "lyricist_s" text, "composer_s" text, "time" text ); Question: What is Original Album, when English Translation is "With You"? <|ass...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "disc_1" ( "english_translation" text, "original_album" text, "lyricist_s" text, "composer_s" text, "time" text ); Question: What is the Original Album, when English Translation is "What Else Wi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "disc_1" ( "english_translation" text, "original_album" text, "lyricist_s" text, "composer_s" text, "time" text ); Question: What is English Translation, when Lyricist(s) is "Giorgos Moukidis", ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "disc_1" ( "english_translation" text, "original_album" text, "lyricist_s" text, "composer_s" text, "time" text ); Question: What is Original Album, when Time is "3:39"? <|assistant|> SELECT "or...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "disc_1" ( "english_translation" text, "original_album" text, "lyricist_s" text, "composer_s" text, "time" text ); Question: What is Time, when Lyricist(s) is Giorgos Moukidis, and when English ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "disc_1" ( "english_translation" text, "original_album" text, "lyricist_s" text, "composer_s" text, "time" text ); Question: What is Time, when Composer(s) is "Kyriakos Papadopoulos"? <|assistan...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_season" ( "date" text, "visitor" text, "score" text, "home" text, "record" text ); Question: Who was the visitor on March 27? <|assistant|> SELECT "visitor" FROM "regular_season" WHERE ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_season" ( "date" text, "visitor" text, "score" text, "home" text, "record" text ); Question: What was the score of the game on February 8? <|assistant|> SELECT "score" FROM "regular_sea...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_season" ( "date" text, "visitor" text, "score" text, "home" text, "record" text ); Question: What was their record on December 4? <|assistant|> SELECT "record" FROM "regular_season" WHE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_season" ( "date" text, "visitor" text, "score" text, "home" text, "record" text ); Question: What was the score on February 21 when the home team was the Pittsburgh Penguins? <|assistan...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final_leaderboard" ( "place" text, "player" text, "country" text, "score" text, "to_par" real, "money" real ); Question: WHAT IS THE LOWEST MONEY WITH TO PAR LARGER THAN 26? <|assistant|> SEL...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final_leaderboard" ( "place" text, "player" text, "country" text, "score" text, "to_par" real, "money" real ); Question: WHAT IS THE SCORE WITH $85 FOR CLARENCE HACKNEY? <|assistant|> SELECT ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final_leaderboard" ( "place" text, "player" text, "country" text, "score" text, "to_par" real, "money" real ); Question: WHAT IS THE LOWEST MONEY WITH 74-74-76-74=298 SCORE? <|assistant|> SEL...
<|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 is the week number for the date of September 14, 1980? <|assistant|> SELECT MAX("week")...
<|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 week was the result l 14–9? <|assistant|> SELECT "week" FROM "schedule" WHERE "result"=...
<|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 is the week number with attendance of 44,132? <|assistant|> SELECT COUNT("week") FROM "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race_calendar" ( "race_title" text, "circuit" text, "city_state" text, "date" text, "winner" text ); Question: Who was the winner for the circuit Eastern Creek Raceway? <|assistant|> SELECT "wi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race_calendar" ( "race_title" text, "circuit" text, "city_state" text, "date" text, "winner" text ); Question: What was the city for the winner Darren Hossack at the circuit of phillip island g...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race_calendar" ( "race_title" text, "circuit" text, "city_state" text, "date" text, "winner" text ); Question: What city was the circuit of mallala motor sport park? <|assistant|> SELECT "city_...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "first_round" ( "place" text, "player" text, "country" text, "score" real, "to_par" text ); Question: Which To par has a Place of t1, and a Country of india? <|assistant|> SELECT "to_par" FROM "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "first_round" ( "place" text, "player" text, "country" text, "score" real, "to_par" text ); Question: What is Brian Gay's place? <|assistant|> SELECT "place" FROM "first_round" WHERE "player"='b...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "first_round" ( "place" text, "player" text, "country" text, "score" real, "to_par" text ); Question: Which Country has a Score smaller than 70, and a Place of t3, and a Player of andrés romero?...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fleet_roster" ( "order_year" text, "builder" text, "model" text, "length_ft" text, "engine_transmission" text ); Question: What order year has a 30 Length (ft.) and 05.505 model? <|assistant|> ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fleet_roster" ( "order_year" text, "builder" text, "model" text, "length_ft" text, "engine_transmission" text ); Question: What builder has a 2001-02 order year? <|assistant|> SELECT "builder" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fleet_roster" ( "order_year" text, "builder" text, "model" text, "length_ft" text, "engine_transmission" text ); Question: What is the order year of obi builder and 05.505 model that is 30 feet...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_goalscorers" ( "player" text, "career" text, "goals_caps" text, "pct" real, "playing_status" text ); Question: What is the career of player serhiy konovalov, who has less than 1 pct.? <|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_goalscorers" ( "player" text, "career" text, "goals_caps" text, "pct" real, "playing_status" text ); Question: What is the career of player andriy husyn? <|assistant|> SELECT "career" FR...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "ukrainian_ssr_livestock_thousand_head" ( "year" real, "total_horses" real, "working_horses" text, "total_cattle" real, "oxen" real, "bulls" text, "cows" real, "pigs" real, "sheep_and_goa...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "ukrainian_ssr_livestock_thousand_head" ( "year" real, "total_horses" real, "working_horses" text, "total_cattle" real, "oxen" real, "bulls" text, "cows" real, "pigs" real, "sheep_and_goa...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "ukrainian_ssr_livestock_thousand_head" ( "year" real, "total_horses" real, "working_horses" text, "total_cattle" real, "oxen" real, "bulls" text, "cows" real, "pigs" real, "sheep_and_goa...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "ukrainian_ssr_livestock_thousand_head" ( "year" real, "total_horses" real, "working_horses" text, "total_cattle" real, "oxen" real, "bulls" text, "cows" real, "pigs" real, "sheep_and_goa...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "ukrainian_ssr_livestock_thousand_head" ( "year" real, "total_horses" real, "working_horses" text, "total_cattle" real, "oxen" real, "bulls" text, "cows" real, "pigs" real, "sheep_and_goa...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "decision" text, "attendance" real, "record" text ); Question: For the game ending with a record of 31-43-2, what was the decision? <|a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "decision" text, "attendance" real, "record" text ); Question: For the game that ended with a record of 28-35-1, what was the decision?...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "decision" text, "attendance" real, "record" text ); Question: WHAT IS THE HIGHEST ATTENDANCE FOR THE PHOENIX COYOTES? <|assistant|> SE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "decision" text, "attendance" real, "record" text ); Question: WHAT IS THE DECISION FOR NOVEMBER 28? <|assistant|> SELECT "decision" FR...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "resident_heads_of_missions" ( "mission" text, "location" text, "type" text, "head_of_mission" text, "position" text, "list" text ); Question: what is the mission when the location is rome? <|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "resident_heads_of_missions" ( "mission" text, "location" text, "type" text, "head_of_mission" text, "position" text, "list" text ); Question: what is the mission when the head of mission is p...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "resident_heads_of_missions" ( "mission" text, "location" text, "type" text, "head_of_mission" text, "position" text, "list" text ); Question: what is the location when the type is embassy and...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "resident_heads_of_missions" ( "mission" text, "location" text, "type" text, "head_of_mission" text, "position" text, "list" text ); Question: what is the location when the type is embassy and...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "resident_heads_of_missions" ( "mission" text, "location" text, "type" text, "head_of_mission" text, "position" text, "list" text ); Question: what is the mission when the location is brasilia...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "resident_heads_of_missions" ( "mission" text, "location" text, "type" text, "head_of_mission" text, "position" text, "list" text ); Question: what is the type when the position is ambassador ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_by_season" ( "season" text, "league" text, "finish" text, "wins" text, "losses" text, "pct" text ); Question: How many wins when the pct, is .848? <|assistant|> SELECT "wins" FROM "sea...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_by_season" ( "season" text, "league" text, "finish" text, "wins" text, "losses" text, "pct" text ); Question: Which season had 34 losses? <|assistant|> SELECT "season" FROM "season_by_...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_by_season" ( "season" text, "league" text, "finish" text, "wins" text, "losses" text, "pct" text ); Question: What was the finish in the playoffs season? <|assistant|> SELECT "finish" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_by_season" ( "season" text, "league" text, "finish" text, "wins" text, "losses" text, "pct" text ); Question: What is the number of wins in the playoffs league? <|assistant|> SELECT "w...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_by_season" ( "season" text, "league" text, "finish" text, "wins" text, "losses" text, "pct" text ); Question: What is the league with 0 losses? <|assistant|> SELECT "league" FROM "seas...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "third_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text ); Question: In what place is the player with a score of 72-66-75=213? <|assistant|> SELECT "place" FROM ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "third_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text ); Question: From what country is the player with a score of 68-71-76=215? <|assistant|> SELECT "country"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "third_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text ); Question: Which player has a score of 68-69-73=210 <|assistant|> SELECT "player" FROM "third_round" WH...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "made_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" text, "finish" text ); Question: Who has a finish of t66? <|assistant|> SELECT "player" FROM "made_the...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "made_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" text, "finish" text ); Question: What is Wayne Grady's total? <|assistant|> SELECT SUM("total") FROM "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "by_state" ( "state" text, "gr_ne" text, "fritz" text, "rett" text, "linke" text, "stark" text ); Question: What percent did GRÜNE get in Tyrol where RETTÖ got 0.6%? <|assistant|> SELECT "gr_n...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "by_state" ( "state" text, "gr_ne" text, "fritz" text, "rett" text, "linke" text, "stark" text ); Question: What percent did RETTÖ get in the state where LINKE got 0.1%, and FRITZ got 1.3%? <|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "by_state" ( "state" text, "gr_ne" text, "fritz" text, "rett" text, "linke" text, "stark" text ); Question: What percent did GRÜNE get in the state where FRITZ got 1.3%? <|assistant|> SELECT "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "by_state" ( "state" text, "gr_ne" text, "fritz" text, "rett" text, "linke" text, "stark" text ); Question: What percent did LINKE get in Tyrol? <|assistant|> SELECT "linke" FROM "by_state" WH...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "by_state" ( "state" text, "gr_ne" text, "fritz" text, "rett" text, "linke" text, "stark" text ); Question: What percent did STARK get in upper austria? <|assistant|> SELECT "stark" FROM "by_s...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1971" ( "opposing_teams" text, "against" real, "date" text, "venue" text, "status" text ); Question: What's the lowest against on 27/03/1971? <|assistant|> SELECT MIN("against") FROM "1971" WHE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1971" ( "opposing_teams" text, "against" real, "date" text, "venue" text, "status" text ); Question: What venue has an against over 14, an opposing team of scotland, and a status of five nation...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "third_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text ); Question: What is the T4 Place Player with a Score of 71-74-66=211? <|assistant|> SELECT "player" FROM...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "third_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text ); Question: With a To par of –1, what is Player Henrik Stenson's Score? <|assistant|> SELECT "score" FRO...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "third_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text ); Question: What is the To par of the Player with a Score of 73-67-68=208? <|assistant|> SELECT "to_par"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "comparison_of_features" ( "name" text, "wikis" text, "web_publishing" text, "calendaring_software" text, "project_management" text, "workflow_system" text, "document_management" text, "lis...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "comparison_of_features" ( "name" text, "wikis" text, "web_publishing" text, "calendaring_software" text, "project_management" text, "workflow_system" text, "document_management" text, "lis...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "comparison_of_features" ( "name" text, "wikis" text, "web_publishing" text, "calendaring_software" text, "project_management" text, "workflow_system" text, "document_management" text, "lis...