text
stringlengths
310
1.28k
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "royal_league_2005" ( "date" text, "venue" text, "opponents" text, "score" text, "round" text ); Question: What was the Score of the Semifinal 1? <|assistant|> SELECT "score" FROM "royal_league_...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "squad_information" ( "nat" text, "name" text, "since" text, "goals" real, "ends" text, "transfer_fee" text ); Question: What are the ends for the player with a transfer fee of loan? <|assista...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "squad_information" ( "nat" text, "name" text, "since" text, "goals" real, "ends" text, "transfer_fee" text ); Question: What is the transfer fee for the MLI player with fewer than 63 goals in...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "vassal_states" ( "state" text, "type" text, "name" text, "title" text, "royal_house" text ); Question: What is the royal house for Wu at the state of cai? <|assistant|> SELECT "royal_house" FRO...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "vassal_states" ( "state" text, "type" text, "name" text, "title" text, "royal_house" text ); Question: What is the state where the title is listed as count? <|assistant|> SELECT "state" FROM "v...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "vassal_states" ( "state" text, "type" text, "name" text, "title" text, "royal_house" text ); Question: What is the state for the royal house of ying? <|assistant|> SELECT "state" FROM "vassal_s...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "career_titles_13" ( "outcome" text, "date" real, "championship" text, "surface" text, "opponent_in_the_final" text, "score_in_the_final" text ); Question: Which Opponent in the final has a Sc...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "career_titles_13" ( "outcome" text, "date" real, "championship" text, "surface" text, "opponent_in_the_final" text, "score_in_the_final" text ); Question: How many Dates have a Score in the f...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "career_titles_13" ( "outcome" text, "date" real, "championship" text, "surface" text, "opponent_in_the_final" text, "score_in_the_final" text ); Question: Which Surface has an Outcome of runn...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "career_titles_13" ( "outcome" text, "date" real, "championship" text, "surface" text, "opponent_in_the_final" text, "score_in_the_final" text ); Question: Which Opponent in the final has an O...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "career_titles_13" ( "outcome" text, "date" real, "championship" text, "surface" text, "opponent_in_the_final" text, "score_in_the_final" text ); Question: Which Surface has a Score in the fin...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule_and_results" ( "game" real, "november" real, "opponent" text, "score" text, "record" text ); Question: What day in November has a record of 15-6-1? <|assistant|> SELECT AVG("november")...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule_and_results" ( "game" real, "november" real, "opponent" text, "score" text, "record" text ); Question: What day in November has the game less than 12? <|assistant|> SELECT "november" F...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule_and_results" ( "game" real, "november" real, "opponent" text, "score" text, "record" text ); Question: What is the earliest day in November with a record of 15-7-1? <|assistant|> SELEC...
<|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 Finish, when Country is "South Africa"? <|assistant|> SELECT ...
<|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 Player, when Country is "United States", and when Year(s) Won...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_of_16" ( "team_1" text, "score" text, "team_2" text, "1st_round" text, "2nd_round" text ); Question: Which first round has a first team of angers sco (d1)? <|assistant|> SELECT "1st_round...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "girone_a" ( "club" text, "city" text, "stadium" text, "capacity" real, "2007_08_season" text ); Question: In which stadium does Club Pro Patria play? <|assistant|> SELECT "stadium" FROM "girone...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "girone_a" ( "club" text, "city" text, "stadium" text, "capacity" real, "2007_08_season" text ); Question: What was the stadium in which the 2007-08 season placement was 8th in Serie c1/a? <|ass...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "girone_a" ( "club" text, "city" text, "stadium" text, "capacity" real, "2007_08_season" text ); Question: Which club came in 14th in Serie c1/a in the 2007-08 season? <|assistant|> SELECT "club...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "girone_a" ( "club" text, "city" text, "stadium" text, "capacity" real, "2007_08_season" text ); Question: What was the result of the 2007-08 season for the city of Ferrara? <|assistant|> SELECT...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "most_wickets" ( "player" text, "team" text, "matches" real, "overs" real, "wickets" real, "economy_rate" real, "average" real, "strike_rate" real, "best_bowling" text ); Question: How m...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "most_wickets" ( "player" text, "team" text, "matches" real, "overs" real, "wickets" real, "economy_rate" real, "average" real, "strike_rate" real, "best_bowling" text ); Question: What ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "most_wickets" ( "player" text, "team" text, "matches" real, "overs" real, "wickets" real, "economy_rate" real, "average" real, "strike_rate" real, "best_bowling" text ); Question: What ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_of_32" ( "date" text, "time" text, "home" text, "geust" text, "result" text ); Question: Who was the home team of the match on 21.10.07, which had bsc young boys (asl) as the geust? <|ass...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_of_32" ( "date" text, "time" text, "home" text, "geust" text, "result" text ); Question: What is the home of fc st. gallen (asl) geust? <|assistant|> SELECT "home" FROM "round_of_32" WHER...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_of_32" ( "date" text, "time" text, "home" text, "geust" text, "result" text ); Question: What is the home of the geust fc basel (asl)? <|assistant|> SELECT "home" FROM "round_of_32" WHERE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_of_32" ( "date" text, "time" text, "home" text, "geust" text, "result" text ); Question: What is the home of fc thun (asl) geust? <|assistant|> SELECT "home" FROM "round_of_32" WHERE "geu...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_of_32" ( "date" text, "time" text, "home" text, "geust" text, "result" text ); Question: What is the home of the match with a 0:2 result on 21.10.07? <|assistant|> SELECT "home" FROM "rou...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_of_32" ( "date" text, "time" text, "home" text, "geust" text, "result" text ); Question: What is the geust with a 0:1 result? <|assistant|> SELECT "geust" FROM "round_of_32" WHERE "result...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "grand_prix_standings" ( "player" text, "qual" text, "baku" text, "sochi" text, "elista" text, "nalchik" text, "jermuk" text, "astrakhan" text, "played" real ); Question: What is the nal...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "grand_prix_standings" ( "player" text, "qual" text, "baku" text, "sochi" text, "elista" text, "nalchik" text, "jermuk" text, "astrakhan" text, "played" real ); Question: What is the eli...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race" ( "driver" text, "team" text, "laps" real, "time_retired" text, "grid" real, "points" real ); Question: Which river had 26 points? <|assistant|> SELECT "driver" FROM "race" WHERE "point...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "similar_gauges" ( "name" text, "opened" text, "closed" text, "length" text, "location" text ); Question: What year did the Caphouse Colliery railway close? <|assistant|> SELECT "closed" FROM "s...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "pct_foreign_born_by_borough_1970_2006" ( "borough" text, "1970" real, "1980" real, "1990" real, "2000" real, "2006" real ); Question: What was the percentage in 2006 that had less than 9% in ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "pct_foreign_born_by_borough_1970_2006" ( "borough" text, "1970" real, "1980" real, "1990" real, "2000" real, "2006" real ); Question: What was the percentage in 1980 that had less than 37.8% ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "pct_foreign_born_by_borough_1970_2006" ( "borough" text, "1970" real, "1980" real, "1990" real, "2000" real, "2006" real ); Question: What was the percentage in 1980 in Brooklyn? <|assistant|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "league_cup" ( "date" text, "round" text, "opponent" text, "venue" text, "result" text, "attendance" real, "scorers" text ); Question: What is the result the R3 round? <|assistant|> SELECT "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "league_cup" ( "date" text, "round" text, "opponent" text, "venue" text, "result" text, "attendance" real, "scorers" text ); Question: What is the result of the game against Ayr United? <|as...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "date" text, "visitor" text, "score" text, "home" text, "decision" text, "attendance" real, "record" text, "points" real ); Question: What was the score for the game in which ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "date" text, "visitor" text, "score" text, "home" text, "decision" text, "attendance" real, "record" text, "points" real ); Question: What was the score of the game in which t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "draft_picks" ( "round" real, "pick" real, "player" text, "nationality" text, "school_club_team" text ); Question: When Jeb Barlow was picked in round smaller than 7, how many player in totals w...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "draft_picks" ( "round" real, "pick" real, "player" text, "nationality" text, "school_club_team" text ); Question: What country is team ucla come from? <|assistant|> SELECT "nationality" FROM "d...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "draft_picks" ( "round" real, "pick" real, "player" text, "nationality" text, "school_club_team" text ); Question: How many rounds have picked smaller than 220, with Alford Turner as a player? <...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "draft_picks" ( "round" real, "pick" real, "player" text, "nationality" text, "school_club_team" text ); Question: What is the pick with Dean Sears and round larger than 6? <|assistant|> SELECT ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "draft_picks" ( "round" real, "pick" real, "player" text, "nationality" text, "school_club_team" text ); Question: What is the total pick with Bill Duffy? <|assistant|> SELECT SUM("pick") FROM "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "draft_picks" ( "round" real, "pick" real, "player" text, "nationality" text, "school_club_team" text ); Question: What is the total round with pick of 109? <|assistant|> SELECT SUM("round") FRO...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nfl_draft" ( "round" real, "pick_num" real, "player" text, "position" text, "college" text ); Question: How many picks for round 12? <|assistant|> SELECT COUNT("pick_num") FROM "nfl_draft" WHER...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nfl_draft" ( "round" real, "pick_num" real, "player" text, "position" text, "college" text ); Question: What was Tom Donchez pick number? <|assistant|> SELECT "pick_num" FROM "nfl_draft" WHERE ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "matches" ( "opposing_team" text, "against" real, "date" text, "venue" text, "status" text ); Question: What is date when against is smaller than 6 and location was durban? <|assistant|> SELECT ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "discography" ( "year" real, "album" text, "artist" text, "song" text, "note" text ); Question: What was the note with a year after 2003? <|assistant|> SELECT "note" FROM "discography" WHERE "ye...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "discography" ( "year" real, "album" text, "artist" text, "song" text, "note" text ); Question: When was the note a vocals and the album north (original motion picture soundtrack)? <|assistant|>...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "discography" ( "year" real, "album" text, "artist" text, "song" text, "note" text ); Question: Which album had the note tape [tape echo]? <|assistant|> SELECT "album" FROM "discography" WHERE "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "discography" ( "year" real, "album" text, "artist" text, "song" text, "note" text ); Question: Which artist was 2003? <|assistant|> SELECT "artist" FROM "discography" WHERE "year"=2003;<|endoft...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_2_2009_11" ( "series_num" real, "season_num" real, "title" text, "directed_by" text, "written_by" text, "original_airdate" text ); Question: What is the Title of the episode after Seas...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_2_2009_11" ( "series_num" real, "season_num" real, "title" text, "directed_by" text, "written_by" text, "original_airdate" text ); Question: What is the Original airdate of the episode...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "moto_gp_classification" ( "rider" text, "manufacturer" text, "laps" real, "time" text, "grid" real ); Question: What is the average of laps ridden by Toni Elias? <|assistant|> SELECT AVG("laps"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "moto_gp_classification" ( "rider" text, "manufacturer" text, "laps" real, "time" text, "grid" real ); Question: How long did it take for the rider of a Yamaha with a grid less than 8 and laps l...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "moto_gp_classification" ( "rider" text, "manufacturer" text, "laps" real, "time" text, "grid" real ); Question: What is the fewest amount of laps when the grid was larger than 1 and 42:31.153? ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "moto_gp_classification" ( "rider" text, "manufacturer" text, "laps" real, "time" text, "grid" real ); Question: How long did it take to ride when the laps were 23 and the grid of 13? <|assistan...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real ); Question: What was the result for the 71,164 in attendance? <|assistant|> SELECT "result" FROM "schedu...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "tallest_buildings" ( "rank" text, "name" text, "height_m_ft" text, "floors" real, "year" text ); Question: Which rank is above floor 47? <|assistant|> SELECT "rank" FROM "tallest_buildings" WHE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "24_hours_of_le_mans_results" ( "year" real, "team" text, "co_drivers" text, "class" text, "laps" real, "pos" text, "class_pos" text ); Question: What class is the RML Team? <|assistant|> SE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nba_finals" ( "game" text, "date" text, "home_team" text, "result" text, "road_team" text ); Question: Which Result has a Home team of portland, and a Date of may 31? <|assistant|> SELECT "resu...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nba_finals" ( "game" text, "date" text, "home_team" text, "result" text, "road_team" text ); Question: Which Date has a Road team of portland, and a Game of game 5? <|assistant|> SELECT "date" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nba_finals" ( "game" text, "date" text, "home_team" text, "result" text, "road_team" text ); Question: Which Home team has a Road team of portland, and a Result of 104–110? <|assistant|> SELECT...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nba_finals" ( "game" text, "date" text, "home_team" text, "result" text, "road_team" text ); Question: Which Home team has a Game of game 5? <|assistant|> SELECT "home_team" FROM "nba_finals" W...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nba_finals" ( "game" text, "date" text, "home_team" text, "result" text, "road_team" text ); Question: Which Date has a Home team of philadelphia, and a Result of 104–110? <|assistant|> SELECT ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nba_finals" ( "game" text, "date" text, "home_team" text, "result" text, "road_team" text ); Question: Which Road team has a Home team of portland, and a Date of may 31? <|assistant|> SELECT "r...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "internal_correspondences" ( "tongan" text, "niuean" text, "s_moan" text, "takuu" text, "tahitian" text, "rarotongan" text, "m_ori" text, "north_marquesan" text, "south_marquesan" text, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "internal_correspondences" ( "tongan" text, "niuean" text, "s_moan" text, "takuu" text, "tahitian" text, "rarotongan" text, "m_ori" text, "north_marquesan" text, "south_marquesan" text, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "internal_correspondences" ( "tongan" text, "niuean" text, "s_moan" text, "takuu" text, "tahitian" text, "rarotongan" text, "m_ori" text, "north_marquesan" text, "south_marquesan" text, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "internal_correspondences" ( "tongan" text, "niuean" text, "s_moan" text, "takuu" text, "tahitian" text, "rarotongan" text, "m_ori" text, "north_marquesan" text, "south_marquesan" text, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "internal_correspondences" ( "tongan" text, "niuean" text, "s_moan" text, "takuu" text, "tahitian" text, "rarotongan" text, "m_ori" text, "north_marquesan" text, "south_marquesan" text, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "internal_correspondences" ( "tongan" text, "niuean" text, "s_moan" text, "takuu" text, "tahitian" text, "rarotongan" text, "m_ori" text, "north_marquesan" text, "south_marquesan" text, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "the_125_most_prominent_peaks" ( "peak" text, "location" text, "height_m" real, "prominence_m" real, "col_m" real, "parent" text ); Question: What is the maximum Col (m) when 3,046 is the Prom...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "the_125_most_prominent_peaks" ( "peak" text, "location" text, "height_m" real, "prominence_m" real, "col_m" real, "parent" text ); Question: What is the total Col (m) when the Prominence (m) ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "the_125_most_prominent_peaks" ( "peak" text, "location" text, "height_m" real, "prominence_m" real, "col_m" real, "parent" text ); Question: Where is the peak Pico Basilé located? <|assistant...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "comparison_with_contemporary_rifles" ( "rifle" text, "danish_krag_j_rgensen_1889" text, "us_krag_j_rgensen_m1892" text, "norwegian_krag_j_rgensen_m1894" text, "japanese_type_38_rifle" text, "g...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "comparison_with_contemporary_rifles" ( "rifle" text, "danish_krag_j_rgensen_1889" text, "us_krag_j_rgensen_m1892" text, "norwegian_krag_j_rgensen_m1894" text, "japanese_type_38_rifle" text, "g...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "comparison_with_contemporary_rifles" ( "rifle" text, "danish_krag_j_rgensen_1889" text, "us_krag_j_rgensen_m1892" text, "norwegian_krag_j_rgensen_m1894" text, "japanese_type_38_rifle" text, "g...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "comparison_with_contemporary_rifles" ( "rifle" text, "danish_krag_j_rgensen_1889" text, "us_krag_j_rgensen_m1892" text, "norwegian_krag_j_rgensen_m1894" text, "japanese_type_38_rifle" text, "g...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "comparison_with_contemporary_rifles" ( "rifle" text, "danish_krag_j_rgensen_1889" text, "us_krag_j_rgensen_m1892" text, "norwegian_krag_j_rgensen_m1894" text, "japanese_type_38_rifle" text, "g...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "comparison_with_contemporary_rifles" ( "rifle" text, "danish_krag_j_rgensen_1889" text, "us_krag_j_rgensen_m1892" text, "norwegian_krag_j_rgensen_m1894" text, "japanese_type_38_rifle" text, "g...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "winners" ( "year" real, "player" text, "team" text, "league" text, "position" text ); Question: What team has a national league in 2001? <|assistant|> SELECT "team" FROM "winners" WHERE "league...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "winners" ( "year" real, "player" text, "team" text, "league" text, "position" text ); Question: What is the league of the third baseman player before 1973? <|assistant|> SELECT "league" FROM "w...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "submissions" ( "year_ceremony" text, "film_title_used_in_nomination" text, "original_title" text, "director" text, "result" text ); Question: What is Original Title, when Film Title Used In Nom...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "submissions" ( "year_ceremony" text, "film_title_used_in_nomination" text, "original_title" text, "director" text, "result" text ); Question: What is Result, when Original Title is "Tiānmǎ Cháf...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "submissions" ( "year_ceremony" text, "film_title_used_in_nomination" text, "original_title" text, "director" text, "result" text ); Question: What is Film Title Used In Nomination, when Origina...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "submissions" ( "year_ceremony" text, "film_title_used_in_nomination" text, "original_title" text, "director" text, "result" text ); Question: What is the Original Title, when Director is "Ting ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "submissions" ( "year_ceremony" text, "film_title_used_in_nomination" text, "original_title" text, "director" text, "result" text ); Question: What is Year (Ceremony), when Director is "Wang Siu...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "submissions" ( "year_ceremony" text, "film_title_used_in_nomination" text, "original_title" text, "director" text, "result" text ); Question: What is Result, when Film Title Used In Nomination ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1954_to_1972" ( "issued" real, "type" text, "design" text, "serial_format" text, "serials_issued" text ); Question: What was the issued serial for yellow on blue design issued in 1955? <|assist...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1954_to_1972" ( "issued" real, "type" text, "design" text, "serial_format" text, "serials_issued" text ); Question: What is the serial format for white on blue with a serial issued of ss-00-00 ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1954_to_1972" ( "issued" real, "type" text, "design" text, "serial_format" text, "serials_issued" text ); Question: What is the issued serial given in 1966? <|assistant|> SELECT "serials_issued...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1954_to_1972" ( "issued" real, "type" text, "design" text, "serial_format" text, "serials_issued" text ); Question: What serial format was issued in 1972? <|assistant|> SELECT "serial_format" F...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1954_to_1972" ( "issued" real, "type" text, "design" text, "serial_format" text, "serials_issued" text ); Question: What type was issued in 1964? <|assistant|> SELECT "type" FROM "1954_to_1972"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "pre_season_tournaments_and_friendlies" ( "date" text, "tournament" text, "location" text, "opponent_team" text, "score" text ); Question: At which tournament does Milan play against Hungary's l...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "pre_season_tournaments_and_friendlies" ( "date" text, "tournament" text, "location" text, "opponent_team" text, "score" text ); Question: What was the final score on 1 August 2008? <|assistant|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "pre_season_tournaments_and_friendlies" ( "date" text, "tournament" text, "location" text, "opponent_team" text, "score" text ); Question: Where did Milan play against Napoli? <|assistant|> SELE...