text
stringlengths
310
1.28k
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "women" ( "event" text, "record" text, "athlete" text, "nationality" text, "date" text ); Question: On 11 July 2003, which athlete performed? <|assistant|> SELECT "athlete" FROM "women" WHERE "d...
<|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, "date" text ); Question: What was the away team that played luton town? <|assistant|> SELECT "away_team" F...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "senate_composition_as_a_result_of_the_el" ( "d_50_o" text, "d_49" text, "d_48" text, "d_47" text, "d_46" text, "d_45" text, "d_44" text, "d_43" text, "d_42" text, "d_41" text ); Quest...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "senate_composition_as_a_result_of_the_el" ( "d_50_o" text, "d_49" text, "d_48" text, "d_47" text, "d_46" text, "d_45" text, "d_44" text, "d_43" text, "d_42" text, "d_41" text ); Quest...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "senate_composition_as_a_result_of_the_el" ( "d_50_o" text, "d_49" text, "d_48" text, "d_47" text, "d_46" text, "d_45" text, "d_44" text, "d_43" text, "d_42" text, "d_41" text ); Quest...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "senate_composition_as_a_result_of_the_el" ( "d_50_o" text, "d_49" text, "d_48" text, "d_47" text, "d_46" text, "d_45" text, "d_44" text, "d_43" text, "d_42" text, "d_41" text ); Quest...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "senate_composition_as_a_result_of_the_el" ( "d_50_o" text, "d_49" text, "d_48" text, "d_47" text, "d_46" text, "d_45" text, "d_44" text, "d_43" text, "d_42" text, "d_41" text ); Quest...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "senate_composition_as_a_result_of_the_el" ( "d_50_o" text, "d_49" text, "d_48" text, "d_47" text, "d_46" text, "d_45" text, "d_44" text, "d_43" text, "d_42" text, "d_41" text ); Quest...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2000_fixtures_and_results" ( "date" text, "competition" text, "venue" text, "result" text, "score" text, "goals" text ); Question: What were the goals in the game with the 26-28 final score? ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2000_fixtures_and_results" ( "date" text, "competition" text, "venue" text, "result" text, "score" text, "goals" text ); Question: What was the score of the game on 19/3/00? <|assistant|> SEL...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2000_fixtures_and_results" ( "date" text, "competition" text, "venue" text, "result" text, "score" text, "goals" text ); Question: Which competition was on 17/9/00? <|assistant|> SELECT "comp...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2000_fixtures_and_results" ( "date" text, "competition" text, "venue" text, "result" text, "score" text, "goals" text ); Question: Which competition ended with a score of 58-4? <|assistant|> ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2000_fixtures_and_results" ( "date" text, "competition" text, "venue" text, "result" text, "score" text, "goals" text ); Question: Where was the game that had a final score of 30-20? <|assist...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2000_fixtures_and_results" ( "date" text, "competition" text, "venue" text, "result" text, "score" text, "goals" text ); Question: When was the game at the boulevard that ended with an 8-8 sc...
<|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 for 6 may <|assistant|> SELECT "re...
<|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: Tell me the report with winner of louis wagner <|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 with cuban race <|assistant|> SELE...
<|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 circuit for darracq and name of cuban rac...
<|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 winning driver for havana <|assistant|> S...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_20" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What is the listed crowd when the home t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_20" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What is the home team's score when st ki...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "december" ( "date" text, "visitor" text, "score" text, "home" text, "decision" text, "attendance" real, "record" text ); Question: No Decision listed above has a visitor of Montreal. <|assi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "december" ( "date" text, "visitor" text, "score" text, "home" text, "decision" text, "attendance" real, "record" text ); Question: On December 4, Tampa Bay has a record of 12-13-2. <|assist...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "passengers_carried_in_2010" ( "rank" real, "airline" text, "country" text, "passengers_carried" real, "remarks" text, "alliance" text ); Question: What are the remarks for the entry ranked gr...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "passengers_carried_in_2010" ( "rank" real, "airline" text, "country" text, "passengers_carried" real, "remarks" text, "alliance" text ); Question: How many airlines have the star alliance and...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "references" ( "village_german" text, "village_slovenian" text, "number_of_people_1991" real, "percent_of_slovenes_1991" text, "percent_of_slovenes_1951" text ); Question: What was the percentag...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "references" ( "village_german" text, "village_slovenian" text, "number_of_people_1991" real, "percent_of_slovenes_1991" text, "percent_of_slovenes_1951" text ); Question: What was Rut's Slovene...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "reactor_data" ( "unit" text, "reactor_type" text, "net_capacity" text, "gross_capacity" text, "construction_start" text, "grid_connection" text, "commercial_operation" text, "status" text ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "reactor_data" ( "unit" text, "reactor_type" text, "net_capacity" text, "gross_capacity" text, "construction_start" text, "grid_connection" text, "commercial_operation" text, "status" text ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "reactor_data" ( "unit" text, "reactor_type" text, "net_capacity" text, "gross_capacity" text, "construction_start" text, "grid_connection" text, "commercial_operation" text, "status" text ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "reactor_data" ( "unit" text, "reactor_type" text, "net_capacity" text, "gross_capacity" text, "construction_start" text, "grid_connection" text, "commercial_operation" text, "status" text ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "reactor_data" ( "unit" text, "reactor_type" text, "net_capacity" text, "gross_capacity" text, "construction_start" text, "grid_connection" text, "commercial_operation" text, "status" text ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "reactor_data" ( "unit" text, "reactor_type" text, "net_capacity" text, "gross_capacity" text, "construction_start" text, "grid_connection" text, "commercial_operation" text, "status" text ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2012_boys_team" ( "player" text, "height" text, "school" text, "hometown" text, "college" text, "nba_draft" text ); Question: Which school did player Rodney Purvis belong to? <|assistant|> SE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2012_boys_team" ( "player" text, "height" text, "school" text, "hometown" text, "college" text, "nba_draft" text ); Question: What was the NBA draft status for Northeast High School? <|assist...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2012_boys_team" ( "player" text, "height" text, "school" text, "hometown" text, "college" text, "nba_draft" text ); Question: Which players college was Baylor? <|assistant|> SELECT "player" F...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2012_boys_team" ( "player" text, "height" text, "school" text, "hometown" text, "college" text, "nba_draft" text ); Question: What was the college for Alex Poythress? <|assistant|> SELECT "co...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2012_boys_team" ( "player" text, "height" text, "school" text, "hometown" text, "college" text, "nba_draft" text ); Question: What is Alex Poythress height? <|assistant|> SELECT "height" FROM...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "winners" ( "year" real, "champion" text, "winning_score" text, "low_amateur" text, "low_professional" text ); Question: What was Allison Fouch score in the year larger than 2000? <|assistant|> ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "release_history" ( "release_format" text, "country" text, "label" text, "cat_no" text, "release_date" real ); Question: How many release dates have a Country of west germany, and a Release form...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "release_history" ( "release_format" text, "country" text, "label" text, "cat_no" text, "release_date" real ); Question: Which label is from Spain? <|assistant|> SELECT "label" FROM "release_his...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "save" text, "attendance" real, "record" text ); Question: What's the save when the loss was santiago (2–2)? <|assistant...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_by_season_national_league_records" ( "season" text, "division" text, "position" text, "played" text, "lost" text, "points" text ); Question: Which season was 2nd position? <|assistant|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_by_season_national_league_records" ( "season" text, "division" text, "position" text, "played" text, "lost" text, "points" text ); Question: What's the value for played when the divisi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_by_season_national_league_records" ( "season" text, "division" text, "position" text, "played" text, "lost" text, "points" text ); Question: What's the points when the division is ebl ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_by_season_national_league_records" ( "season" text, "division" text, "position" text, "played" text, "lost" text, "points" text ); Question: What's the value for played when points is ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "classification" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real ); Question: Who was driving with a Grid of 13? <|assistant|> SELECT "driver" FROM "classifica...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "classification" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real ); Question: For Laps smaller than 6, what does the Grid add up to? <|assistant|> SELECT SUM("...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_review" ( "race" text, "circuit" text, "date" text, "pole_position" text, "fastest_lap" text, "winning_driver" text, "constructor" text, "tyre" text, "report" text ); Question: W...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_review" ( "race" text, "circuit" text, "date" text, "pole_position" text, "fastest_lap" text, "winning_driver" text, "constructor" text, "tyre" text, "report" text ); Question: W...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_review" ( "race" text, "circuit" text, "date" text, "pole_position" text, "fastest_lap" text, "winning_driver" text, "constructor" text, "tyre" text, "report" text ); Question: W...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "first_world_war" ( "rank_in_military" text, "name" text, "born" real, "killed" real, "political_party" text, "mp_s_seat" text ); Question: What was the military rank for the person killed in ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real ); Question: How much time does it take for jean alesi and grids lesser than 5? <|assistant|> SELECT "ti...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real ); Question: What is the low grid for gerhard berger for laps over 56? <|assistant|> SELECT MIN("grid") ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "classification" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real ); Question: If the grid is 13 who is driving? <|assistant|> SELECT "driver" FROM "classificat...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "tournament_results" ( "date" text, "tournament" text, "location" text, "purse" real, "winner" text, "score" text, "1st_prize" real ); Question: What is the purse total for the royal caribbe...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_21" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: Which home team scored a 15.16 (106)? <|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_21" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: Which away team scored at 15.17 (107) at...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "track_listing" ( "track" real, "title" text, "author_s" text, "recorded" text, "length" text ); Question: Which title is 3:38 long? <|assistant|> SELECT "title" FROM "track_listing" WHERE "leng...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "track_listing" ( "track" real, "title" text, "author_s" text, "recorded" text, "length" text ); Question: Which title is 3:43 long? <|assistant|> SELECT "title" FROM "track_listing" WHERE "leng...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "references" ( "year" real, "film_video" text, "visual_arts" text, "theatre" text, "dance" text, "music" text ); Question: What Dance has the Visual Arts of Bryon Kim? <|assistant|> SELECT "da...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "references" ( "year" real, "film_video" text, "visual_arts" text, "theatre" text, "dance" text, "music" text ); Question: In 2004, what is the Dance? <|assistant|> SELECT "dance" FROM "refere...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "national_final_7_february_1999" ( "draw" real, "artist" text, "song" text, "points" real, "place" real ); Question: What artist had 1 draw? <|assistant|> SELECT "artist" FROM "national_final_7_...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "destinations" ( "city" text, "country" text, "airport" text, "iata" text, "icao" text ); Question: Name the IATA for jeddah <|assistant|> SELECT "iata" FROM "destinations" WHERE "city"='jeddah'...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "destinations" ( "city" text, "country" text, "airport" text, "iata" text, "icao" text ); Question: Name the IATA for jessore <|assistant|> SELECT "iata" FROM "destinations" WHERE "city"='jessor...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "destinations" ( "city" text, "country" text, "airport" text, "iata" text, "icao" text ); Question: Name the city for thailand <|assistant|> SELECT "city" FROM "destinations" WHERE "country"='th...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "destinations" ( "city" text, "country" text, "airport" text, "iata" text, "icao" text ); Question: Name the IATA of wmkk <|assistant|> SELECT "iata" FROM "destinations" WHERE "icao"='wmkk';<|en...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_18" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: When did the away team carlton play? <|a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_18" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: Where did a home team score 8.14 (62)? <...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "by_constructor" ( "rank" real, "country" text, "constructor" text, "wins" real, "active" text, "first_win" text, "last_win" text ); Question: Which constructor is from ITA with a rank less ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_schedule" ( "week" real, "date" text, "opponent" text, "score" text, "result" text, "attendance" text, "record" text ); Question: Who was the opponent in the Week 4 game? <|assistant...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "24_hours_of_le_mans_results" ( "year" real, "team" text, "co_drivers" text, "class" text, "laps" real, "pos" text, "class_pos" text ); Question: Who are the co-drivers before 2010 with unde...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "24_hours_of_le_mans_results" ( "year" real, "team" text, "co_drivers" text, "class" text, "laps" real, "pos" text, "class_pos" text ); Question: Who are the co-drivers the risi competizione...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real ); Question: Tell me the highest laps for time/retired of +2 laps and driver of felice bonetto <|assista...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real ); Question: I want to know the driver when grid is greater than 13 and laps is less than 60 with time/r...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles" ( "year" real, "song" text, "aria_singles_chart" text, "triple_j_hottest_100" text, "uk_indie_singles_chart" text, "uk_singles_chart" text, "album" text ); Question: Name the album...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "national_team" ( "date" text, "venue" text, "score" text, "competition" text, "turkey_scorers" text, "match_report" text ); Question: What was the score on october 17, 2007? <|assistant|> SEL...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "national_team" ( "date" text, "venue" text, "score" text, "competition" text, "turkey_scorers" text, "match_report" text ); Question: What was the competition for score of 3-0 <|assistant|> S...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "national_team" ( "date" text, "venue" text, "score" text, "competition" text, "turkey_scorers" text, "match_report" text ); Question: Which venue had a score of 1-1? <|assistant|> SELECT "ven...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "national_team" ( "date" text, "venue" text, "score" text, "competition" text, "turkey_scorers" text, "match_report" text ); Question: I want the date for nihat kahveci <|assistant|> SELECT "d...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_vancouver_canucks_draft_picks" ( "rd_num" real, "pick_num" real, "player" text, "team_league" text, "reg_gp" real ); Question: What is the smallest pick with a Reg GP less than 0? <|ass...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_vancouver_canucks_draft_picks" ( "rd_num" real, "pick_num" real, "player" text, "team_league" text, "reg_gp" real ); Question: What is the total of pick numbers with a Reg GP larger tha...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_1" ( "rider" text, "horse" text, "time_s" text, "faults" text, "total_time_s" text, "points" real ); Question: What is the total points when there is a refusal fault and the rider is H....
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_1" ( "rider" text, "horse" text, "time_s" text, "faults" text, "total_time_s" text, "points" real ); Question: What is the total points when the horse is Chippison? <|assistant|> SELECT...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_1" ( "rider" text, "horse" text, "time_s" text, "faults" text, "total_time_s" text, "points" real ); Question: What is the total time (s) for the horse Pinot Grigio? <|assistant|> SELEC...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_1" ( "rider" text, "horse" text, "time_s" text, "faults" text, "total_time_s" text, "points" real ); Question: What is the average amount of points when the time (s) is 81.78? <|assista...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2012_team" ( "player" text, "position" text, "school" text, "hometown" text, "college" text ); Question: What is the position of the player from Glades Day School? <|assistant|> SELECT "positio...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2012_team" ( "player" text, "position" text, "school" text, "hometown" text, "college" text ); Question: What is the position of the player who went to college of notre dame? <|assistant|> SELE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2012_team" ( "player" text, "position" text, "school" text, "hometown" text, "college" text ); Question: What is the school of the player who went to the college of michigan and originally come...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "teams_and_drivers" ( "constructor" text, "chassis" text, "engine" text, "tyre" text, "driver" text, "rounds" text ); Question: What Chassis was driven by Otto Stuppacher? <|assistant|> SELECT...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "teams_and_drivers" ( "constructor" text, "chassis" text, "engine" text, "tyre" text, "driver" text, "rounds" text ); Question: Who drove the car with the n175 chassis in round 13? <|assistant...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "teams_and_drivers" ( "constructor" text, "chassis" text, "engine" text, "tyre" text, "driver" text, "rounds" text ); Question: What chassis did John Watson drive? <|assistant|> SELECT "chassi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "3101_3200" ( "ngc_number" real, "object_type" text, "constellation" text, "right_ascension_j2000" text, "declination_j2000" text ); Question: what is the right ascension (j2000) when the conste...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "3101_3200" ( "ngc_number" real, "object_type" text, "constellation" text, "right_ascension_j2000" text, "declination_j2000" text ); Question: what is the constellation when the Right ascension ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "3101_3200" ( "ngc_number" real, "object_type" text, "constellation" text, "right_ascension_j2000" text, "declination_j2000" text ); Question: what is the highest ngc number when the declination...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_6" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What is the score for Collingwood as the ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_6" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What away team had a score of 14.14 (98)?...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_6" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What did the home team score at Princes P...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_6" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What is the home team score when the away...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_6" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: When did the home team score 14.22 (106)?...