text
stringlengths
310
1.28k
<|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: Can you tell me the Opponent ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "structures_past_or_present_between_550_a" ( "pinnacle_height" text, "year" real, "structure_type" text, "main_use" text, "country" text, "town" text ); Question: What is the main use for the ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "structures_past_or_present_between_550_a" ( "pinnacle_height" text, "year" real, "structure_type" text, "main_use" text, "country" text, "town" text ); Question: What year was the structure i...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "structures_past_or_present_between_550_a" ( "pinnacle_height" text, "year" real, "structure_type" text, "main_use" text, "country" text, "town" text ); Question: What was the earliest year th...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "structures_past_or_present_between_550_a" ( "pinnacle_height" text, "year" real, "structure_type" text, "main_use" text, "country" text, "town" text ); Question: What is the main use of the s...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race_4_5_01_2010" ( "position" real, "pilot" text, "glider" text, "speed" text, "distance" text ); Question: How far did the pilot go when averaging 124.1km/h? <|assistant|> SELECT "distance" F...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race_4_5_01_2010" ( "position" real, "pilot" text, "glider" text, "speed" text, "distance" text ); Question: What was sebastian kawa's average speed with Diana 2? <|assistant|> SELECT "speed" F...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race_4_5_01_2010" ( "position" real, "pilot" text, "glider" text, "speed" text, "distance" text ); Question: What glider did thomas gostner pilot? <|assistant|> SELECT "glider" FROM "race_4_5_0...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "results" ( "rank" text, "team" text, "athletes" text, "run_1" text, "run_2" text, "run_3" text, "run_4" text, "final" text ); Question: Which Run 4 has a Final of 8:16.28? <|assistant|> S...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "results" ( "rank" text, "team" text, "athletes" text, "run_1" text, "run_2" text, "run_3" text, "run_4" text, "final" text ); Question: Which Run 4 has Athletes of hubert stevens & curtis...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "results" ( "rank" text, "team" text, "athletes" text, "run_1" text, "run_2" text, "run_3" text, "run_4" text, "final" text ); Question: Which Run 2 has a Rank of 4? <|assistant|> SELECT "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "results" ( "rank" text, "team" text, "athletes" text, "run_1" text, "run_2" text, "run_3" text, "run_4" text, "final" text ); Question: Which Athletes have a Rank of bronze? <|assistant|>...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "results" ( "rank" text, "team" text, "athletes" text, "run_1" text, "run_2" text, "run_3" text, "run_4" text, "final" text ); Question: Which Athletes have a Run 2 of 2:21.82? <|assistant...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "results" ( "rank" text, "team" text, "athletes" text, "run_1" text, "run_2" text, "run_3" text, "run_4" text, "final" text ); Question: Which Run 3 has a Run 1 of 2:20.10? <|assistant|> S...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "opinion_polling_for_the_united_states_se" ( "poll_source" text, "dates_administered" text, "democrat_tom_harkin" text, "republican_christopher_reed" text, "lead_margin" real ); Question: What w...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "opinion_polling_for_the_united_states_se" ( "poll_source" text, "dates_administered" text, "democrat_tom_harkin" text, "republican_christopher_reed" text, "lead_margin" real ); Question: What p...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "opinion_polling_for_the_united_states_se" ( "poll_source" text, "dates_administered" text, "democrat_tom_harkin" text, "republican_christopher_reed" text, "lead_margin" real ); Question: What w...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "opinion_polling_for_the_united_states_se" ( "poll_source" text, "dates_administered" text, "democrat_tom_harkin" text, "republican_christopher_reed" text, "lead_margin" real ); Question: What w...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "opinion_polling_for_the_united_states_se" ( "poll_source" text, "dates_administered" text, "democrat_tom_harkin" text, "republican_christopher_reed" text, "lead_margin" real ); Question: What w...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "moto_gp_classification" ( "rider" text, "manufacturer" text, "laps" text, "time_retired" text, "grid" text ); Question: What is Olivier Jacque's Time/Retired? <|assistant|> SELECT "time_retired...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "moto_gp_classification" ( "rider" text, "manufacturer" text, "laps" text, "time_retired" text, "grid" text ); Question: Which manufacturer is grid 11? <|assistant|> SELECT "manufacturer" FROM "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "moto_gp_classification" ( "rider" text, "manufacturer" text, "laps" text, "time_retired" text, "grid" text ); Question: Which manufacturer does Loris Capirossi ride for? <|assistant|> SELECT "m...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "moto_gp_classification" ( "rider" text, "manufacturer" text, "laps" text, "time_retired" text, "grid" text ); Question: Which manufacturer has 8 laps? <|assistant|> SELECT "manufacturer" FROM "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "moto_gp_classification" ( "rider" text, "manufacturer" text, "laps" text, "time_retired" text, "grid" text ); Question: How many laps does grid 4 have? <|assistant|> SELECT "laps" FROM "moto_gp...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "moto_gp_classification" ( "rider" text, "manufacturer" text, "laps" text, "time_retired" text, "grid" text ); Question: Which rider's manufacturer is Honda and has 28 laps and a grid of 1? <|as...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "cities_over_1_000_000_population" ( "rank" real, "city" text, "province" text, "date_of_official_foundation_of_municipality" real, "2006" real, "1996" real, "1986" real, "1976" real, "19...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "cities_over_1_000_000_population" ( "rank" real, "city" text, "province" text, "date_of_official_foundation_of_municipality" real, "2006" real, "1996" real, "1986" real, "1976" real, "19...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "cities_over_1_000_000_population" ( "rank" real, "city" text, "province" text, "date_of_official_foundation_of_municipality" real, "2006" real, "1996" real, "1986" real, "1976" real, "19...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "cities_over_1_000_000_population" ( "rank" real, "city" text, "province" text, "date_of_official_foundation_of_municipality" real, "2006" real, "1996" real, "1986" real, "1976" real, "19...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "400_meters" ( "year" real, "result" real, "world_rank" text, "location" text, "date" text ); Question: Which World Rank happened in 1977? <|assistant|> SELECT "world_rank" FROM "400_meters" WHE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nielsen_ratings_broadcast_history" ( "season" real, "premiere" text, "finale" text, "rank" text, "rating" text ); Question: What is the rank for the episode that premiered on September 12, 1979...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nielsen_ratings_broadcast_history" ( "season" real, "premiere" text, "finale" text, "rank" text, "rating" text ); Question: What was the date of the finale for the season that premiered on Sept...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nielsen_ratings_broadcast_history" ( "season" real, "premiere" text, "finale" text, "rank" text, "rating" text ); Question: What is the rank for the episode that premiered on September 13, 1978...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nielsen_ratings_broadcast_history" ( "season" real, "premiere" text, "finale" text, "rank" text, "rating" text ); Question: What was the date of the finale for Season 3? <|assistant|> SELECT "f...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nielsen_ratings_broadcast_history" ( "season" real, "premiere" text, "finale" text, "rank" text, "rating" text ); Question: What was the date of the premiere that had a 20.9 rating? <|assistant...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race" ( "driver" text, "team" text, "laps" real, "time_retired" text, "grid" real, "points" real ); Question: What was Herdez Competition's total points with a grid larger than 1? <|assistant...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race" ( "driver" text, "team" text, "laps" real, "time_retired" text, "grid" real, "points" real ); Question: What was the highest lap count for Walker Racing with a grid larger than 15? <|as...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race" ( "driver" text, "team" text, "laps" real, "time_retired" text, "grid" real, "points" real ); Question: Which driver had 248 laps? <|assistant|> SELECT "driver" FROM "race" WHERE "laps"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race" ( "driver" text, "team" text, "laps" real, "time_retired" text, "grid" real, "points" real ); Question: What driver had a time/retired of + 10 laps and more than 6 points? <|assistant|>...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "location_attendance" text, "record" text ); Question: Which Record has a Game o...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "location_attendance" text, "record" text ); Question: Which High points have a ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "location_attendance" text, "record" text ); Question: Which High points has a G...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "location_attendance" text, "record" text ); Question: Which Location Attendance...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "location_attendance" text, "record" text ); Question: Which Record has a High r...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "location_attendance" text, "record" text ); Question: Which Game has a Record o...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_18_7_10" ( "date" text, "tournament" text, "surface" text, "partner" text, "opponents_in_final" text, "score_in_final" text ); Question: What Tournament had a Score in Final of 5–7, 4...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_18_7_10" ( "date" text, "tournament" text, "surface" text, "partner" text, "opponents_in_final" text, "score_in_final" text ); Question: What is the Opponents in Final in the match wi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_18_7_10" ( "date" text, "tournament" text, "surface" text, "partner" text, "opponents_in_final" text, "score_in_final" text ); Question: What is the Date of the match with Partner Ste...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_18_7_10" ( "date" text, "tournament" text, "surface" text, "partner" text, "opponents_in_final" text, "score_in_final" text ); Question: What is the Partner of the match with a Score ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_performance_timeline" ( "tournament" text, "1988" text, "1989" text, "1990" text, "1991" text, "1992" text, "1993" text, "1994" text, "1995" text, "1996" text, "1997" text, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_performance_timeline" ( "tournament" text, "1988" text, "1989" text, "1990" text, "1991" text, "1992" text, "1993" text, "1994" text, "1995" text, "1996" text, "1997" text, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_performance_timeline" ( "tournament" text, "1988" text, "1989" text, "1990" text, "1991" text, "1992" text, "1993" text, "1994" text, "1995" text, "1996" text, "1997" text, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "group_i" ( "position" real, "club" text, "played" real, "points" real, "wins" real, "draws" real, "losses" real, "goals_for" real, "goals_against" real, "goal_difference" real ); Ques...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "group_i" ( "position" real, "club" text, "played" real, "points" real, "wins" real, "draws" real, "losses" real, "goals_for" real, "goals_against" real, "goal_difference" real ); Ques...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "group_i" ( "position" real, "club" text, "played" real, "points" real, "wins" real, "draws" real, "losses" real, "goals_for" real, "goals_against" real, "goal_difference" real ); Ques...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "group_i" ( "position" real, "club" text, "played" real, "points" real, "wins" real, "draws" real, "losses" real, "goals_for" real, "goals_against" real, "goal_difference" real ); Ques...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" text ); Question: What is the sum of Week, when Date is December 2, 2001? <|assistant|> SELECT SUM("week") FRO...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" text ); Question: What is the total number of Week, when Opponent is At Cleveland Browns? <|assistant|> SELECT...
<|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 Country's ICAO is VOTR? <|assistant|> SELECT "country" FROM "destinations" WHERE "icao"='...
<|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 in the Maldives? <|assistant|> SELECT "city" FROM "destinations" WHERE "count...
<|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 in India with IATA TRZ? <|assistant|> SELECT "icao" FROM "destinations" WHERE...
<|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 in Singapore? <|assistant|> SELECT "airport" FROM "destinations" WHERE "co...
<|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 with an IATA of TRZ? <|assistant|> SELECT "airport" FROM "destinations" WH...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_season" ( "game" real, "date" text, "opponent" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text ); Qu...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_season" ( "game" real, "date" text, "opponent" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text ); Qu...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_season" ( "game" real, "date" text, "opponent" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text ); Qu...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "record" text, "game_site" text, "attendance" text ); Question: Who is the opponent on October 28, 2001? <|assistant|> ...
<|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, "game_site" text, "attendance" text ); Question: What was the lowest week at Ralph Wilson Stadium on Oct...
<|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" real ); Question: What is the sum of To Par, when Player is "Bob Rosburg"? <|assistant|> SELECT SUM("to_par") ...
<|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" real ); Question: What is the total number of To Par, when Score is "70-75-76=221"? <|assistant|> SELECT COUNT...
<|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" real ); Question: What is Player, when Score is "76-73-73=222"? <|assistant|> SELECT "player" 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" real ); Question: What is Score, when To Par is greater than 7, when Place is "T4", and when Player is "Bob Ro...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "in" ( "nat" text, "name" text, "moving_from" text, "type" text, "transfer_window" text, "ends" real, "transfer_fee" text ); Question: Which transfer window ends after 2006? <|assistant|> SE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "in" ( "nat" text, "name" text, "moving_from" text, "type" text, "transfer_window" text, "ends" real, "transfer_fee" text ); Question: What is the transfer fee for Paolo Vanoli? <|assistant|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "in" ( "nat" text, "name" text, "moving_from" text, "type" text, "transfer_window" text, "ends" real, "transfer_fee" text ); Question: What is the nationality of Gavin Rae? <|assistant|> SEL...
<|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: How much Overall has a Position of ot, and a Round la...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "third_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text ); Question: What is the to par for Bart Bryant? <|assistant|> SELECT "to_par" FROM "third_round" WHERE "...
<|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: Who scored 68-73-66=207 in South Africa? <|assistant|> SELECT "place" FROM "third_round" WHE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "vassal_states" ( "state" text, "type" text, "name" text, "title" text, "royal_house" text, "from" text ); Question: What year is Zhong from? <|assistant|> SELECT "from" FROM "vassal_states" W...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "vassal_states" ( "state" text, "type" text, "name" text, "title" text, "royal_house" text, "from" text ); Question: Which Royal house has a name of ding? <|assistant|> SELECT "royal_house" FR...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "vassal_states" ( "state" text, "type" text, "name" text, "title" text, "royal_house" text, "from" text ); Question: What type of state is bo qin? <|assistant|> SELECT "type" FROM "vassal_stat...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "vassal_states" ( "state" text, "type" text, "name" text, "title" text, "royal_house" text, "from" text ); Question: What year is the Royal house of ji from? <|assistant|> SELECT "from" FROM "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "vassal_states" ( "state" text, "type" text, "name" text, "title" text, "royal_house" text, "from" text ); Question: What type of state has a royal house of ji and has a ruler? <|assistant|> S...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "location_attendance" text, "record" text ); Question: what is the record when the game is 13? <|assista...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "location_attendance" text, "record" text ); Question: who had the high points on november 20? <|assista...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_season" ( "date" text, "visitor" text, "score" text, "home" text, "record" text ); Question: What is the Score on November 23, 1946 with Washington Capitols Home team? <|assistant|> SEL...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_season" ( "date" text, "visitor" text, "score" text, "home" text, "record" text ); Question: On what Date is the Detroit Falcons the Home team in a game with a Score of 63–66? <|assista...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_season" ( "date" text, "visitor" text, "score" text, "home" text, "record" text ); Question: What is the Home team on January 24, 1947? <|assistant|> SELECT "home" FROM "regular_season"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_season" ( "date" text, "visitor" text, "score" text, "home" text, "record" text ); Question: What is the Home team on November 16, 1946? <|assistant|> SELECT "home" FROM "regular_season...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_season" ( "date" text, "visitor" text, "score" text, "home" text, "record" text ); Question: What is the Home team on February 2, 1947? <|assistant|> SELECT "home" FROM "regular_season"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "125cc_classification" ( "rider" text, "manufacturer" text, "laps" real, "time" text, "grid" real ); Question: Which Laps have a Time of +23.002, and a Grid smaller than 11? <|assistant|> SELECT...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "125cc_classification" ( "rider" text, "manufacturer" text, "laps" real, "time" text, "grid" real ); Question: Which Laps have a Manufacturer of aprilia, and a Rider of sergio gadea? <|assistant...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "125cc_classification" ( "rider" text, "manufacturer" text, "laps" real, "time" text, "grid" real ); Question: Which Grid that has a Rider of mike di meglio, and Laps larger than 23? <|assistant...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "125cc_classification" ( "rider" text, "manufacturer" text, "laps" real, "time" text, "grid" real ); Question: Which Manufacturer has a Grid smaller than 9, and a Time of +22.517? <|assistant|> ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "league_cup" ( "date" text, "round" text, "opponent" text, "venue" text, "result" text, "attendance" real, "scorers" text ); Question: What is Result, when Round is SF? <|assistant|> SELECT ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "league_cup" ( "date" text, "round" text, "opponent" text, "venue" text, "result" text, "attendance" real, "scorers" text ); Question: What is Scorers, when Attendance is greater than 11,091...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "league_cup" ( "date" text, "round" text, "opponent" text, "venue" text, "result" text, "attendance" real, "scorers" text ); Question: What is Result, when Date is 11 August 1992? <|assistan...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "league_cup" ( "date" text, "round" text, "opponent" text, "venue" text, "result" text, "attendance" real, "scorers" text ); Question: What is Result, when Date is 19 August 1992? <|assistan...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" text, "location" text ); Question: Did he win or lose rof 32: respect? <|assist...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" text, "location" text ); Question: What round did he win rof 29: aftershock in?...