text
stringlengths
310
1.28k
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "turkish_airlines_reported_incidents_and_" ( "date" text, "flight" text, "aircraft" text, "registration" text, "location" text, "fatalities" real ); Question: Which fatality was at ankara for ...
<|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: How many total rounds have th...
<|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: How long did the match last i...
<|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 is the result for the ma...
<|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: The match against Oleg Taktar...
<|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 method when 4-2 ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fifth_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "attendance" text ); Question: What was the score for Tie no. 6? <|assistant|> SELECT "score" FROM "fifth_...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fifth_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "attendance" text ); Question: What was the tie against the away team, Leicester City? <|assistant|> SELEC...
<|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" text, "time" text, "location" text ); Question: Which round has a time of 3:0...
<|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" text, "time" text, "location" text ); Question: Where is the UFC 110 event wi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1st_round" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "ground" text, "crowd" real, "date" text ); Question: Which Home team score is on sunday 24 ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1st_round" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "ground" text, "crowd" real, "date" text ); Question: Which Home team has a score of 12.10 (...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1st_round" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "ground" text, "crowd" real, "date" text ); Question: Which Crowd has a Home team of st kild...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1st_round" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "ground" text, "crowd" real, "date" text ); Question: Which Away team has a Ground of gabba?...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1st_round" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "ground" text, "crowd" real, "date" text ); Question: Which Crowd has a Away team of sydney?...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "proof_coins" ( "year" real, "10_1_10_oz" real, "25_1_4_oz" real, "50_1_2_oz" real, "100_1_oz" real ); Question: WHAT IS THE NUMBER OF COINS OF $25-1/4 OZ WITH $50-1/2 OZ OF 13,836, AND $100-01 ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "tournament_results" ( "dates" text, "tournament" text, "prize_fund" real, "winner" text, "owgr_pts" real ); Question: Which OWGR pts has Dates of may 10-13? <|assistant|> SELECT SUM("owgr_pts")...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "tournament_results" ( "dates" text, "tournament" text, "prize_fund" real, "winner" text, "owgr_pts" real ); Question: Which OWGR pts has Dates of apr 26-29, and a Prize fund (¥) smaller than 12...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "tournament_results" ( "dates" text, "tournament" text, "prize_fund" real, "winner" text, "owgr_pts" real ); Question: Which OWGR pts has a Prize fund (¥) larger than 100,000,000, and Dates of o...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "tournament_results" ( "dates" text, "tournament" text, "prize_fund" real, "winner" text, "owgr_pts" real ); Question: How many OWGR pts have a Prize fund (¥) of 100,000,000, and a Tournament of...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_9" ( "date" text, "home" text, "score" text, "away" text, "attendance" real ); Question: Which Home has an Attendance larger than 1,858? <|assistant|> SELECT "home" FROM "round_9" WHERE "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_9" ( "date" text, "home" text, "score" text, "away" text, "attendance" real ); Question: Which Attendance has a Score of 0:2? <|assistant|> SELECT MAX("attendance") FROM "round_9" WHERE "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_9" ( "date" text, "home" text, "score" text, "away" text, "attendance" real ); Question: Which Date has an Attendance larger than 1,858? <|assistant|> SELECT "date" FROM "round_9" WHERE "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_9" ( "date" text, "home" text, "score" text, "away" text, "attendance" real ); Question: Which Home has a Score of 0:2? <|assistant|> SELECT "home" FROM "round_9" WHERE "score"='0:2';<|en...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_season" ( "game" real, "date" text, "opponent" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text ); Qu...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_season" ( "game" real, "date" text, "opponent" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text ); Qu...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "playoffs" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "series" text ); Question: Wh...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "playoffs" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "series" text ); Question: Wh...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "playoffs" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "series" text ); Question: Fo...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "playoffs" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "series" text ); Question: Wh...
<|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 "game_log" ( "date" text, "visitor" text, "score" text, "home" text, "attendance" real, "record" text, "points" real ); Question: What home is dated march 19? <|assistant|> SELECT "home" FRO...
<|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: What home has 46 points? <|assistant|> SELECT "home" FROM "g...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "series_1" ( "series_sorted" text, "title" text, "doctor" text, "featuring" text, "released" text ); Question: What was the date of release for the episode sorted value of 6Y/AA? <|assistant|> S...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "series_1" ( "series_sorted" text, "title" text, "doctor" text, "featuring" text, "released" text ); Question: What is the series sorted value for the episode released December 2009? <|assistant...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "belarusian_clubs_in_euporean_cups" ( "round" text, "team_num1" text, "agg" text, "team_num2" text, "1st_leg" text, "2nd_leg" text ); Question: What round has Team #2 Gomel? <|assistant|> SELE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "cardinal_electors" ( "elector" text, "nationality" text, "order_and_title" text, "elevated" text, "elevator" text ); Question: Who was the elevator when the Cardinal-Deacon of S. Nicola in Carc...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "cardinal_electors" ( "elector" text, "nationality" text, "order_and_title" text, "elevated" text, "elevator" text ); Question: The Cardinal-Priest of S. Prassede order and title has who as the ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "cardinal_electors" ( "elector" text, "nationality" text, "order_and_title" text, "elevated" text, "elevator" text ); Question: When the elevator was Innocent IV what was the nationality? <|assi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "cardinal_electors" ( "elector" text, "nationality" text, "order_and_title" text, "elevated" text, "elevator" text ); Question: When Giovanni Gaetano Orsini was the elector who was the elevator?...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "cardinal_electors" ( "elector" text, "nationality" text, "order_and_title" text, "elevated" text, "elevator" text ); Question: When Anchero Pantaleone was the elector what is under nationality?...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "cardinal_electors" ( "elector" text, "nationality" text, "order_and_title" text, "elevated" text, "elevator" text ); Question: With a date of May 1262 under elevated, Guillaume de Bray as the e...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real ); Question: What was the result when the San Francisco 49ers were the opponents? <|assistant|> SELECT "r...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_titles" ( "date" text, "tournament" text, "surface" text, "opponent_in_the_final" text, "score" text ); Question: What was the Score of the Rabat Tournament with Opponent in the final Y...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_titles" ( "date" text, "tournament" text, "surface" text, "opponent_in_the_final" text, "score" text ); Question: What is the Opponent of the match played on a Clay Surface with a Score...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_titles" ( "date" text, "tournament" text, "surface" text, "opponent_in_the_final" text, "score" text ); Question: What is the Date of the match with Opponent in the final of Filip Poláš...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_titles" ( "date" text, "tournament" text, "surface" text, "opponent_in_the_final" text, "score" text ); Question: What is the Score of the Rabat Tournament with Opponent in the final of...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" text ); Question: On what Date was the Result of the game W 30–15? <|assistant|> SELECT "date" FROM "schedule"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" text ); Question: What is the Date of Week 9? <|assistant|> SELECT "date" FROM "schedule" WHERE "week"=9;<|end...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" text ); Question: What is the Result of the game on September 1, 1996? <|assistant|> SELECT "result" FROM "sch...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" text ); Question: On what Week was the Result W 34–24? <|assistant|> SELECT AVG("week") FROM "schedule" WHERE ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" text ); Question: What is the Week on November 10, 1996? <|assistant|> SELECT "week" FROM "schedule" WHERE "da...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "parishes" ( "official_name" text, "status" text, "area_km_2" real, "population" real, "census_ranking" text ); Question: What is the Status of the Paris with a Census Ranking of 3,474 of 5,008?...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "parishes" ( "official_name" text, "status" text, "area_km_2" real, "population" real, "census_ranking" text ); Question: What is the Area of the Parish with a Population of 2,113? <|assistant|>...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "parishes" ( "official_name" text, "status" text, "area_km_2" real, "population" real, "census_ranking" text ); Question: What is the Population of the Parish with an Area km 2 of 236.76? <|assi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "parishes" ( "official_name" text, "status" text, "area_km_2" real, "population" real, "census_ranking" text ); Question: What is the Area of the Parish with a Population of 71? <|assistant|> SE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "flintlock_tests" ( "name" text, "location" text, "elevation_height" text, "delivery" text, "purpose" text, "yield" text ); Question: What is the elevation and height for Halfbeak? <|assistant...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "flintlock_tests" ( "name" text, "location" text, "elevation_height" text, "delivery" text, "purpose" text, "yield" text ); Question: What is the purpose of Long Shot? <|assistant|> SELECT "pu...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "flintlock_tests" ( "name" text, "location" text, "elevation_height" text, "delivery" text, "purpose" text, "yield" text ); Question: What is the yield in NTS Area U2R when the purpose is weap...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "references" ( "name" text, "built" text, "listed" text, "location" text, "borough" text ); Question: What location was listed on 1977-09-15? <|assistant|> SELECT "location" FROM "references" WH...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "references" ( "name" text, "built" text, "listed" text, "location" text, "borough" text ); Question: What is the Borough for the Seward listing on 1977-11-23? <|assistant|> SELECT "borough" FRO...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "references" ( "name" text, "built" text, "listed" text, "location" text, "borough" text ); Question: What location was listed on 1977-11-23? <|assistant|> SELECT "location" FROM "references" WH...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "references" ( "name" text, "built" text, "listed" text, "location" text, "borough" text ); Question: What are the listings in the Valdez-cordova (census area) Borough? <|assistant|> SELECT "lis...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "references" ( "name" text, "built" text, "listed" text, "location" text, "borough" text ); Question: What is the name of the building listed on 1977-11-23? <|assistant|> SELECT "name" FROM "ref...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "game" real, "date" text, "opponent" text, "score" text, "record" text ); Question: What was the Maple Leafs' record on game 52? <|assistant|> SELECT "record" FROM "game_log" WHERE ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2011_list" ( "rank" real, "company" text, "headquarters" text, "industry" text, "sales_billion" real, "profits_billion" real, "assets_billion" real, "market_value_billion" real ); Questio...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2011_list" ( "rank" real, "company" text, "headquarters" text, "industry" text, "sales_billion" real, "profits_billion" real, "assets_billion" real, "market_value_billion" real ); Questio...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2011_list" ( "rank" real, "company" text, "headquarters" text, "industry" text, "sales_billion" real, "profits_billion" real, "assets_billion" real, "market_value_billion" real ); Questio...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2011_list" ( "rank" real, "company" text, "headquarters" text, "industry" text, "sales_billion" real, "profits_billion" real, "assets_billion" real, "market_value_billion" real ); Questio...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_3" ( "date" text, "home" text, "score" text, "away" text, "attendance" real ); Question: What was date was the attendance larger than 875 against Platense? <|assistant|> SELECT "date" FRO...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_3" ( "date" text, "home" text, "score" text, "away" text, "attendance" real ); Question: Who was the home team with 3305 in attendance? <|assistant|> SELECT "home" FROM "round_3" WHERE "a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_3" ( "date" text, "home" text, "score" text, "away" text, "attendance" real ); Question: What was the highest attendance for the Hispano team? <|assistant|> SELECT MAX("attendance") FROM ...
<|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 country has the player Tiger Woods? <|assistant|> SELECT "country" FROM...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real ); Question: What is the Money ($) player Loren Roberts has made? <|assistant|> SELECT MA...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "structures_past_or_present_600_m_and_tal" ( "name" text, "pinnacle_height" text, "structure_type" text, "main_use" text, "town" text ); Question: What is the Pinnacle height for Metcalf, Georgi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text ); Question: Who placed t7 with a score of 70-71=141? <|assistant|> SELECT "player" FROM "second_round" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text ); Question: What country scored 71-69=140? <|assistant|> SELECT "country" FROM "second_round" WHERE "sc...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "official_sports" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real ); Question: What nation had more than 3 bronze, 0 gold, and a total of 9? <|assistant|>...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2010s_eagles_5_3" ( "year" real, "date" text, "winner" text, "result" text, "loser" text, "location" text ); Question: What's the earliest year the new york giants lost at new meadowlands sta...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2010s_eagles_5_3" ( "year" real, "date" text, "winner" text, "result" text, "loser" text, "location" text ); Question: How many years did the new york giants lose at metlife stadium? <|assist...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2010s_eagles_5_3" ( "year" real, "date" text, "winner" text, "result" text, "loser" text, "location" text ); Question: How many years did the new york giants win with a result of 15-7 at linc...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2010s_eagles_5_3" ( "year" real, "date" text, "winner" text, "result" text, "loser" text, "location" text ); Question: Who lost when the philadelphia eagles won at lincoln financial field on ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2010s_eagles_5_3" ( "year" real, "date" text, "winner" text, "result" text, "loser" text, "location" text ); Question: What date did the new york giants win after 2011? <|assistant|> SELECT "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "albert_county_new_brunswick" ( "official_name" text, "status" text, "area_km_2" real, "population" real, "census_ranking" text ); Question: What is Official Name, when Census Ranking is 769 of ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "albert_county_new_brunswick" ( "official_name" text, "status" text, "area_km_2" real, "population" real, "census_ranking" text ); Question: What is Status, when Area km 2 is greater than 303.73...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "albert_county_new_brunswick" ( "official_name" text, "status" text, "area_km_2" real, "population" real, "census_ranking" text ); Question: What is Area km 2, when Population is greater than 1,...
<|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 Place of the Player from Zimbabwe? <|assistant|> SELECT "place" FROM "third_roun...
<|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 Place of the Player with a Score of 73-68-71=212? <|assistant|> SELECT "place" F...
<|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 Place of the Player with a +3 To par? <|assistant|> SELECT "place" FROM "third_r...
<|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 Score of Stewart Cink with a To par of +4? <|assistant|> SELECT "score" FROM "th...
<|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 T10 Place Player has a Score of 74-73-68=215? <|assistant|> SELECT "player" FROM "third...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "washington_redskins_draft_history" ( "round" real, "pick" real, "overall" real, "name" text, "position" text, "college" text ); Question: What is the maximum pick when WR was the position and...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "washington_redskins_draft_history" ( "round" real, "pick" real, "overall" real, "name" text, "position" text, "college" text ); Question: What is the total round when DB was the position, and...
<|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" real, "finish" text ); Question: What is Player, when Year(s) Won is 1978 , 1985? <|assistant|> SELECT...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "washington_redskins_draft_history" ( "round" real, "pick" real, "overall" real, "name" text, "position" text, "college" text ); Question: WHAT IS THE AVERAGE PICK FOR PURDUE, WITH A ROUND SMA...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "washington_redskins_draft_history" ( "round" real, "pick" real, "overall" real, "name" text, "position" text, "college" text ); Question: WHAT IS THE HIGHEST PICK WITH A TE POSITION, AND ROUN...