text
stringlengths
310
1.28k
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "highest_grossing_films_of_1996" ( "rank" real, "title" text, "studio" text, "director" text, "worldwide_gross" text ); Question: What was the worldwide gross for the film directed by joe pytka?...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "highest_grossing_films_of_1996" ( "rank" real, "title" text, "studio" text, "director" text, "worldwide_gross" text ); Question: What was the average rank for the film directed by roland emmeri...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "highest_grossing_films_of_1996" ( "rank" real, "title" text, "studio" text, "director" text, "worldwide_gross" text ); Question: What is the average rank for the film directed by michael bay? <...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "largest_cities_in_the_provinces" ( "province" text, "largest_city" text, "2nd_largest" text, "3rd_largest" text, "4th_largest" text ); Question: What is the 3rd largest where the largest city i...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "largest_cities_in_the_provinces" ( "province" text, "largest_city" text, "2nd_largest" text, "3rd_largest" text, "4th_largest" text ); Question: What is the province where the 3rd largest is Sa...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "largest_cities_in_the_provinces" ( "province" text, "largest_city" text, "2nd_largest" text, "3rd_largest" text, "4th_largest" text ); Question: What is the 4th largest where the 2nd largest is...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "largest_cities_in_the_provinces" ( "province" text, "largest_city" text, "2nd_largest" text, "3rd_largest" text, "4th_largest" text ); Question: In which province is the 3rd largest Dehbarez? <...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "largest_cities_in_the_provinces" ( "province" text, "largest_city" text, "2nd_largest" text, "3rd_largest" text, "4th_largest" text ); Question: What is the 3rd largest when 2nd largest in Mina...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "largest_cities_in_the_provinces" ( "province" text, "largest_city" text, "2nd_largest" text, "3rd_largest" text, "4th_largest" text ); Question: What province has the largest city of Birjand? <...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_schedule" ( "date" text, "opponent" text, "score" text, "result" text, "record" text, "attendance" real ); Question: What was the score on september 28? <|assistant|> SELECT "score" FR...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_schedule" ( "date" text, "opponent" text, "score" text, "result" text, "record" text, "attendance" real ); Question: What date was the score 29-7? <|assistant|> SELECT "date" FROM "sea...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule_and_results" ( "game" real, "january" real, "opponent" text, "score" text, "record" text ); Question: How much January has a Game smaller than 37, and an Opponent of detroit red wings?...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule_and_results" ( "game" real, "january" real, "opponent" text, "score" text, "record" text ); Question: Which January has an Opponent of toronto maple leafs? <|assistant|> SELECT "januar...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule_and_results" ( "game" real, "january" real, "opponent" text, "score" text, "record" text ); Question: Which January has an Opponent of @ detroit red wings? <|assistant|> SELECT AVG("ja...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "friendlies" ( "date" text, "opponent" text, "venue" text, "score" text, "attendance" text, "scorers" text ); Question: What date was the score won 1-2? <|assistant|> SELECT "date" FROM "frien...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "friendlies" ( "date" text, "opponent" text, "venue" text, "score" text, "attendance" text, "scorers" text ); Question: What was the score when Bornor Regis Town was the opponent? <|assistant|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "friendlies" ( "date" text, "opponent" text, "venue" text, "score" text, "attendance" text, "scorers" text ); Question: What is the number of people in attendance when Tonbridge Angels is the ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "friendlies" ( "date" text, "opponent" text, "venue" text, "score" text, "attendance" text, "scorers" text ); Question: What is the score when the attendance shows TBC, and Sidley United was t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "friendlies" ( "date" text, "opponent" text, "venue" text, "score" text, "attendance" text, "scorers" text ); Question: What is the score when the scorers show match report? <|assistant|> SELE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles" ( "year" real, "a_side" text, "b_side" text, "label" text, "us_pop" text, "album" text ); Question: Which Album has a Label of msb 801? <|assistant|> SELECT "album" FROM "singles" WH...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles" ( "year" real, "a_side" text, "b_side" text, "label" text, "us_pop" text, "album" text ); Question: Which Album has a Label of tumbleweed 1014? <|assistant|> SELECT "album" FROM "sin...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fourth_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text ); Question: What was the score when the tie no was 12? <|assistant|> SELECT "score" FROM "fo...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fourth_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text ); Question: What date was the match against carlisle united? <|assistant|> SELECT "date" FRO...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fourth_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text ); Question: Who was the home team when millwall was the away team? <|assistant|> SELECT "hom...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "members" ( "country" text, "un_budget" text, "international_trade_millions_of_usd_2011" real, "gdp_nominal_millions_of_usd_2011" real, "gdp_ppp_millions_of_usd_2011" real, "population" real );...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "recording_career" ( "event" text, "year" real, "category" text, "work" text, "outcome" text ); Question: What category was the nominated in after 2008? <|assistant|> SELECT "category" FROM "rec...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "recording_career" ( "event" text, "year" real, "category" text, "work" text, "outcome" text ); Question: What year had the supernova award? <|assistant|> SELECT "year" FROM "recording_career" W...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "recording_career" ( "event" text, "year" real, "category" text, "work" text, "outcome" text ); Question: What category was the winner in? <|assistant|> SELECT "category" FROM "recording_career"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "destinations" ( "city" text, "country" text, "iata" text, "icao" text, "airport" text ); Question: what is the country when the iata is gva? <|assistant|> SELECT "country" FROM "destinations" W...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "destinations" ( "city" text, "country" text, "iata" text, "icao" text, "airport" text ); Question: what is the country for the city of cardiff? <|assistant|> SELECT "country" FROM "destinations...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "destinations" ( "city" text, "country" text, "iata" text, "icao" text, "airport" text ); Question: what is the icao when the country is norway? <|assistant|> SELECT "icao" FROM "destinations" W...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "destinations" ( "city" text, "country" text, "iata" text, "icao" text, "airport" text ); Question: what is the city for the country of netherlands? <|assistant|> SELECT "city" FROM "destination...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "destinations" ( "city" text, "country" text, "iata" text, "icao" text, "airport" text ); Question: what is the airport when the city is düsseldorf? <|assistant|> SELECT "airport" FROM "destinat...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "destinations" ( "city" text, "country" text, "iata" text, "icao" text, "airport" text ); Question: what is the iata when the city is leipzig? <|assistant|> SELECT "iata" FROM "destinations" WHE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule_and_results" ( "game" real, "february" real, "opponent" text, "score" text, "record" text ); Question: What is the record on February 23? <|assistant|> SELECT "record" FROM "schedule_a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fastest_ascents_of_the_angliru" ( "rank" real, "year" real, "ascent_time" text, "speed" text, "rider" text ); Question: What was the rank of the rider whose ascent time was 43:24 before the yea...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fastest_ascents_of_the_angliru" ( "rank" real, "year" real, "ascent_time" text, "speed" text, "rider" text ); Question: Who is the rider that has a rank of less than 8 in the year 2000, and who...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "college" ( "season" text, "gp_gs" text, "comp_att" text, "pct" text, "yards" text, "long" text, "avg_g" text ); Question: What is the number of completions and attempts taken in 2009? <|ass...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "college" ( "season" text, "gp_gs" text, "comp_att" text, "pct" text, "yards" text, "long" text, "avg_g" text ); Question: What is the completion/attempts value for the year with an average ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "college" ( "season" text, "gp_gs" text, "comp_att" text, "pct" text, "yards" text, "long" text, "avg_g" text ); Question: What is the long value for the year with an average/game of 160.9? ...
<|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, "location" text, "attendance" real, "record" text, "points" real ); Question: What was the highest attendance of Febru...
<|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, "location" text, "attendance" real, "record" text, "points" real ); Question: Which game has a number lower than 57 an...
<|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, "location" text, "attendance" real, "record" text, "points" real ); Question: What game in February 10, 2009 has the ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "record_vs_sec_opponents" ( "missouri_vs" text, "overall_record" text, "at_columbia" text, "at_opponent_s_venue" text, "at_neutral_site" text, "last_5_meetings" text, "last_10_meetings" text,...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "record_vs_sec_opponents" ( "missouri_vs" text, "overall_record" text, "at_columbia" text, "at_opponent_s_venue" text, "at_neutral_site" text, "last_5_meetings" text, "last_10_meetings" text,...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "record_vs_sec_opponents" ( "missouri_vs" text, "overall_record" text, "at_columbia" text, "at_opponent_s_venue" text, "at_neutral_site" text, "last_5_meetings" text, "last_10_meetings" text,...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "finite_forms_of_garnu_to_do" ( "simple_present_future" text, "probable_future" text, "simple_past" text, "past_habitual" text, "injunctive" text, "imperative" text ); Question: What is the pr...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "finite_forms_of_garnu_to_do" ( "simple_present_future" text, "probable_future" text, "simple_past" text, "past_habitual" text, "injunctive" text, "imperative" text ); Question: What is the in...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "ministers_without_portfolio" ( "portfolio" text, "minister" text, "took_office" text, "left_office" text, "party" text ); Question: What is the date of taking office for Giorgia Meloni? <|assis...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "ministers_without_portfolio" ( "portfolio" text, "minister" text, "took_office" text, "left_office" text, "party" text ); Question: Which party was Andrea Ronchi from? <|assistant|> SELECT "par...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "club_statistics" ( "season" text, "team" text, "country" text, "division" real, "apps" real, "goals" real ); Question: What is the lowest Division, when Team is "Benfica", and when Apps is 22...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "wins_5" ( "year" real, "championship" text, "winning_score" text, "to_par" text, "margin_of_victory" text, "runner_up" text, "winner_s_share" real ); Question: What Championship had a winni...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "wins_5" ( "year" real, "championship" text, "winning_score" text, "to_par" text, "margin_of_victory" text, "runner_up" text, "winner_s_share" real ); Question: What is the smallest winner's...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "winners_since_2000" ( "year" real, "winner" text, "jockey" text, "trainer" text, "owner" text, "time" text ); Question: What is Jockey, when Time is 1:15.89? <|assistant|> SELECT "jockey" FRO...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "winners_since_2000" ( "year" real, "winner" text, "jockey" text, "trainer" text, "owner" text, "time" text ); Question: What is Time, when Jockey is John Velazquez, and when Trainer is Todd A...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "winners_since_2000" ( "year" real, "winner" text, "jockey" text, "trainer" text, "owner" text, "time" text ); Question: What is Winner, when Year is 2001? <|assistant|> SELECT "winner" FROM "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "winners_since_2000" ( "year" real, "winner" text, "jockey" text, "trainer" text, "owner" text, "time" text ); Question: What is Jockey, when Winner is Alke? <|assistant|> SELECT "jockey" FROM...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "superbike_race_2_classification" ( "rider" text, "bike" text, "laps" real, "time" text, "grid" real ); Question: What is the average laps for the +50.653 time? <|assistant|> SELECT AVG("laps") ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table" ( "place" real, "matches" real, "drawn" real, "lost" real, "difference" text, "points" real ); Question: What is the highest Matches were the points were smaller than 8, the place was ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table" ( "place" real, "matches" real, "drawn" real, "lost" real, "difference" text, "points" real ); Question: What is the average points when the drawn is less than 0? <|assistant|> SELECT ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "medal_table" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real ); Question: What was Turkey's lowest gold when there were less than 2 bronze? <|assistant|>...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "notes" ( "rank" text, "administrative_division" text, "area_km" real, "area_sq_mi" real, "national_share_pct" real, "comparable_country" text ); Question: What is the average area in square m...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "notes" ( "rank" text, "administrative_division" text, "area_km" real, "area_sq_mi" real, "national_share_pct" real, "comparable_country" text ); Question: What is the average area in square m...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "notes" ( "rank" text, "administrative_division" text, "area_km" real, "area_sq_mi" real, "national_share_pct" real, "comparable_country" text ); Question: What is the average square kilometer...
<|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 Central Michigan's average overall when the p...
<|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 record when the o...
<|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 method for round ...
<|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 location when 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 is the record when the r...
<|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 record when the e...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final_leaderboard" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" text ); Question: How much money did Ben Crenshaw earn? <|assistant|> SELECT "money" FRO...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "international_goals" ( "date" text, "venue" text, "score" text, "result" text, "competition" text ); Question: what is the competition when the score is 2-1? <|assistant|> SELECT "competition" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "international_goals" ( "date" text, "venue" text, "score" text, "result" text, "competition" text ); Question: what is the venue when the score is 10-0 on 1997-06-22? <|assistant|> SELECT "venu...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "international_goals" ( "date" text, "venue" text, "score" text, "result" text, "competition" text ); Question: what is the venue when the competition is 1996 afc asian cup group stage? <|assist...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "international_goals" ( "date" text, "venue" text, "score" text, "result" text, "competition" text ); Question: what is the competition when the date is 1995-08-06? <|assistant|> SELECT "competi...
<|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, "channel" text, "attendance" text ); Question: What is the total number of weeks that the Giants played against the Dalla...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_15" ( "date" text, "home" text, "score" text, "away" text, "attendance" real ); Question: Which Home has an Away of hispano? <|assistant|> SELECT "home" FROM "round_15" WHERE "away"='hisp...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "complete_formula_one_results" ( "year" real, "entrant" text, "chassis" text, "engine" text, "points" text ); Question: What engine has the Mercedes AMG Petronas f1 team, and 93 points? <|assist...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "complete_formula_one_results" ( "year" real, "entrant" text, "chassis" text, "engine" text, "points" text ); Question: Which Chassis has 4 points? <|assistant|> SELECT "chassis" FROM "complete_...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_21_17_titles_4_runner_ups" ( "outcome" text, "year" real, "championship" text, "surface" text, "opponent" text, "score" text ); Question: What is Opponent, when Year is greater than 2...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_21_17_titles_4_runner_ups" ( "outcome" text, "year" real, "championship" text, "surface" text, "opponent" text, "score" text ); Question: What is the lowest Year, when Surface is Hard...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_21_17_titles_4_runner_ups" ( "outcome" text, "year" real, "championship" text, "surface" text, "opponent" text, "score" text ); Question: What is Surface, when Championship is Austral...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_21_17_titles_4_runner_ups" ( "outcome" text, "year" real, "championship" text, "surface" text, "opponent" text, "score" text ); Question: What is Outcome, when Opponent is Victoria Az...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "dvd_and_blu_ray_releases" ( "release_title" text, "series" text, "no_of_dv_ds" text, "no_of_blu_ray_discs" text, "release_date" text, "episode_no" text, "region_no" real, "released_by" tex...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "dvd_and_blu_ray_releases" ( "release_title" text, "series" text, "no_of_dv_ds" text, "no_of_blu_ray_discs" text, "release_date" text, "episode_no" text, "region_no" real, "released_by" tex...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "dvd_and_blu_ray_releases" ( "release_title" text, "series" text, "no_of_dv_ds" text, "no_of_blu_ray_discs" text, "release_date" text, "episode_no" text, "region_no" real, "released_by" tex...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "k" ( "player" text, "nationality" text, "jersey_number_s" text, "position" text, "years" text, "from" text ); Question: Who was the player from Duke? <|assistant|> SELECT "position" FROM "k" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_alt_flights" ( "test_flight" text, "date" text, "speed" text, "altitude" text, "crew" text, "duration" text, "comment" text ); Question: What is Duration, when Test Flight is Taxi T...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_alt_flights" ( "test_flight" text, "date" text, "speed" text, "altitude" text, "crew" text, "duration" text, "comment" text ); Question: What it Duration, when Test Flight is Free F...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_alt_flights" ( "test_flight" text, "date" text, "speed" text, "altitude" text, "crew" text, "duration" text, "comment" text ); Question: What is Date, when Comment is Tailcone On, L...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_alt_flights" ( "test_flight" text, "date" text, "speed" text, "altitude" text, "crew" text, "duration" text, "comment" text ); Question: What is Crew, when Date is July 26, 1977? <|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "r" ( "player" text, "nationality" text, "jersey_number_s" real, "position" text, "years" text, "from" text ); Question: What is Years, when Nationality is United States, and when Position is ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "r" ( "player" text, "nationality" text, "jersey_number_s" real, "position" text, "years" text, "from" text ); Question: What is Nationality, when Years is 1979? <|assistant|> SELECT "national...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "r" ( "player" text, "nationality" text, "jersey_number_s" real, "position" text, "years" text, "from" text ); Question: What is From, when Player is Jackie Robinson Category:Articles With Hca...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "scoring_summary" ( "period" text, "team" text, "goal" text, "time" text, "score" text ); Question: WHAT SCORE HAS A TIME OF 18:27? <|assistant|> SELECT "score" FROM "scoring_summary" WHERE "tim...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "scoring_summary" ( "period" text, "team" text, "goal" text, "time" text, "score" text ); Question: WHAT GOAL HAS A TIME OF 39:37? <|assistant|> SELECT "goal" FROM "scoring_summary" WHERE "time"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "see_also" ( "member" text, "party" text, "electorate" text, "state" text, "term_of_office" text ); Question: What is Electorate, when Party is "Country", when State is "WA", and when Member is ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "see_also" ( "member" text, "party" text, "electorate" text, "state" text, "term_of_office" text ); Question: What is Term of Office, when Member is "Dominic Costa"? <|assistant|> SELECT "term_o...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "see_also" ( "member" text, "party" text, "electorate" text, "state" text, "term_of_office" text ); Question: What is State, when Member is "Gil Duthie"? <|assistant|> SELECT "state" FROM "see_a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "stockholm_derbies" ( "date" text, "venue" text, "opponents" text, "score" text, "attendance" text ); Question: What was the number of attendance at Stadion with a score of 2-0 <|assistant|> SEL...