text
stringlengths
310
1.28k
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_5_3_2" ( "outcome" text, "date" text, "championship" text, "surface" text, "opponent_in_the_final" text, "score_in_the_final" text ); Question: What Championship has a Score in the fi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2004_nfl_draft" ( "round" real, "pick_num" real, "overall" real, "name" text, "position" text, "college" text ); Question: What was the lowest pick number with an overall 86? <|assistant|> SE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2004_nfl_draft" ( "round" real, "pick_num" real, "overall" real, "name" text, "position" text, "college" text ); Question: What is the name of a pick more than 5 at Washington College? <|assi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2004_nfl_draft" ( "round" real, "pick_num" real, "overall" real, "name" text, "position" text, "college" text ); Question: What is the sum of the Pick # Anthony Maddox? <|assistant|> SELECT S...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_contents" ( "standard_order" real, "english_translation" text, "transcription_based_on_pinyin" text, "traditional_chinese" text, "simplified_chinese" text ); Question: Which number is 國...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_contents" ( "standard_order" real, "english_translation" text, "transcription_based_on_pinyin" text, "traditional_chinese" text, "simplified_chinese" text ); Question: What is the Tradi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_contents" ( "standard_order" real, "english_translation" text, "transcription_based_on_pinyin" text, "traditional_chinese" text, "simplified_chinese" text ); Question: What is the Engli...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "most_assists" ( "name" text, "years" text, "mls_cup" real, "u_s_open_cup" real, "concacaf" real, "other" real, "total" real ); Question: What is the total where there are 4 MLS Cups and mor...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "winfield_triple_challenge" ( "driver" text, "race_1" real, "race_2" text, "race_3" text, "points" real ); Question: Which race 3 has points greater than 36, and 2 as the race 1? <|assistant|> S...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "winfield_triple_challenge" ( "driver" text, "race_1" real, "race_2" text, "race_3" text, "points" real ); Question: How many race 1's have 5 as the race 3, with points less than 59? <|assistant...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "winfield_triple_challenge" ( "driver" text, "race_1" real, "race_2" text, "race_3" text, "points" real ); Question: What driver has points less than 17? <|assistant|> SELECT "driver" FROM "winf...
<|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" real, "money" text ); Question: Who is from south africa and has a score of 76-75-73-71=295? <|assistant|> S...
<|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" real, "money" text ); Question: What is the lowest to par of a player from australia with a score of 76-70-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" real, "money" text ); Question: What is the money with a Score of 76-70-75-72=293? <|assistant|> SELECT "mon...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "zune_hd_games" ( "title" text, "developer" text, "genre" text, "release_date" text, "version" real ); Question: What is Title, when Developer is "2Play Mobile", and when Genre is "Action"? <|as...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "zune_hd_games" ( "title" text, "developer" text, "genre" text, "release_date" text, "version" real ); Question: What is the highest Version, when Release Date is "2011-04-01"? <|assistant|> SEL...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "zune_hd_games" ( "title" text, "developer" text, "genre" text, "release_date" text, "version" real ); Question: What is Version, when Genre is "Action", and when Title is "Hairball"? <|assistan...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_of_16" ( "date" text, "score" text, "set_1" text, "set_2" text, "total" text ); Question: What is the Set 1 of the 45:40 Total? <|assistant|> SELECT "set_1" FROM "round_of_16" WHERE "tota...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_of_16" ( "date" text, "score" text, "set_1" text, "set_2" text, "total" text ); Question: What is the Total of the 24:26 Set 1? <|assistant|> SELECT "total" FROM "round_of_16" WHERE "set_...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_of_16" ( "date" text, "score" text, "set_1" text, "set_2" text, "total" text ); Question: What is the Total of Set 2 of 21:12? <|assistant|> SELECT "total" FROM "round_of_16" WHERE "set_2...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_of_16" ( "date" text, "score" text, "set_1" text, "set_2" text, "total" text ); Question: What is the Total of Set 2 of 24:22? <|assistant|> SELECT "total" FROM "round_of_16" WHERE "set_2...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_of_16" ( "date" text, "score" text, "set_1" text, "set_2" text, "total" text ); Question: What is the date of the 21:12 Set 2? <|assistant|> SELECT "date" FROM "round_of_16" WHERE "set_2"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "engines" ( "engine" text, "power" text, "torque" text, "0_100km_h_62mph" text, "top_speed" text ); Question: What is the torque of the 5.8l v12 engine? <|assistant|> SELECT "torque" FROM "engin...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "engines" ( "engine" text, "power" text, "torque" text, "0_100km_h_62mph" text, "top_speed" text ); Question: What is the torque of the 6.3l v12 engine? <|assistant|> SELECT "torque" FROM "engin...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "engines" ( "engine" text, "power" text, "torque" text, "0_100km_h_62mph" text, "top_speed" text ); Question: What is the 0-100km/h (62mph) of the supercharged 5.4l v8 engine? <|assistant|> SELE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "mississippi_counties_ranked_by_per_capit" ( "county" text, "per_capita_income" text, "median_household_income" text, "population" real, "number_of_households" real ); Question: What is the popu...
<|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 Place, when Player is "Ben Crenshaw"? <|assistant|> SELECT "place" F...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "results" ( "shooter" text, "prone" real, "stand" real, "kneel" real, "qual" real ); Question: What is the highest kneel with a stand less than 187, and a 197 prone, and a qual more than 576? <|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "results" ( "shooter" text, "prone" real, "stand" real, "kneel" real, "qual" real ); Question: What is the sum of the stand with a qual more than 589? <|assistant|> SELECT SUM("stand") FROM "res...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_of_sixteen" ( "team_1" text, "agg" text, "team_2" text, "1st_leg" text, "2nd_leg" text ); Question: What is the 1st leg in the match where Remo (PA) is team 1? <|assistant|> SELECT "1st_l...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_of_sixteen" ( "team_1" text, "agg" text, "team_2" text, "1st_leg" text, "2nd_leg" text ); Question: Who is team 1 where team 2 is Fluminense (RJ)? <|assistant|> SELECT "team_1" FROM "roun...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "international_goals" ( "date" text, "venue" text, "score" text, "result" text, "competition" text ); Question: What is the venue for the friendly competition at Dreisamstadion, Freiburg? <|assi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "international_goals" ( "date" text, "venue" text, "score" text, "result" text, "competition" text ); Question: What is the result at Dreisamstadion, Freiburg? <|assistant|> SELECT "result" FROM...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "first_round_selections" ( "pick" real, "player" text, "team" text, "position" text, "hometown_school" text ); Question: What is Team, when Position is "LHP", and when Pick is "23"? <|assistant|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "first_round_selections" ( "pick" real, "player" text, "team" text, "position" text, "hometown_school" text ); Question: What is the highest Pick, when Player is "Todd Van Poppel"? <|assistant|>...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "first_round_selections" ( "pick" real, "player" text, "team" text, "position" text, "hometown_school" text ); Question: What is Player, when Pick is "26"? <|assistant|> SELECT "player" FROM "fi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "first_round_selections" ( "pick" real, "player" text, "team" text, "position" text, "hometown_school" text ); Question: What is Posititon, when Hometown/School is "Westlake, California"? <|assi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "first_round_selections" ( "pick" real, "player" text, "team" text, "position" text, "hometown_school" text ); Question: What is Player, when Position is "SS", and when Pick is "11"? <|assistant...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "north_dakota_counties_by_per_capita_inco" ( "county" text, "per_capita_income" text, "median_household_income" text, "median_family_income" text, "population" real, "number_of_households" real...
<|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 rank for the nation with 0 silver medals and a total larger than 2...
<|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 least silvers where there are 39 bronzes and the total is less tha...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "jersey_progress" ( "stage" text, "winner" text, "general_classification" text, "mountains_classification" text, "points_classification" text, "sprints_classification" text, "team_classificat...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "jersey_progress" ( "stage" text, "winner" text, "general_classification" text, "mountains_classification" text, "points_classification" text, "sprints_classification" text, "team_classificat...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "jersey_progress" ( "stage" text, "winner" text, "general_classification" text, "mountains_classification" text, "points_classification" text, "sprints_classification" text, "team_classificat...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "jersey_progress" ( "stage" text, "winner" text, "general_classification" text, "mountains_classification" text, "points_classification" text, "sprints_classification" text, "team_classificat...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "jersey_progress" ( "stage" text, "winner" text, "general_classification" text, "mountains_classification" text, "points_classification" text, "sprints_classification" text, "team_classificat...
<|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 Player has a To par of +1 and a Score of 73-71-71=217? <|assistant|> SELECT "player" FR...
<|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 Player's had a To par of +1 and a Score of 73-71-73=217? <|assistant|> SELECT "player" ...
<|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 Fuzzy Zoeller's Score? <|assistant|> SELECT "score" FROM "third_round" WHERE "player...
<|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 Country of the Player with a Score of 71-73-71=215? <|assistant|> SELECT "countr...
<|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 Country of the Player with a To par of –4? <|assistant|> SELECT "country" 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: What is the Country of the Player with a To par of +1 and a Score of 75-69-73=217? <|assista...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "group_ii" ( "position" real, "club" text, "played" real, "points" real, "wins" real, "draws" real, "losses" real, "goals_for" real, "goals_against" real, "goal_difference" real ); Que...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "group_ii" ( "position" real, "club" text, "played" real, "points" real, "wins" real, "draws" real, "losses" real, "goals_for" real, "goals_against" real, "goal_difference" real ); Que...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "group_ii" ( "position" real, "club" text, "played" real, "points" real, "wins" real, "draws" real, "losses" real, "goals_for" real, "goals_against" real, "goal_difference" real ); Que...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "group_ii" ( "position" real, "club" text, "played" real, "points" real, "wins" real, "draws" real, "losses" real, "goals_for" real, "goals_against" real, "goal_difference" real ); Que...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "group_ii" ( "position" real, "club" text, "played" real, "points" real, "wins" real, "draws" real, "losses" real, "goals_for" real, "goals_against" real, "goal_difference" real ); Que...
<|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" text ); Question: What Date was the Game at Griffith Stadium? <|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" text ); Question: What attendance is listed against the date of bye? <|as...
<|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" text ); Question: What date is week 3? <|assistant|> SELECT "date" FROM "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "timeline_of_tallest_buildings_and_struct" ( "name" text, "location" text, "years_as_tallest" text, "height_metres_ft" text, "floors" text ); Question: Which Floors has a Location of tower hill?...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "timeline_of_tallest_buildings_and_struct" ( "name" text, "location" text, "years_as_tallest" text, "height_metres_ft" text, "floors" text ); Question: Which Location has a Floors of 03.0 n/a? <...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "timeline_of_tallest_buildings_and_struct" ( "name" text, "location" text, "years_as_tallest" text, "height_metres_ft" text, "floors" text ); Question: Name the Height metres / ft of Floors of 0...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "timeline_of_tallest_buildings_and_struct" ( "name" text, "location" text, "years_as_tallest" text, "height_metres_ft" text, "floors" text ); Question: Name the Years as tallest that has Height ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "timeline_of_tallest_buildings_and_struct" ( "name" text, "location" text, "years_as_tallest" text, "height_metres_ft" text, "floors" text ); Question: Name the Years as tallest has a Height met...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "timeline_of_tallest_buildings_and_struct" ( "name" text, "location" text, "years_as_tallest" text, "height_metres_ft" text, "floors" text ); Question: Name the Height metres / ft of Years with ...
<|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: How many scores have a Place of t5? <|assistant|> SELECT COUNT("score") FROM "first_round" W...
<|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 Score smaller than 70, and a Player of matt kowal? <|assistant|> SELECT "...
<|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 Score has a To Par of –1? <|assistant|> SELECT MIN("score") FROM "first_round" WHERE "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "release_history" ( "region" text, "date" text, "label" text, "format" text, "catalog" real ); Question: what is the date for catolog 88697185162 when the region is canada? <|assistant|> SELECT ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "churches_in_vik" ( "parish_prestegjeld" text, "sub_parish_sokn" text, "church_name" text, "year_built" text, "location_of_the_church" text ); Question: Which parish has a church named Vangsnes ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "churches_in_vik" ( "parish_prestegjeld" text, "sub_parish_sokn" text, "church_name" text, "year_built" text, "location_of_the_church" text ); Question: Which Sub-Parish has a church built in 18...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "churches_in_vik" ( "parish_prestegjeld" text, "sub_parish_sokn" text, "church_name" text, "year_built" text, "location_of_the_church" text ); Question: When was the Hopperstad Stavkyrkje built?...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "churches_in_vik" ( "parish_prestegjeld" text, "sub_parish_sokn" text, "church_name" text, "year_built" text, "location_of_the_church" text ); Question: When was the church in Arnafjord built? <...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "churches_in_vik" ( "parish_prestegjeld" text, "sub_parish_sokn" text, "church_name" text, "year_built" text, "location_of_the_church" text ); Question: What is the Sub-Parish called that has a ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "churches_in_vik" ( "parish_prestegjeld" text, "sub_parish_sokn" text, "church_name" text, "year_built" text, "location_of_the_church" text ); Question: What is the church in the Sub-Parish of F...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "dates" ( "date" text, "city" text, "country" text, "venue" text, "time" text ); Question: What is the time for Sheffield? <|assistant|> SELECT "time" FROM "dates" WHERE "city"='sheffield';<|end...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final_standings" ( "place" text, "competitor" text, "downhill_points" real, "slalom_points" text, "total" text ); Question: What are the total points for the skier with 3.18 slalom points? <|as...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final_standings" ( "place" text, "competitor" text, "downhill_points" real, "slalom_points" text, "total" text ); Question: What place is the skier with 7.73 downhill points? <|assistant|> SELE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final_standings" ( "place" text, "competitor" text, "downhill_points" real, "slalom_points" text, "total" text ); Question: What are the downhill points for the skier with total of 9.31 points?...
<|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 rank for the player where there are 11 points? <|assistant|> SELECT...
<|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: Which shooter had a total of 11 at the WC Munich with a score of 6? <|assistant...
<|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 event where there are 10 score points? <|assistant|> SELECT "event"...
<|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: Who is the shooter that is the Defending Champion? <|assistant|> SELECT "shoote...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nationwide_free_to_air_dvb_t_television_" ( "name" text, "owner" text, "programming" text, "type" text, "encryption" text ); Question: Which owner had MRT 1 HD? <|assistant|> SELECT "owner" FRO...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nationwide_free_to_air_dvb_t_television_" ( "name" text, "owner" text, "programming" text, "type" text, "encryption" text ); Question: What is the programming for mrt sobraniski kanal? <|assist...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nationwide_free_to_air_dvb_t_television_" ( "name" text, "owner" text, "programming" text, "type" text, "encryption" text ); Question: What is the type for a general programming and the owner t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nationwide_free_to_air_dvb_t_television_" ( "name" text, "owner" text, "programming" text, "type" text, "encryption" text ); Question: What is the programming for Kanal 5? <|assistant|> SELECT ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "weekdays" text, "5_55" text, "10_00" text, "15_00" text, "16_00" text, "17_30" text, "18_00" text, "19_15" text, "19_26" text, "20_00" text, "20_30" text, "21_00" text...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_3_2" ( "edition" text, "round" text, "date" text, "partner" text, "surface" text, "opponents" text, "result" text ); Question: What was the surface on march 2, 1997? <|assistant|> S...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_3_2" ( "edition" text, "round" text, "date" text, "partner" text, "surface" text, "opponents" text, "result" text ); Question: What was the result when the partner was magdalena mal...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_3_2" ( "edition" text, "round" text, "date" text, "partner" text, "surface" text, "opponents" text, "result" text ); Question: What edition had magdalena maleeva as partner? <|assis...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_3_2" ( "edition" text, "round" text, "date" text, "partner" text, "surface" text, "opponents" text, "result" text ); Question: Who was partner for the 1988 world group i edition? <|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_3_2" ( "edition" text, "round" text, "date" text, "partner" text, "surface" text, "opponents" text, "result" text ); Question: What was the result on july 16, 1992? <|assistant|> SE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "achievements" ( "year" real, "competition" text, "venue" text, "position" text, "event" text ); Question: What is the event that is in 8th position? <|assistant|> SELECT "event" FROM "achieveme...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "achievements" ( "year" real, "competition" text, "venue" text, "position" text, "event" text ); Question: What is the event in a year before 1989? <|assistant|> SELECT "event" FROM "achievement...
<|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 total medals in 1964? <|assistant|> SELECT MIN("total") F...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "college_career_statistics" ( "season" text, "gp_mp" text, "kills" real, "k_game" real, "errors" real, "total_attempts" real, "percentage" real, "assists" real, "service_aces" real, "di...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "college_career_statistics" ( "season" text, "gp_mp" text, "kills" real, "k_game" real, "errors" real, "total_attempts" real, "percentage" real, "assists" real, "service_aces" real, "di...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "college_career_statistics" ( "season" text, "gp_mp" text, "kills" real, "k_game" real, "errors" real, "total_attempts" real, "percentage" real, "assists" real, "service_aces" real, "di...