text
stringlengths
310
1.28k
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "results" ( "draw" real, "language" text, "artist" text, "english_translation" text, "place" real, "points" real ); Question: Can you tell me the total number of Draw that has the Artist of de...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "results" ( "draw" real, "language" text, "artist" text, "english_translation" text, "place" real, "points" real ); Question: Can you tell me the Artist that has the Draw smaller than 16, and ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "results" ( "draw" real, "language" text, "artist" text, "english_translation" text, "place" real, "points" real ); Question: Can you tell me the English translation that has the Artist of cam...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "communities" ( "official_name" text, "status" text, "area_km_2" real, "population" real, "census_ranking" text ); Question: What is the population of the town with an area larger than 3.09? <|a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "communities" ( "official_name" text, "status" text, "area_km_2" real, "population" real, "census_ranking" text ); Question: What is the area of the community with a census ranking of 636 of 5,0...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "communities" ( "official_name" text, "status" text, "area_km_2" real, "population" real, "census_ranking" text ); Question: What is the area of drummond village? <|assistant|> SELECT MAX("area_...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "communities" ( "official_name" text, "status" text, "area_km_2" real, "population" real, "census_ranking" text ); Question: What is the status of the community with a census ranking of 2,418 of...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "communities" ( "official_name" text, "status" text, "area_km_2" real, "population" real, "census_ranking" text ); Question: What is the area of the village with a census ranking of 1,442 of 5,0...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "missed_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" real ); Question: WHAT YEAR HAS A TO PAR SMALLER THAN 16, TOTAL 151? <|assistant|> SELECT "year_s_won"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "missed_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" real ); Question: WHAT IS THE TOTAL WITH A TO PAR OF 10? <|assistant|> SELECT MAX("total") FROM "misse...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "missed_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" real ); Question: WHAT IS THE PLAYER WITH TOTAL LESS THAN 151, TO PAR OF 8? <|assistant|> SELECT "play...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "top_scorers" ( "player" text, "position" text, "league_cup" real, "scottish_cup" real, "uefa_champions_league" real, "total" real ); Question: Who is the player who has a total less than 4, n...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "top_scorers" ( "player" text, "position" text, "league_cup" real, "scottish_cup" real, "uefa_champions_league" real, "total" real ); Question: What is the sum of the scottish cup of the forwa...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "opinion_polls" ( "source" text, "date" text, "kaine_d" text, "kilgore_r" text, "potts_i" text ); Question: What was Kilgore's percentage when Potts (I) had 4% and Kaine (D) 47%, in the poll fro...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "opinion_polls" ( "source" text, "date" text, "kaine_d" text, "kilgore_r" text, "potts_i" text ); Question: On which date did Potts (I) poll at 9%? <|assistant|> SELECT "date" FROM "opinion_poll...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "opinion_polls" ( "source" text, "date" text, "kaine_d" text, "kilgore_r" text, "potts_i" text ); Question: What was Kaine's (D) percentage in the Rasmussen poll on October 24, 2005? <|assistant...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "opinion_polls" ( "source" text, "date" text, "kaine_d" text, "kilgore_r" text, "potts_i" text ); Question: What was Kaine's (D) percentage in the poll on October 30, 2005? <|assistant|> SELECT ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "opinion_polls" ( "source" text, "date" text, "kaine_d" text, "kilgore_r" text, "potts_i" text ); Question: What was Kilgore's (R) percentage when Potts (I) polled at 1%? <|assistant|> SELECT "k...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "opinion_polls" ( "source" text, "date" text, "kaine_d" text, "kilgore_r" text, "potts_i" text ); Question: What was Kaine's (D) percentage in the poll on september 19, 2005? <|assistant|> SELEC...
<|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 To par, when Country is "United States", and when Player is "Jay Haa...
<|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 Player, when Score is "68-67-75-70=280"? <|assistant|> SELECT "playe...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2010s" ( "date" text, "result" text, "score" text, "venue" text, "competition" text ); Question: What is the result of the friendly competition on 23 January 2010? <|assistant|> SELECT "result"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2010s" ( "date" text, "result" text, "score" text, "venue" text, "competition" text ); Question: What is the venue of the match with a w result on 3 March 2010? <|assistant|> SELECT "venue" FRO...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "women" ( "year" real, "gold" text, "silver" text, "bronze" text, "notes" text ); Question: What is the lowest Year, when Notes is "5.19km, 18controls"? <|assistant|> SELECT MIN("year") FROM "wo...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "women" ( "year" real, "gold" text, "silver" text, "bronze" text, "notes" text ); Question: What is Notes, when Year is "2010"? <|assistant|> SELECT "notes" FROM "women" WHERE "year"=2010;<|endo...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "lpga_tour_wins_9" ( "date" text, "tournament" text, "winning_score" text, "to_par" text, "margin_of_victory" text, "runner_s_up" text, "winner_s_share" real ); Question: What winning score ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "lpga_tour_wins_9" ( "date" text, "tournament" text, "winning_score" text, "to_par" text, "margin_of_victory" text, "runner_s_up" text, "winner_s_share" real ); Question: What winning score ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "other_grands_prix" ( "name" text, "circuit" text, "date" text, "winning_driver" text, "winning_constructor" text, "report" text ); Question: What Winning constructor has a Name of grand prix ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "other_grands_prix" ( "name" text, "circuit" text, "date" text, "winning_driver" text, "winning_constructor" text, "report" text ); Question: What kind of the Winning driver has a Circuit of s...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "other_grands_prix" ( "name" text, "circuit" text, "date" text, "winning_driver" text, "winning_constructor" text, "report" text ); Question: Name the Report with Winning constructor of masera...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "other_grands_prix" ( "name" text, "circuit" text, "date" text, "winning_driver" text, "winning_constructor" text, "report" text ); Question: Name the Report has a Name of lyon grand prix? <|a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "other_grands_prix" ( "name" text, "circuit" text, "date" text, "winning_driver" text, "winning_constructor" text, "report" text ); Question: Name the Report which has heinrich-joachim von mor...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "draft_picks" ( "draft" real, "round" real, "pick" real, "player" text, "nationality" text ); Question: Which player had a draft before 1975 and before round 6? <|assistant|> SELECT "player" FRO...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_7_4_3" ( "outcome" text, "edition" real, "round" text, "opponent_team" text, "surface" text, "opponent" text, "score" text ); Question: What is Score, when Opponent Team is Belgium,...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_7_4_3" ( "outcome" text, "edition" real, "round" text, "opponent_team" text, "surface" text, "opponent" text, "score" text ); Question: What is Opponent, when Round is World Group? ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_7_4_3" ( "outcome" text, "edition" real, "round" text, "opponent_team" text, "surface" text, "opponent" text, "score" text ); Question: What is Surface, when Edition is 2012, and wh...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_7_4_3" ( "outcome" text, "edition" real, "round" text, "opponent_team" text, "surface" text, "opponent" text, "score" text ); Question: What is Score, when Outcome is Loser, and whe...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_7_4_3" ( "outcome" text, "edition" real, "round" text, "opponent_team" text, "surface" text, "opponent" text, "score" text ); Question: What is Score, when Edition is 2011, and when...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_7_4_3" ( "outcome" text, "edition" real, "round" text, "opponent_team" text, "surface" text, "opponent" text, "score" text ); Question: What is Round, when Opponent Team is Slovakia...
<|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, "attendance" text ); Question: In what Week was the Record 4–7–1? <|assistant|> SELECT MIN("week") FROM "s...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "record" text, "attendance" text ); Question: On what Date was the Attendance 63,546? <|assistant|> SELECT "date" FROM "s...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "record" text, "attendance" text ); Question: In what Week was the Attendance 17,737? <|assistant|> SELECT COUNT("week") ...
<|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, "attendance" text ); Question: What is the Result of the game after Week 10 against Philadelphia Eagles? <...
<|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, "attendance" text ); Question: What is the Opponent on Week 11? <|assistant|> SELECT "opponent" FROM "sche...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_season_attendance" ( "year" real, "average" text, "high" real, "sellouts" real, "total_for_year" real, "wnba_game_average" real ); Question: What is the largest WNBA game average with...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_season_attendance" ( "year" real, "average" text, "high" real, "sellouts" real, "total_for_year" real, "wnba_game_average" real ); Question: How many years in all was less than 105,00...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_season_attendance" ( "year" real, "average" text, "high" real, "sellouts" real, "total_for_year" real, "wnba_game_average" real ); Question: What is the total for year average that le...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_season_attendance" ( "year" real, "average" text, "high" real, "sellouts" real, "total_for_year" real, "wnba_game_average" real ); Question: What is the total of the year that more th...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_season_attendance" ( "year" real, "average" text, "high" real, "sellouts" real, "total_for_year" real, "wnba_game_average" real ); Question: What is the maximum sellouts for the 2008 ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "louisiana" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "results" text ); Question: What is the highest First Elected, when Party is "Republican", and when District ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "louisiana" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "results" text ); Question: What is Party, when Results is "Re-Elected", and when District is "Louisiana 5"? ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "louisiana" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "results" text ); Question: What is Party, when Incumbent is "Rodney Alexander"? <|assistant|> SELECT "party"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "louisiana" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "results" text ); Question: What is Results, when First Elected is less than 1988? <|assistant|> SELECT "resu...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "louisiana" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "results" text ); Question: What is Incumbent, when District is "Louisiana 4"? <|assistant|> SELECT "incumben...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "indy_500_results" ( "year" text, "car_number" text, "start" text, "qual_speed" text, "speed_rank" text, "finish" text, "laps_completed" real, "laps_led" real ); Question: What's the finis...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "indy_500_results" ( "year" text, "car_number" text, "start" text, "qual_speed" text, "speed_rank" text, "finish" text, "laps_completed" real, "laps_led" real ); Question: What's the speed...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "concacaf_women_s_world_cup_qualifiers_re" ( "year" real, "result" text, "matches" real, "wins" real, "draws" real, "losses" real ); Question: What is the total of Losses with a Result of runn...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "concacaf_women_s_world_cup_qualifiers_re" ( "year" real, "result" text, "matches" real, "wins" real, "draws" real, "losses" real ); Question: What is the smallest Draws with a Result of runne...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "concacaf_women_s_world_cup_qualifiers_re" ( "year" real, "result" text, "matches" real, "wins" real, "draws" real, "losses" real ); Question: What is the number of Year with a Result of champ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "concacaf_women_s_world_cup_qualifiers_re" ( "year" real, "result" text, "matches" real, "wins" real, "draws" real, "losses" real ); Question: What is the greatest Wins with Losses larger than...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "concacaf_women_s_world_cup_qualifiers_re" ( "year" real, "result" text, "matches" real, "wins" real, "draws" real, "losses" real ); Question: What is the total number of Year with Wins of 1, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "concacaf_women_s_world_cup_qualifiers_re" ( "year" real, "result" text, "matches" real, "wins" real, "draws" real, "losses" real ); Question: What is the greatest Wins with Matches smaller th...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "scottish_cup" ( "date" text, "round" text, "opponent" text, "venue" text, "result" text, "attendance" real ); Question: On what date was Motherwell the opponent at Fir Park? <|assistant|> SEL...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "scottish_cup" ( "date" text, "round" text, "opponent" text, "venue" text, "result" text, "attendance" real ); Question: What is the round at St. Mirren Park with more than 4,555 people attend...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "ties" ( "tie_no" real, "home_team" text, "score" text, "away_team" text, "attendance" real ); Question: What's the sum of attendance when banbury united is the away team and tie no is over 102?...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "ties" ( "tie_no" real, "home_team" text, "score" text, "away_team" text, "attendance" real ); Question: What's the sum of tie no for home team burgess hill town? <|assistant|> SELECT SUM("tie_n...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "south_dakota_counties_by_per_capita_inco" ( "county" text, "per_capita_income" text, "median_household_income" text, "median_family_income" text, "population" real, "number_of_households" real...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "september" ( "date" text, "opponent" text, "venue" text, "result" text, "competition" text ); Question: When the venue is away and the opponents are the bracknell bees, what is the competition?...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "september" ( "date" text, "opponent" text, "venue" text, "result" text, "competition" text ); Question: What opponent played on the 28th with a venue of away? <|assistant|> SELECT "opponent" FR...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "september" ( "date" text, "opponent" text, "venue" text, "result" text, "competition" text ); Question: What was the venue on the 20th? <|assistant|> SELECT "venue" FROM "september" WHERE "date...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "september" ( "date" text, "opponent" text, "venue" text, "result" text, "competition" text ); Question: When did the peterborough phantoms play at a venue of home? <|assistant|> SELECT "date" F...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "september" ( "date" text, "opponent" text, "venue" text, "result" text, "competition" text ); Question: Which opponent has a result of 2-0 l? <|assistant|> SELECT "opponent" FROM "september" WH...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "september" ( "date" text, "opponent" text, "venue" text, "result" text, "competition" text ); Question: Which opponent completed a challenge competition with a result of 8-2 w? <|assistant|> SE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race_calendar_and_winners" ( "round" real, "race" text, "circuit" text, "date" text, "event" text, "winning_driver" text ); Question: What shows for round when the race was Int. Adac Preis Vo...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race_calendar_and_winners" ( "round" real, "race" text, "circuit" text, "date" text, "event" text, "winning_driver" text ); Question: What is the round for the Norisring circuit? <|assistant|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race_calendar_and_winners" ( "round" real, "race" text, "circuit" text, "date" text, "event" text, "winning_driver" text ); Question: What race was a round smaller than 8, on 6 july? <|assis...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race_calendar_and_winners" ( "round" real, "race" text, "circuit" text, "date" text, "event" text, "winning_driver" text ); Question: What is the round for the Int. Adac-Preis Der Tourenwagen...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real ); Question: What week were there 56,023 people in attendance? <|assistant|> SELECT COUNT("week") FROM "s...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real ); Question: What is the attendance number later than week 9 on November 20, 1983? <|assistant|> SELECT C...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "wins_3" ( "outcome" text, "date" real, "championship" text, "surface" text, "opponent_in_the_final" text, "score_in_the_final" text ); Question: What is Surface, when Date is less than 1979, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "wins_3" ( "outcome" text, "date" real, "championship" text, "surface" text, "opponent_in_the_final" text, "score_in_the_final" text ); Question: What is Score in The Final, when Opponent in T...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "wins_3" ( "outcome" text, "date" real, "championship" text, "surface" text, "opponent_in_the_final" text, "score_in_the_final" text ); Question: What is Outcome, when Opponent in The Final is...
<|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: Which To par has a Player of bernhard langer? <|assistant|> SELECT "to_par" 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: Which Score has a Country of united states, and a Player of raymond floyd? <|assistant|> SEL...
<|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: Which To par has a Place of t6, and a Player of nick faldo? <|assistant|> SELECT "to_par" FR...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "third_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text ); Question: Which To par has a Place of t2, and a Player of mark james? <|assistant|> SELECT "to_par" FR...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "third_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text ); Question: Which Country has a Place of t10, and a Player of tony jacklin? <|assistant|> SELECT "countr...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "third_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text ); Question: Which Country has a Score of 71-74-70=215? <|assistant|> SELECT "country" FROM "third_round"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2008_ladder" ( "mininera_dfl" text, "wins" real, "byes" real, "losses" real, "draws" real, "against" real ); Question: How many losses for the team with less than 4 wins, more than 0 byes and...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2008_ladder" ( "mininera_dfl" text, "wins" real, "byes" real, "losses" real, "draws" real, "against" real ); Question: How many wins for team with 1800 Against and more than 0 byes? <|assista...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2008_ladder" ( "mininera_dfl" text, "wins" real, "byes" real, "losses" real, "draws" real, "against" real ); Question: What is the least wins for a team with against less than 814? <|assistan...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2008_ladder" ( "mininera_dfl" text, "wins" real, "byes" real, "losses" real, "draws" real, "against" real ); Question: How many losses for the team with 3 wins and more than 1919 against? <|a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_performance_timeline" ( "tournament" text, "2000" text, "2001" text, "2002" text, "2003" text, "2004" text, "2005" text, "2006" text, "2007" text, "2008" text, "2009" text, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_performance_timeline" ( "tournament" text, "2000" text, "2001" text, "2002" text, "2003" text, "2004" text, "2005" text, "2006" text, "2007" text, "2008" text, "2009" text, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_performance_timeline" ( "tournament" text, "2000" text, "2001" text, "2002" text, "2003" text, "2004" text, "2005" text, "2006" text, "2007" text, "2008" text, "2009" text, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "major_dams_and_reservoirs" ( "dam_constructed" text, "year_completed" real, "impounded_body_of_water" text, "reservoir_capacity" text, "dam_wall_height" text, "dam_type" text ); Question: Whi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "major_dams_and_reservoirs" ( "dam_constructed" text, "year_completed" real, "impounded_body_of_water" text, "reservoir_capacity" text, "dam_wall_height" text, "dam_type" text ); Question: Whi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "major_dams_and_reservoirs" ( "dam_constructed" text, "year_completed" real, "impounded_body_of_water" text, "reservoir_capacity" text, "dam_wall_height" text, "dam_type" text ); Question: Whi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "major_dams_and_reservoirs" ( "dam_constructed" text, "year_completed" real, "impounded_body_of_water" text, "reservoir_capacity" text, "dam_wall_height" text, "dam_type" text ); Question: Whi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "the_hd_40307_system" ( "companion_in_order_from_star" text, "mass" text, "semimajor_axis_au" text, "orbital_period_s_day" text, "eccentricity" text, "inclination" text ); Question: What Compa...