text
stringlengths
310
1.28k
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_one" ( "pick_num" real, "player" text, "nationality" text, "position" text, "nhl_team" text, "team_from" text, "league_from" text ); Question: Which Player has a Team from of south sh...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_one" ( "pick_num" real, "player" text, "nationality" text, "position" text, "nhl_team" text, "team_from" text, "league_from" text ); Question: Which NHL team has a League from of west...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_one" ( "pick_num" real, "player" text, "nationality" text, "position" text, "nhl_team" text, "team_from" text, "league_from" text ); Question: Which Position has a Pick # smaller than...
<|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: How much money did Willie Klein take home from the game in which he ha...
<|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 had an attendance more than 63,268 and Kansas City Chiefs as the opponent? <|assis...
<|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 attendance on September 11, 1988? <|assistant|> SELECT AVG("attendance") FROM "...
<|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 attendance on week 1? <|assistant|> SELECT "attendance" FROM "schedule" WHERE "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "a_lyga" ( "position" real, "club" text, "games_played" real, "wins" real, "draws" real, "loses" real, "goals_scored" real, "goals_conceded" real, "points" real ); Question: What was the...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "a_lyga" ( "position" real, "club" text, "games_played" real, "wins" real, "draws" real, "loses" real, "goals_scored" real, "goals_conceded" real, "points" real ); Question: What was the...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "managerial_changes" ( "team" text, "outgoing_manager" text, "manner_of_departure" text, "date_of_vacancy" text, "replaced_by" text, "date_of_appointment" text ); Question: Who is the Outgoing...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "managerial_changes" ( "team" text, "outgoing_manager" text, "manner_of_departure" text, "date_of_vacancy" text, "replaced_by" text, "date_of_appointment" text ); Question: What is the Date of...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2_lyga_zone_west" ( "position" real, "club" text, "games_played" real, "wins" real, "draws" real, "loses" real, "goals_scored" real, "goals_conceded" real, "points" real ); Question: Wh...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2_lyga_zone_west" ( "position" real, "club" text, "games_played" real, "wins" real, "draws" real, "loses" real, "goals_scored" real, "goals_conceded" real, "points" real ); Question: Wh...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2_lyga_zone_west" ( "position" real, "club" text, "games_played" real, "wins" real, "draws" real, "loses" real, "goals_scored" real, "goals_conceded" real, "points" real ); Question: Wh...
<|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" text, "money" real ); Question: Which Country has a To par of –2, and a Player of jim thorpe? <|assist...
<|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" text, "money" real ); Question: Name the Place which has To par of –5, in united states? <|assistant|...
<|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" text, "money" real ); Question: Name the To par of payne stewart? <|assistant|> SELECT "to_par" FROM "...
<|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" text, "money" real ); Question: WHo has a Country of united states and a To par of –3? <|assistant|> S...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "see_also" ( "harmonic" real, "ratio" text, "cents" real, "12_et_cents" text, "53_et_commas" real, "53_et_cents" real ); Question: What is the sum of cents that has 53ET cents less than 113.21...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "see_also" ( "harmonic" real, "ratio" text, "cents" real, "12_et_cents" text, "53_et_commas" real, "53_et_cents" real ); Question: What is the sum of cents that has 12ET cents of 100, and less...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "hydro_power_stations" ( "s_no" real, "power_plant" text, "state" text, "commissioned_capacity_mw" real, "year_of_commission" real ); Question: What power plant was commissioned in 2008? <|assis...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "awards_and_nominations" ( "year" real, "event" text, "category" text, "nominated_work" text, "result" text ); Question: What is the Nominated work of popularity award (actor in a motion picture...
<|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, "game_site" text, "record" text, "attendance" real ); Question: What is the game site of the game with the san diego ch...
<|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: What is the first round when team 1 was toulouse fc (d1)? <|assistant|> SELECT "1st_ro...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "record_against_other_players" ( "player" text, "ranking" real, "record" text, "hardcourt" text, "clay" text, "grass" text, "carpet" text ); Question: What is Shahar Pe'er's record? <|assist...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text ); Question: Which country placed t3 and had the player Fred Couples? <|assistant|> SELECT "country" FRO...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text ); Question: What is the to par for Fred Couples when the score is 68-66=134? <|assistant|> SELECT "to_p...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text ); Question: Which country scored 66-68=134? <|assistant|> SELECT "country" FROM "second_round" WHERE "s...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text ); Question: What did Fred Couples place? <|assistant|> SELECT "place" FROM "second_round" WHERE "player...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text ); Question: What player scored 68-66=134? <|assistant|> SELECT "player" FROM "second_round" WHERE "scor...
<|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" text, "money" real ); Question: What Player has a To par of +5 with a Score of 70-70-71-74=285? <|assi...
<|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" text, "money" real ); Question: What is the Place of the Player with a Score of 73-67-74-71=285? <|ass...
<|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" text, "money" real ); Question: What T9 Place Player had a Score of 73-67-74-71=285? <|assistant|> SEL...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real ); Question: Who is the player with a t8 place? <|assistant|> SELECT "player" FROM "final...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real ); Question: What is the average amount of money of players in t8 place with a 68-71-69-7...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real ); Question: What is the country of player vijay singh? <|assistant|> SELECT "country" FR...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "knockout_phase" ( "date" text, "round" text, "opponents" text, "h_a" text, "result_f_a" text, "attendance" real ); Question: What is the Result F-A that was the quarter-final first leg round ...
<|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 was the score when the decision was Raycroft, with attendance large...
<|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 was the opponent when the score was 3 - 2, and the decision was Ra...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_two" ( "pick_num" real, "player" text, "nationality" text, "position" text, "team_from" text, "league_from" text ); Question: Which Position has a League from of western hockey league, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_two" ( "pick_num" real, "player" text, "nationality" text, "position" text, "team_from" text, "league_from" text ); Question: Which Player has a Position of rw, and a League from of wes...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_two" ( "pick_num" real, "player" text, "nationality" text, "position" text, "team_from" text, "league_from" text ); Question: Which Pick # has a Nationality of canada, and a Team from o...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_two" ( "pick_num" real, "player" text, "nationality" text, "position" text, "team_from" text, "league_from" text ); Question: Which Pick # has a League from of ontario hockey league, a ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_two" ( "pick_num" real, "player" text, "nationality" text, "position" text, "team_from" text, "league_from" text ); Question: Which League from has a Position of lw, a Pick # larger tha...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_two" ( "pick_num" real, "player" text, "nationality" text, "position" text, "team_from" text, "league_from" text ); Question: Which Position has a Team from of ottawa 67's, and a Pick #...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "pennsylvania" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "results" text ); Question: Who is the republican Incumbent for Pennsylvania 9? <|assistant|> SELECT "incu...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "pennsylvania" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "results" text ); Question: What are the results for Bill Shuster? <|assistant|> SELECT "results" FROM "pe...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "pennsylvania" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "results" text ); Question: What is the greatest first elected for Pennsylvania 10? <|assistant|> SELECT M...
<|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 country had a Finish of t8? <|assistant|> SELECT "country" FROM ...
<|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 Player had a To Par of +2? <|assistant|> SELECT "player" FROM "m...
<|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 the To Par of the player with a t8 Finish? <|assistant|> SELE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "tallest_buildings" ( "rank" text, "name" text, "height_ft_m" text, "floors" real, "year" real ); Question: How tall is the building built in 1985 with 22 floors? <|assistant|> SELECT "height_ft...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "tallest_buildings" ( "rank" text, "name" text, "height_ft_m" text, "floors" real, "year" real ); Question: How many floors are in the building built after 2007, and ranked #10=? <|assistant|> S...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "tallest_buildings" ( "rank" text, "name" text, "height_ft_m" text, "floors" real, "year" real ); Question: How tall is the building ranked #13? <|assistant|> SELECT "height_ft_m" FROM "tallest_...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "title_holders_from_2000_until_2010" ( "year" real, "miss_universe_philippines" text, "binibining_pilipinas_world" text, "binibining_pilipinas_international" text, "binibining_pilipinas_tourism" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "title_holders_from_2000_until_2010" ( "year" real, "miss_universe_philippines" text, "binibining_pilipinas_world" text, "binibining_pilipinas_international" text, "binibining_pilipinas_tourism" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "title_holders_from_2000_until_2010" ( "year" real, "miss_universe_philippines" text, "binibining_pilipinas_world" text, "binibining_pilipinas_international" text, "binibining_pilipinas_tourism" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "cardinal_electors" ( "elector" text, "nationality" text, "order" text, "title" text, "elevated" text, "elevator" text ); Question: What order has the title Deacon of SS. Cosma E Damiano? <|as...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "widebody_specifications" ( "model" text, "eis_final_prod_year" text, "num_eng" real, "maximum_metric_mtow" text, "outside_diameter_main_passenger_deck" text ); Question: What is # Eng., when Ou...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_performance_timeline" ( "tournament" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text ); Question: What is 2009, when 2008 is "A", when 2011 is "A", and when Tour...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_performance_timeline" ( "tournament" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text ); Question: What is 2008, when 2009 is "A", and when Tournament is "Madrid ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_performance_timeline" ( "tournament" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text ); Question: What is Tournament, when 2012 is "A", when 2011 is "A", and whe...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_performance_timeline" ( "tournament" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text ); Question: What is 2009, when 2011 is "Q2"? <|assistant|> SELECT "2009" FR...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_performance_timeline" ( "tournament" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text ); Question: What is 2011, when Tournament is "Year-End Ranking"? <|assistan...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "missed_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" text, "to_par" text ); Question: What was Mark O'Meara's total? <|assistant|> SELECT "total" FROM "missed_the_cut" WH...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "missed_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" text, "to_par" text ); Question: What year did Tom Watson win? <|assistant|> SELECT "year_s_won" FROM "missed_the_cut...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "parliaments_of_king_henry_viii" ( "elected" text, "assembled" text, "dissolved" text, "1st_member" text, "2nd_member" text ); Question: Who was the 1st member elected in 1511/12? <|assistant|> ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "parliaments_of_king_henry_viii" ( "elected" text, "assembled" text, "dissolved" text, "1st_member" text, "2nd_member" text ); Question: Who was the 1st member of the parliament that was dissolv...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "parliaments_of_king_henry_viii" ( "elected" text, "assembled" text, "dissolved" text, "1st_member" text, "2nd_member" text ); Question: When was the parliament that was elected in 1509/10, and ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "parliaments_of_king_henry_viii" ( "elected" text, "assembled" text, "dissolved" text, "1st_member" text, "2nd_member" text ); Question: Who was the 1st member that was elected in 1541/42? <|ass...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "parliaments_of_king_henry_viii" ( "elected" text, "assembled" text, "dissolved" text, "1st_member" text, "2nd_member" text ); Question: Who was the 2nd member of the parliament that was assembl...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "parliaments_of_king_henry_viii" ( "elected" text, "assembled" text, "dissolved" text, "1st_member" text, "2nd_member" text ); Question: Who was the 2nd member of the parliament that was assembl...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1990s" ( "date" text, "result" text, "competition" text, "venue" text, "attendance" real ); Question: What date was the competition of the Emerging Nations Tournament and a result of Scotland 3...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "locomotives_of_the_early_period_for_all_" ( "class" text, "number_s" text, "quantity" text, "year_s_of_manufacture" text, "type" text ); Question: What number was manufactured 1 in 1841? <|assi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "locomotives_of_the_early_period_for_all_" ( "class" text, "number_s" text, "quantity" text, "year_s_of_manufacture" text, "type" text ); Question: What is the quantity of class B V? <|assistant...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "locomotives_of_the_early_period_for_all_" ( "class" text, "number_s" text, "quantity" text, "year_s_of_manufacture" text, "type" text ); Question: What number corresponds to the quantity of 24?...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "germany" ( "name" text, "pos" text, "height" text, "weight" text, "date_of_birth" text, "club" text ); Question: What is Tim Wollthan's Date of Birth? <|assistant|> SELECT "date_of_birth" FRO...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "germany" ( "name" text, "pos" text, "height" text, "weight" text, "date_of_birth" text, "club" text ); Question: What D Player with a Height of m (ft 4in) is in the Spandau 04 Club? <|assista...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "germany" ( "name" text, "pos" text, "height" text, "weight" text, "date_of_birth" text, "club" text ); Question: What is the Club of the Player with a Date of Birth of 1979-01-29? <|assistant...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "germany" ( "name" text, "pos" text, "height" text, "weight" text, "date_of_birth" text, "club" text ); Question: What is the Weight of the Spandau 04 Player with a Height of m (ft 5in)? <|ass...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "germany" ( "name" text, "pos" text, "height" text, "weight" text, "date_of_birth" text, "club" text ); Question: What is Spandau 04 Player Jens Pohlmann's Pos.? <|assistant|> SELECT "pos" FRO...
<|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 play is from Ireland? <|assistant|> SELECT "player" FROM "first_round" WHERE "country"...
<|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 is Howard Clark from? <|assistant|> SELECT "country" FROM "first_round" WHERE ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "medals_by_country" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real ); Question: What is the most silver medals won among nations that won more than 40 me...
<|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: Of the 1978 winners, who had finish totals smaller than 292? <|assist...
<|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 were the finishes by David Graham with totals lower than 292? <|...
<|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 Australia´s finish? <|assistant|> SELECT "finish" FROM "made_...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "churches_in_flora" ( "parish_prestegjeld" text, "sub_parish_sokn" text, "church_name" text, "year_built" text, "location_of_the_church" text ); Question: What is the name of the church that is ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "churches_in_flora" ( "parish_prestegjeld" text, "sub_parish_sokn" text, "church_name" text, "year_built" text, "location_of_the_church" text ); Question: What is the name of the church that is ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "churches_in_flora" ( "parish_prestegjeld" text, "sub_parish_sokn" text, "church_name" text, "year_built" text, "location_of_the_church" text ); Question: In which Parish (Prestegjeld) is the ch...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "churches_in_flora" ( "parish_prestegjeld" text, "sub_parish_sokn" text, "church_name" text, "year_built" text, "location_of_the_church" text ); Question: What is the Sub-Parish (Sokn) that was ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "churches_in_flora" ( "parish_prestegjeld" text, "sub_parish_sokn" text, "church_name" text, "year_built" text, "location_of_the_church" text ); Question: In what year was the church located in ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "churches_in_flora" ( "parish_prestegjeld" text, "sub_parish_sokn" text, "church_name" text, "year_built" text, "location_of_the_church" text ); Question: Which Parish (Prestegjeld) was built in...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "high_prominence_peaks" ( "mountain_peak" text, "height_metres" real, "prominence_metres" real, "height_feet" real, "prominence_feet" real ); Question: What's the height in feet of Mount Queen B...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "high_prominence_peaks" ( "mountain_peak" text, "height_metres" real, "prominence_metres" real, "height_feet" real, "prominence_feet" real ); Question: What's the total number of prominence in m...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "high_prominence_peaks" ( "mountain_peak" text, "height_metres" real, "prominence_metres" real, "height_feet" real, "prominence_feet" real ); Question: What's the total number of prominence in m...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2000s" ( "year" real, "network" text, "play_by_play" text, "colour_commentator_s" text, "sideline_reporters" text, "pregame_host" text, "pregame_analysts" text ); Question: What's the avera...
<|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, "game_site" text, "record" text, "attendance" real ); Question: What was the attendance on september 29? <|assistant|> ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "game_site" text, "record" text, "attendance" real ); Question: What was the attendance on september 8? <|assistant|> S...
<|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, "game_site" text, "record" text, "attendance" real ); Question: Which Week has a Result of l 10–30, and an Attendance l...