text
stringlengths
310
1.28k
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "notation" ( "fraction" text, "ellipsis" text, "vinculum" text, "dots" text, "parentheses" text ); Question: What is the value of vinculum for parentheses of 0.(6)? <|assistant|> SELECT "vinculu...
<|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, "loss" text, "attendance" real, "record" text ); Question: When was the score 7-1? <|assistant|> SELECT "date" FROM "game_log" WHERE "s...
<|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, "loss" text, "attendance" real, "record" text ); Question: What was the loss when the score was 7-1? <|assistant|> SELECT "loss" FROM "...
<|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, "loss" text, "attendance" real, "record" text ); Question: What was the loss when the record was 46-59? <|assistant|> SELECT "loss" FRO...
<|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, "loss" text, "attendance" real, "record" text ); Question: Opponent of @ giants, and a Record of 8–12 had what score? <|assistant|> SEL...
<|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, "loss" text, "attendance" real, "record" text ); Question: Score of 4–0 had what attendance number? <|assistant|> SELECT COUNT("attenda...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2009_2010_table" ( "club" text, "played" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "tries_for" text, "tries_against" text, "try_bonus" text, "losing_bo...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2009_2010_table" ( "club" text, "played" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "tries_for" text, "tries_against" text, "try_bonus" text, "losing_bo...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2009_2010_table" ( "club" text, "played" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "tries_for" text, "tries_against" text, "try_bonus" text, "losing_bo...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2009_2010_table" ( "club" text, "played" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "tries_for" text, "tries_against" text, "try_bonus" text, "losing_bo...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2009_2010_table" ( "club" text, "played" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "tries_for" text, "tries_against" text, "try_bonus" text, "losing_bo...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2009_2010_table" ( "club" text, "played" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "tries_for" text, "tries_against" text, "try_bonus" text, "losing_bo...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "zakopane" ( "rank" real, "name" text, "nationality" text, "1st_m" real, "points" real, "overall_wc_points_rank" text ); Question: Which Rank is the lowest one that has a 1st (m) larger than 1...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule_and_results" ( "game" real, "december" real, "opponent" text, "score" text, "record" text ); Question: What was the score in the game where the record was 10-9-7? <|assistant|> SELECT ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule_and_results" ( "game" real, "december" real, "opponent" text, "score" text, "record" text ); Question: What was the first time in December they played the Colorado Avalanche? <|assista...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1970s_jets_12_8" ( "year" real, "date" text, "winner" text, "result" text, "loser" text, "location" text ); Question: What date was the winner the new york jets and a Result of 30–28? <|assis...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1970s_jets_12_8" ( "year" real, "date" text, "winner" text, "result" text, "loser" text, "location" text ); Question: What is the name of the location of the game with a Result of 21–16? <|as...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1970s_jets_12_8" ( "year" real, "date" text, "winner" text, "result" text, "loser" text, "location" text ); Question: What is the earliest year the new york jets won at harvard stadium? <|ass...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1970s_jets_12_8" ( "year" real, "date" text, "winner" text, "result" text, "loser" text, "location" text ); Question: Who lost at schaefer stadium when the Winner was new england patriots, an...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2008_09_table" ( "club" text, "played" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "tries_for" text, "tries_against" text, "try_bonus" text, "losing_bonu...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2008_09_table" ( "club" text, "played" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "tries_for" text, "tries_against" text, "try_bonus" text, "losing_bonu...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2008_09_table" ( "club" text, "played" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "tries_for" text, "tries_against" text, "try_bonus" text, "losing_bonu...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2008_09_table" ( "club" text, "played" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "tries_for" text, "tries_against" text, "try_bonus" text, "losing_bonu...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2008_09_table" ( "club" text, "played" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "tries_for" text, "tries_against" text, "try_bonus" text, "losing_bonu...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2008_09_table" ( "club" text, "played" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "tries_for" text, "tries_against" text, "try_bonus" text, "losing_bonu...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "game" real, "date" text, "opponent" text, "score" text, "record" text, "venue" text, "attendance" real ); Question: What attendance does 1-6 record have? <|assistant|> SELECT S...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "game" real, "date" text, "opponent" text, "score" text, "record" text, "venue" text, "attendance" real ); Question: What is the record of Tampa Bay Buccaneers? <|assistant|> SE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_two" ( "pick_num" text, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text ); Question: What Nationality has a Position of right wing, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_two" ( "pick_num" text, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text ); Question: What College/junior/club team has a Position of...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_two" ( "pick_num" text, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text ); Question: What is the NHL team that had pick number 32? <...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_two" ( "pick_num" text, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text ); Question: What is the Pick # for the College/junior/club ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_two" ( "pick_num" text, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text ); Question: What is the name of the Player that shows the N...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "participating_teams" ( "pos_in_2007" text, "club" text, "city" text, "best_position" text, "seasons_in_league" real ); Question: Which sum of Seasons in league has a Best Position of 5th (2007)...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "participating_teams" ( "pos_in_2007" text, "club" text, "city" text, "best_position" text, "seasons_in_league" real ); Question: Which City has Seasons in league of 17, and a Club of shakhter? ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "champions" ( "season" real, "driver" text, "team" text, "tyre" text, "points" real ); Question: What team won after 2008? <|assistant|> SELECT "team" FROM "champions" WHERE "season">2008;<|endo...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "champions" ( "season" real, "driver" text, "team" text, "tyre" text, "points" real ); Question: What team has fewer than 203 points? <|assistant|> SELECT "team" FROM "champions" WHERE "points"<...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "champions" ( "season" real, "driver" text, "team" text, "tyre" text, "points" real ); Question: What is total amount of points for the 2007 season? <|assistant|> SELECT SUM("points") FROM "cham...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "champions" ( "season" real, "driver" text, "team" text, "tyre" text, "points" real ); Question: Who is the driver for team CollΓ© Racing with more than 206 points? <|assistant|> SELECT "driver" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "week_3" ( "couple" text, "score" text, "style" text, "music" text, "result" text ); Question: What was the result when the couple was steve & anna? <|assistant|> SELECT "result" FROM "week_3" W...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "week_3" ( "couple" text, "score" text, "style" text, "music" text, "result" text ); Question: What was the score when the couple was shannon & derek? <|assistant|> SELECT "score" FROM "week_3" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "week_3" ( "couple" text, "score" text, "style" text, "music" text, "result" text ); Question: What music did Mario & Karina perform? <|assistant|> SELECT "music" FROM "week_3" WHERE "couple"='m...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "week_3" ( "couple" text, "score" text, "style" text, "music" text, "result" text ); Question: What was the result for Steve & Anna when the score was 21 (7, 7, 7)? <|assistant|> SELECT "result"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "week_3" ( "couple" text, "score" text, "style" text, "music" text, "result" text ); Question: What was the result when the score was 21 (7, 6, 8)? <|assistant|> SELECT "result" FROM "week_3" WH...
<|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, "attendance" real, "record" text, "points" real ); Question: Which Home has an Attendance larger than 17,250, and Points ...
<|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, "attendance" real, "record" text, "points" real ); Question: Which Points have a Score of 3–3, and a Date of november 11?...
<|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, "attendance" real, "record" text, "points" real ); Question: Which Date has a Home of pittsburgh, and a Record of 3–6–5? ...
<|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, "attendance" real, "record" text, "points" real ); Question: Which Record has a Score of 4–4, and Points of 17? <|assista...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "group_b" ( "pos" real, "matches" real, "wins" real, "loses" real, "results" text, "points" real, "diff" text ); Question: What's the highest Loses, with Wins that's larger than 3 and a Pos....
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "medal_count" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real ); Question: Which Rank has a Bronze larger than 1, and a Silver larger than 0, and a Nation...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "medal_count" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real ); Question: Which Bronze has a Total of 11, and a Silver smaller than 6? <|assistant|> SELE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "medal_count" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real ); Question: Which Bronze has a Nation of canada, and a Rank smaller than 6? <|assistant|> S...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "medal_count" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real ); Question: Which Gold has a Bronze larger than 6? <|assistant|> SELECT MIN("gold") FROM "m...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "medal_count" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real ); Question: Which Gold has a Rank larger than 6, and a Nation of netherlands, and a Bronze ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "spartana" ( "name" text, "capacity" text, "power" text, "type" text, "torque" text ); Question: What is the torque of the 1.6 petrol with daewoo power? <|assistant|> SELECT "torque" FROM "spart...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "spartana" ( "name" text, "capacity" text, "power" text, "type" text, "torque" text ); Question: What is the torque of 1.2 petrol? <|assistant|> SELECT "torque" FROM "spartana" WHERE "name"='1.2...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "spartana" ( "name" text, "capacity" text, "power" text, "type" text, "torque" text ); Question: What is the power of 1.9 diesel? <|assistant|> SELECT "power" FROM "spartana" WHERE "name"='1.9 d...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schema_of_the_quadrangles" ( "name" text, "number" text, "namesake" text, "albedo_feature_name" text, "area" text, "current_map" text ); Question: What is the current map designation of the f...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schema_of_the_quadrangles" ( "name" text, "number" text, "namesake" text, "albedo_feature_name" text, "area" text, "current_map" text ); Question: What is the Albedo name for Neruda? <|assist...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schema_of_the_quadrangles" ( "name" text, "number" text, "namesake" text, "albedo_feature_name" text, "area" text, "current_map" text ); Question: What number is Kuiper? <|assistant|> SELECT ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schema_of_the_quadrangles" ( "name" text, "number" text, "namesake" text, "albedo_feature_name" text, "area" text, "current_map" text ); Question: What is the current map designation of the f...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schema_of_the_quadrangles" ( "name" text, "number" text, "namesake" text, "albedo_feature_name" text, "area" text, "current_map" text ); Question: What is the current map designation for Debu...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schema_of_the_quadrangles" ( "name" text, "number" text, "namesake" text, "albedo_feature_name" text, "area" text, "current_map" text ); Question: What is the current map designation for Beet...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "bischofshofen" ( "rank" real, "name" text, "nationality" text, "1st_m" real, "2nd_m" real, "points" real, "overall_fht_points" text, "overall_wc_points_rank" text ); Question: What is the...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "bischofshofen" ( "rank" real, "name" text, "nationality" text, "1st_m" real, "2nd_m" real, "points" real, "overall_fht_points" text, "overall_wc_points_rank" text ); Question: What is the...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "approved" ( "rank" real, "name" text, "height_m_ft" text, "floors" real, "year_est" text, "city" text ); Question: What city ranked 7? <|assistant|> SELECT "city" FROM "approved" WHERE "rank"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "approved" ( "rank" real, "name" text, "height_m_ft" text, "floors" real, "year_est" text, "city" text ); Question: How many floors were there with a building rank of less than 3 and a height ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "approved" ( "rank" real, "name" text, "height_m_ft" text, "floors" real, "year_est" text, "city" text ); Question: What is the rank of Etihad Tower 5, with less than 62 floors? <|assistant|> ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "approved" ( "rank" real, "name" text, "height_m_ft" text, "floors" real, "year_est" text, "city" text ); Question: What city has a building ranked greater than 15 with floors greater than 43?...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "defunct_teams" ( "club" text, "sport" text, "league" text, "venue" text, "championships" real, "years_active" text ); Question: Which league is for baseball with Laredo Apaches? <|assistant|>...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "defunct_teams" ( "club" text, "sport" text, "league" text, "venue" text, "championships" real, "years_active" text ); Question: Which league has arena football in the club Laredo Lobos? <|ass...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "series_summary" ( "game" text, "date" text, "home_team" text, "result" text, "road_team" text, "tv_time" text ); Question: Which was the home team for game 3? <|assistant|> SELECT "home_team"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "series_summary" ( "game" text, "date" text, "home_team" text, "result" text, "road_team" text, "tv_time" text ); Question: What was the TV time for Chicago's road game against Phoenix on June...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "series_summary" ( "game" text, "date" text, "home_team" text, "result" text, "road_team" text, "tv_time" text ); Question: What was the TV time for the road game against Phoenix where the sco...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "series_summary" ( "game" text, "date" text, "home_team" text, "result" text, "road_team" text, "tv_time" text ); Question: Who was the home team on June 9? <|assistant|> SELECT "home_team" FR...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "series_summary" ( "game" text, "date" text, "home_team" text, "result" text, "road_team" text, "tv_time" text ); Question: What was the TV time for the game on June 9? <|assistant|> SELECT "t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_professional_sports_teams_in_the" ( "conference" text, "division" text, "team" text, "city" text, "home_stadium" text ); Question: At which Conference was the Division in the East, and ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_professional_sports_teams_in_the" ( "conference" text, "division" text, "team" text, "city" text, "home_stadium" text ); Question: What is the name of the Home Stadium in which the Divi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_professional_sports_teams_in_the" ( "conference" text, "division" text, "team" text, "city" text, "home_stadium" text ); Question: Which Home Stadium has American as its Conference as w...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_professional_sports_teams_in_the" ( "conference" text, "division" text, "team" text, "city" text, "home_stadium" text ); Question: What is the name of the Conference which Division is s...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_professional_sports_teams_in_the" ( "conference" text, "division" text, "team" text, "city" text, "home_stadium" text ); Question: Which Division does the City being jacksonville, flori...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "past_winners" ( "year" real, "men_s_singles" text, "women_s_singles" text, "men_s_doubles" text, "women_s_doubles" text, "mixed_doubles" text ); Question: Who won Women's doubles when Raina T...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "past_winners" ( "year" real, "men_s_singles" text, "women_s_singles" text, "men_s_doubles" text, "women_s_doubles" text, "mixed_doubles" text ); Question: Who won men's singles when petya ned...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "past_winners" ( "year" real, "men_s_singles" text, "women_s_singles" text, "men_s_doubles" text, "women_s_doubles" text, "mixed_doubles" text ); Question: Who won men's singles when petya ned...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "past_winners" ( "year" real, "men_s_singles" text, "women_s_singles" text, "men_s_doubles" text, "women_s_doubles" text, "mixed_doubles" text ); Question: Who won women's singles in 1986? <|a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "date" text, "opponent" text, "score" text, "record" text, "television" text ); Question: What score has 1/22 as the date? <|assistant|> SELECT "score" FROM "schedule" WHERE "date"=...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "date" text, "opponent" text, "score" text, "record" text, "television" text ); Question: What score has 12/1 as the date? <|assistant|> SELECT "score" FROM "schedule" WHERE "date"=...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_source_code_editors" ( "editor" text, "site" text, "style_clone_of" text, "cost_us" text, "open_source" text, "activity" text ); Question: Which source has a Cost free, and an Activit...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_source_code_editors" ( "editor" text, "site" text, "style_clone_of" text, "cost_us" text, "open_source" text, "activity" text ); Question: Which site has a Cost free and a Editor of j...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_source_code_editors" ( "editor" text, "site" text, "style_clone_of" text, "cost_us" text, "open_source" text, "activity" text ); Question: What is the cost of an Open Source that is n...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2006_07_season_as_a_five_year_old" ( "result" text, "date" text, "race" text, "venue" text, "group" text, "distance" text, "weight_kg" real, "jockey" text, "winner_2nd" text ); Question...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2006_07_season_as_a_five_year_old" ( "result" text, "date" text, "race" text, "venue" text, "group" text, "distance" text, "weight_kg" real, "jockey" text, "winner_2nd" text ); Question...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_four" ( "pick_num" real, "mls_team" text, "player" text, "position" text, "affiliation" text ); Question: Which position has 45 picks? <|assistant|> SELECT "position" FROM "round_four" WH...
<|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, "record" text, "game_site" text, "attendance" text ); Question: What is the record of the game before week 5 and a bye ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "percentage_pole_positions" ( "driver" text, "seasons" text, "entries" real, "poles" real, "percentage" text ); Question: Which Seasons have Entries larger than 52, and Poles of 33? <|assistant|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "percentage_pole_positions" ( "driver" text, "seasons" text, "entries" real, "poles" real, "percentage" text ); Question: Which Seasons have a Poles larger than 29, and Entries larger than 191? ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "matches_in_europe" ( "competition" text, "round" text, "opposition" text, "home_leg" text, "away_leg" text ); Question: What ist the Away Leg with an Opposition that is aarhus gymnastik forenin...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_statistics" ( "tournament" text, "2006" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text ); Question: What 2007 has 236 for 2006? <|assistant|> S...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_statistics" ( "tournament" text, "2006" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text ); Question: What 2011 has 2r as 2010, and a 2008 of A? ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_statistics" ( "tournament" text, "2006" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text ); Question: What is the 2012 that has tournament played...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "semifinal_1" ( "draw" real, "artist" text, "song" text, "points" real, "place" real ); Question: Which artist had a place larger than 1 with 229 points? <|assistant|> SELECT "artist" FROM "semi...