text
stringlengths
310
1.28k
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "man_of_the_match_award" ( "s_no" real, "opponent" text, "venue" text, "date" text, "match_performance" text ); Question: what is the number of people in sri lanka <|assistant|> SELECT AVG("s_no...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "teams_and_venues" ( "team" text, "location" text, "venue" text, "capacity" real, "position_in_1998" text ); Question: What was the position of the Slavia team in 1998? <|assistant|> SELECT "pos...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "teams_and_venues" ( "team" text, "location" text, "venue" text, "capacity" real, "position_in_1998" text ); Question: What was the position of the team that played in a venue in Dinamo, Minsk w...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "teams_and_venues" ( "team" text, "location" text, "venue" text, "capacity" real, "position_in_1998" text ); Question: Which team is located in Lida? <|assistant|> SELECT "team" FROM "teams_and_...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "series_4_1999" ( "episode_no" text, "episode_title" text, "uk_broadcast_date" text, "presenter" text, "details_of_journey" text, "countries_visited" text ); Question: Which episode number vis...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "series_4_1999" ( "episode_no" text, "episode_title" text, "uk_broadcast_date" text, "presenter" text, "details_of_journey" text, "countries_visited" text ); Question: Which episode title feat...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "draft_picks" ( "round" real, "player" text, "position" text, "nationality" text, "college_junior_club_team_league" text ); Question: Which position does Jesse Boulerice play? <|assistant|> SELE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "most_wins_in_a_season" ( "driver" text, "season" text, "wins" real, "entries" text, "percentage" text ); Question: What is the fewest number of wins in the chart for Ayrton Senna? <|assistant|>...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "most_wins_in_a_season" ( "driver" text, "season" text, "wins" real, "entries" text, "percentage" text ); Question: What is the number of entries associated with more than 11 wins? <|assistant|>...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "group_2" ( "games" real, "drawn" real, "lost" real, "goal_difference" text, "points" real ); Question: Name the most points with lost more than 1 and games less than 5 <|assistant|> SELECT MAX(...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "group_2" ( "games" real, "drawn" real, "lost" real, "goal_difference" text, "points" real ); Question: Name the sum of drawn with lost more than 1 and games less than 5 <|assistant|> SELECT SUM...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "group_2" ( "games" real, "drawn" real, "lost" real, "goal_difference" text, "points" real ); Question: Name the least lost with points more than 6 and games less than 5 <|assistant|> SELECT MIN...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "group_2" ( "games" real, "drawn" real, "lost" real, "goal_difference" text, "points" real ); Question: Name the sum of points with games less than 5 <|assistant|> SELECT SUM("points") FROM "gro...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" real, "time" text, "location" text ); Question: What was the location of the ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" real, "time" text, "location" text ); Question: What was the record after the...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "player_selections" ( "year_a" real, "pick" text, "player_name" text, "position" text, "college" text ); Question: Who was a defensive end at California? <|assistant|> SELECT "player_name" FROM ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "player_selections" ( "year_a" real, "pick" text, "player_name" text, "position" text, "college" text ); Question: Which players were selected after 2011? <|assistant|> SELECT "player_name" FROM...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "player_selections" ( "year_a" real, "pick" text, "player_name" text, "position" text, "college" text ); Question: Who was a linebacker at Tennessee? <|assistant|> SELECT "player_name" FROM "pla...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "leaders" ( "rank" real, "player" text, "country" text, "earnings" real, "events" real, "wins" real ); Question: Which Wins is the lowest one that has Events larger than 30? <|assistant|> SELE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "leaders" ( "rank" real, "player" text, "country" text, "earnings" real, "events" real, "wins" real ); Question: Which Events have Earnings ($) of 1,841,117, and a Rank smaller than 4? <|assis...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "leaders" ( "rank" real, "player" text, "country" text, "earnings" real, "events" real, "wins" real ); Question: How many Events have Earnings ($) of 2,054,334? <|assistant|> SELECT COUNT("eve...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1987" ( "date" text, "city" text, "opponent" text, "results" text, "type_of_game" text ); Question: What day were the results 3:0? <|assistant|> SELECT "date" FROM "1987" WHERE "results"='3:0';...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1987" ( "date" text, "city" text, "opponent" text, "results" text, "type_of_game" text ); Question: What city played on april 29? <|assistant|> SELECT "city" FROM "1987" WHERE "date"='april 29'...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1987" ( "date" text, "city" text, "opponent" text, "results" text, "type_of_game" text ); Question: Which city has an opponent of England? <|assistant|> SELECT "city" FROM "1987" WHERE "opponen...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1987" ( "date" text, "city" text, "opponent" text, "results" text, "type_of_game" text ); Question: What day was the opponent Austria? <|assistant|> SELECT "date" FROM "1987" WHERE "opponent"='...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_sovereign_nations_with_fewer_tha" ( "rank" real, "country_territory_entity" text, "population" real, "pct_of_world_population" text, "region" text ); Question: Name the most population ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "radio" ( "frequency" text, "call_sign" text, "branding" text, "format" text, "owner" text ); Question: What is the frequency of the station owned by the Canadian Broadcasting Corporation and br...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "radio" ( "frequency" text, "call_sign" text, "branding" text, "format" text, "owner" text ); Question: What is the frequency of the soft adult contemporary stations? <|assistant|> SELECT "frequ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "radio" ( "frequency" text, "call_sign" text, "branding" text, "format" text, "owner" text ); Question: Who owns the station with the frequency FM 92.1? <|assistant|> SELECT "owner" FROM "radio"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "radio" ( "frequency" text, "call_sign" text, "branding" text, "format" text, "owner" text ); Question: What is the branding of the FM 97.7 station owned by the Canadian Broadcasting Corporation...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "career_summary" ( "season" real, "series" text, "team_name" text, "races" text, "wins" text, "poles" text, "f_laps" text, "podiums" text, "points" text, "final_placing" text ); Questi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "career_summary" ( "season" real, "series" text, "team_name" text, "races" text, "wins" text, "poles" text, "f_laps" text, "podiums" text, "points" text, "final_placing" text ); Questi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "career_summary" ( "season" real, "series" text, "team_name" text, "races" text, "wins" text, "poles" text, "f_laps" text, "podiums" text, "points" text, "final_placing" text ); Questi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "career_summary" ( "season" real, "series" text, "team_name" text, "races" text, "wins" text, "poles" text, "f_laps" text, "podiums" text, "points" text, "final_placing" text ); Questi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "career_summary" ( "season" real, "series" text, "team_name" text, "races" text, "wins" text, "poles" text, "f_laps" text, "podiums" text, "points" text, "final_placing" text ); Questi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "career_summary" ( "season" real, "series" text, "team_name" text, "races" text, "wins" text, "poles" text, "f_laps" text, "podiums" text, "points" text, "final_placing" text ); Questi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "world_championships_women" ( "year" real, "place" text, "gold" text, "silver" text, "bronze" text ); Question: Name the bronze for lahti <|assistant|> SELECT "bronze" FROM "world_championships_...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "top_scorers" ( "rank" text, "scorer" text, "club" text, "goals" real, "matches" text ); Question: Which Rank has Goals larger than 10, and a Scorer of choi sang-kuk? <|assistant|> SELECT "rank"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "top_scorers" ( "rank" text, "scorer" text, "club" text, "goals" real, "matches" text ); Question: Which Rank has a Scorer of lee sang-cheol? <|assistant|> SELECT "rank" FROM "top_scorers" WHERE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "top_scorers" ( "rank" text, "scorer" text, "club" text, "goals" real, "matches" text ); Question: Which Club has a Rank of 5? <|assistant|> SELECT "club" FROM "top_scorers" WHERE "rank"='5';<|e...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "rep_ron_paul_u_s_house_of_representative" ( "years_covered" text, "all_bills_sponsored" real, "all_amendments_sponsored" real, "all_bills_cosponsored" real, "all_amendments_cosponsored" real, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "california" ( "district" text, "incumbent" text, "party" text, "elected" real, "status" text ); Question: Who is the democratic incumbent that was re-elected? <|assistant|> SELECT "incumbent" F...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "california" ( "district" text, "incumbent" text, "party" text, "elected" real, "status" text ); Question: What year was republican, re-elected incumbent John all barham elected? <|assistant|> S...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_season" ( "game" real, "october" real, "opponent" text, "score" text, "record" text, "points" real ); Question: What day in october was game number 4 with under 3 points? <|assistant|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nfl_draft" ( "round" real, "pick" real, "player" text, "position" text, "school" text ); Question: Which school was the drafted player from in a pick larger than 181? <|assistant|> SELECT "scho...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2008_2009_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 "2008_2009_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 "2008_2009_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 "2008_2009_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 "2008_2009_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 "2008_2009_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 "2006_fifa_world_cup" ( "date" text, "time_cest" real, "team_num1" text, "res" text, "team_num2" text, "round" text, "spectators" real ); Question: What is team 1 in group h? <|assistant|> S...
<|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 was the score on 15 march 2006? <|assistant|> SELECT "score" FROM "internatio...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "lone_star_series" ( "date" text, "winning_team" text, "score" text, "winning_pitcher" text, "losing_pitcher" text, "attendance" real, "location" text ); Question: Which winning team has a w...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "lone_star_series" ( "date" text, "winning_team" text, "score" text, "winning_pitcher" text, "losing_pitcher" text, "attendance" real, "location" text ); Question: What winning team has a lo...
<|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: Who was the opponent on August 14? <|assistant|> SELECT "opponent" FROM "gam...
<|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: Which loss had a record of 79-49? <|assistant|> SELECT "loss" FROM "game_log...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "commentators_and_spokespersons" ( "year_s" real, "grand_final_television_commentator" text, "grand_final_dual_television_commentator" text, "spokesperson" text, "semi_final_television_commentato...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "commentators_and_spokespersons" ( "year_s" real, "grand_final_television_commentator" text, "grand_final_dual_television_commentator" text, "spokesperson" text, "semi_final_television_commentato...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "commentators_and_spokespersons" ( "year_s" real, "grand_final_television_commentator" text, "grand_final_dual_television_commentator" text, "spokesperson" text, "semi_final_television_commentato...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "commentators_and_spokespersons" ( "year_s" real, "grand_final_television_commentator" text, "grand_final_dual_television_commentator" text, "spokesperson" text, "semi_final_television_commentato...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "delegates" ( "state" text, "name" text, "hometown" text, "age_1" real, "talent" text ); Question: What state has lincoln, de as the hometown? <|assistant|> SELECT "state" FROM "delegates" WHERE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "ships" ( "ship" text, "hull_no" text, "builder" text, "home_port" text, "commissioned_decommissioned" text, "nvr_page" text ); Question: Name the ship with hull number of aor-6 <|assistant|> ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "ships" ( "ship" text, "hull_no" text, "builder" text, "home_port" text, "commissioned_decommissioned" text, "nvr_page" text ); Question: Name the hull number of Commissioned– Decommissioned o...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "ships" ( "ship" text, "hull_no" text, "builder" text, "home_port" text, "commissioned_decommissioned" text, "nvr_page" text ); Question: Name the commissioned-decommissioned for oakland and N...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "ships" ( "ship" text, "hull_no" text, "builder" text, "home_port" text, "commissioned_decommissioned" text, "nvr_page" text ); Question: Name the home port for kansas city <|assistant|> SELEC...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "ships" ( "ship" text, "hull_no" text, "builder" text, "home_port" text, "commissioned_decommissioned" text, "nvr_page" text ); Question: Name the commissioned-decommissioned for NVR page of a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "ships" ( "ship" text, "hull_no" text, "builder" text, "home_port" text, "commissioned_decommissioned" text, "nvr_page" text ); Question: Name the ship for oakland home port and NVR page of ao...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "ultra_deep_water" ( "name" text, "type" text, "entered_service" text, "water_depth" text, "location" text, "customer" text ); Question: What is the name of the location and ship type in the G...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "ultra_deep_water" ( "name" text, "type" text, "entered_service" text, "water_depth" text, "location" text, "customer" text ); Question: What was the water depth that entered service in 2001 n...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "ultra_deep_water" ( "name" text, "type" text, "entered_service" text, "water_depth" text, "location" text, "customer" text ); Question: What was the water depth in the Gulf of Mexico named Di...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "ultra_deep_water" ( "name" text, "type" text, "entered_service" text, "water_depth" text, "location" text, "customer" text ); Question: What is the name of a location in Nigeria? <|assistant|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "ultra_deep_water" ( "name" text, "type" text, "entered_service" text, "water_depth" text, "location" text, "customer" text ); Question: What location entered service in 1999 and had a custome...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_season" ( "date" text, "visitor" text, "score" text, "home" text, "record" text ); Question: What was the Score on January 30? <|assistant|> SELECT "score" FROM "regular_season" WHERE "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_season" ( "date" text, "visitor" text, "score" text, "home" text, "record" text ); Question: Who were the Visitor of the Toronto Maple Leafs Home game on December 22? <|assistant|> SELE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_season" ( "date" text, "visitor" text, "score" text, "home" text, "record" text ); Question: On what Date was the Record 9–6–4? <|assistant|> SELECT "date" FROM "regular_season" WHERE "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_season" ( "date" text, "visitor" text, "score" text, "home" text, "record" text ); Question: What was the Score on March 1? <|assistant|> SELECT "score" FROM "regular_season" WHERE "dat...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "membership" ( "school" text, "location" text, "founded" real, "affiliation" text, "enrollment" real, "nickname" text, "primary_conference" text ); Question: What is the primary conference t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "membership" ( "school" text, "location" text, "founded" real, "affiliation" text, "enrollment" real, "nickname" text, "primary_conference" text ); Question: What is the total enrollment for...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "membership" ( "school" text, "location" text, "founded" real, "affiliation" text, "enrollment" real, "nickname" text, "primary_conference" text ); Question: What is the affiliation for tows...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "membership" ( "school" text, "location" text, "founded" real, "affiliation" text, "enrollment" real, "nickname" text, "primary_conference" text ); Question: What is the total enrollment for...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "membership" ( "school" text, "location" text, "founded" real, "affiliation" text, "enrollment" real, "nickname" text, "primary_conference" text ); Question: What is the number founded for t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "bbl_cup_winners" ( "season" real, "winner" text, "finalist" text, "score" text, "host_city" text ); Question: What is the score of the season in the host city kėdainiai? <|assistant|> SELECT "s...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "bbl_cup_winners" ( "season" real, "winner" text, "finalist" text, "score" text, "host_city" text ); Question: Who was the winner of the season before 2010 with Lietuvos Rytas as a finalist? <|a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "bbl_cup_winners" ( "season" real, "winner" text, "finalist" text, "score" text, "host_city" text ); Question: Who was the finalist in the 2010 season in the host city tartu? <|assistant|> SELEC...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "bbl_cup_winners" ( "season" real, "winner" text, "finalist" text, "score" text, "host_city" text ); Question: Who was the winner during the 2009 season? <|assistant|> SELECT "winner" FROM "bbl_...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "bbl_cup_winners" ( "season" real, "winner" text, "finalist" text, "score" text, "host_city" text ); Question: What is the host city during the 2012 season? <|assistant|> SELECT "host_city" FROM...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles" ( "date" text, "tournament" text, "surface" text, "opponent_in_the_final" text, "score" text ); Question: what game had a score of 4–6, 6–3, 7–6(10)? <|assistant|> SELECT "tournament" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "house_of_habsburg_1653_1722" ( "name" text, "birth" text, "marriage" text, "became_duchess" text, "ceased_to_be_duchess" text, "death" text, "spouse" text ); Question: When did eleonor magd...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "house_of_habsburg_1653_1722" ( "name" text, "birth" text, "marriage" text, "became_duchess" text, "ceased_to_be_duchess" text, "death" text, "spouse" text ); Question: Which Marriage has a ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "house_of_habsburg_1653_1722" ( "name" text, "birth" text, "marriage" text, "became_duchess" text, "ceased_to_be_duchess" text, "death" text, "spouse" text ); Question: When did the person d...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "house_of_habsburg_1653_1722" ( "name" text, "birth" text, "marriage" text, "became_duchess" text, "ceased_to_be_duchess" text, "death" text, "spouse" text ); Question: Which Birth has a Bec...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "house_of_habsburg_1653_1722" ( "name" text, "birth" text, "marriage" text, "became_duchess" text, "ceased_to_be_duchess" text, "death" text, "spouse" text ); Question: Which Spouse has a Bi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "house_of_habsburg_1653_1722" ( "name" text, "birth" text, "marriage" text, "became_duchess" text, "ceased_to_be_duchess" text, "death" text, "spouse" text ); Question: When did the person b...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2008_six_nations_championship_squads" ( "player" text, "position" text, "date_of_birth_age" text, "caps" real, "club_province" text ); Question: Which Club or province has a caps larger than 15...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2008_six_nations_championship_squads" ( "player" text, "position" text, "date_of_birth_age" text, "caps" real, "club_province" text ); Question: What is the date of birth for the player from Ul...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "200_or_more_deaths" ( "disaster" text, "type" text, "location" text, "deaths" text, "date" text ); Question: What type of disaster is rms atlantic categorized in that was located in Nova Scotia...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "200_or_more_deaths" ( "disaster" text, "type" text, "location" text, "deaths" text, "date" text ); Question: What is the type of disaster that the Arrow Air Flight 1285 categorized in? <|assist...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "200_or_more_deaths" ( "disaster" text, "type" text, "location" text, "deaths" text, "date" text ); Question: What is the disaster that was located in Ontario with 223 deaths? <|assistant|> SELE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "200_or_more_deaths" ( "disaster" text, "type" text, "location" text, "deaths" text, "date" text ); Question: How many deaths were there during the shipwreck in 1873? <|assistant|> SELECT "death...