text
stringlengths
310
1.28k
<|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, "record" text ); Question: What was the loss on September 2? <|assistant|> SELECT "loss" FROM "game_log" WHER...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2010_ladder" ( "ntfa_div_1" text, "wins" real, "byes" real, "losses" real, "draws" real, "against" real ); Question: What is the total number of byes that are associated with 1 draw, 5 wins, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2010_ladder" ( "ntfa_div_1" text, "wins" real, "byes" real, "losses" real, "draws" real, "against" real ); Question: What is the total number of byes associated with fewer than 8 wins and few...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2010_ladder" ( "ntfa_div_1" text, "wins" real, "byes" real, "losses" real, "draws" real, "against" real ); Question: What is the NTFA Div 1 team that has 15 wins and less than 1 draw? <|assis...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2010_ladder" ( "ntfa_div_1" text, "wins" real, "byes" real, "losses" real, "draws" real, "against" real ); Question: What is the average number of losses for teams with 0 draws and 0 byes? <|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2010_ladder" ( "ntfa_div_1" text, "wins" real, "byes" real, "losses" real, "draws" real, "against" real ); Question: What is the most number of losses for teams with 5 wins and an against val...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "by_season" ( "season" text, "race" real, "podium" real, "pole" real, "f_lap" real ); Question: Race that has a Podium larger than 1, and a Season of 1982, and a flap smaller than 1 had how many...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "by_season" ( "season" text, "race" real, "podium" real, "pole" real, "f_lap" real ); Question: Pole smaller than 0 had what lowest podium? <|assistant|> SELECT MIN("podium") FROM "by_season" WH...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "by_season" ( "season" text, "race" real, "podium" real, "pole" real, "f_lap" real ); Question: Flap of 0, and a Race smaller than 2, and a Season of 1989, and a Pole smaller than 0 had what ave...
<|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, "stadium" text, "attendance" real, "record" text ); Question: What was the record on august 24? <|assistant|> SELECT "re...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "colorado_highway_summits_not_on_a_pass" ( "rank" real, "highway" text, "elevation" text, "surface" text, "route" real ); Question: Elevation of 11,158 feet 3401 m had what route? <|assistant|> ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "colorado_highway_summits_not_on_a_pass" ( "rank" real, "highway" text, "elevation" text, "surface" text, "route" real ); Question: Route larger than 24, and a Highway of trail ridge road had wh...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "colorado_highway_summits_not_on_a_pass" ( "rank" real, "highway" text, "elevation" text, "surface" text, "route" real ); Question: Elevation of 12,183 feet 3713 m is what average route? <|assis...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1982" ( "date" text, "city" text, "opponent" text, "results" text, "type_of_game" text ); Question: What Opponent has a Results¹ of 1:3? <|assistant|> SELECT "opponent" FROM "1982" WHERE "resul...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1982" ( "date" text, "city" text, "opponent" text, "results" text, "type_of_game" text ); Question: On what Date was the Results¹ 1:2? <|assistant|> SELECT "date" FROM "1982" WHERE "results"='1...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1982" ( "date" text, "city" text, "opponent" text, "results" text, "type_of_game" text ); Question: What City had Results¹ of 1:2? <|assistant|> SELECT "city" FROM "1982" WHERE "results"='1:2';...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1982" ( "date" text, "city" text, "opponent" text, "results" text, "type_of_game" text ); Question: On what Date was Wales the Opponent? <|assistant|> SELECT "date" FROM "1982" WHERE "opponent"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1982" ( "date" text, "city" text, "opponent" text, "results" text, "type_of_game" text ); Question: In what City was Bulgaria the Opponent with Results¹ of 1:0? <|assistant|> SELECT "city" FROM...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_season" ( "game" real, "november" real, "opponent" text, "score" text, "record" text, "points" real ); Question: What Vancouver canucks game was on a date closest to November 4? <|ass...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1990s" ( "year" text, "flagship_station" text, "play_by_play" text, "color_commentator_s" text, "studio_host" text ); Question: Name the year for jerry sichting <|assistant|> SELECT "year" FROM...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1990s" ( "year" text, "flagship_station" text, "play_by_play" text, "color_commentator_s" text, "studio_host" text ); Question: Name the studio host for glenn ordway and jerry sichting with yea...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1990s" ( "year" text, "flagship_station" text, "play_by_play" text, "color_commentator_s" text, "studio_host" text ); Question: Name the flagship station for cedric maxwell and year of 1995-96 ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "manitoba" ( "building" text, "height_m" real, "floors" real, "built" real, "city" text, "architect" text ); Question: Who was the architect of the 10 floor building with a height of 42 M? <|a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "manitoba" ( "building" text, "height_m" real, "floors" real, "built" real, "city" text, "architect" text ); Question: What is the height of the building built by architects Ross and Macfarlan...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "manitoba" ( "building" text, "height_m" real, "floors" real, "built" real, "city" text, "architect" text ); Question: Who was the architect that built the Electric Railway Chambers before 191...
<|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, "time" text, "att" real, "record" text ); Question: What is the Time on july 18 that has a Loss of lilly (3-3)? <|assist...
<|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, "time" text, "att" real, "record" text ); Question: Which Opponent has a Record of 43-56? <|assistant|> SELECT "opponent...
<|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, "time" text, "att" real, "record" text ); Question: What is the Score on July 18 that has Record of 41-51? <|assistant|>...
<|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, "time" text, "att" real, "record" text ); Question: Which Record is on july 31? <|assistant|> SELECT "record" FROM "game...
<|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, "time" text, "att" real, "record" text ); Question: Which Opponent has a Loss of weaver (9-9)? <|assistant|> SELECT "opp...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "highest_percentage_of_pole_positions_in_" ( "driver" text, "season" real, "races" real, "poles" real, "percentage" text ); Question: Which Season was the Poles greater than 14? <|assistant|> SE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "highest_percentage_of_pole_positions_in_" ( "driver" text, "season" real, "races" real, "poles" real, "percentage" text ); Question: Which is the highest Season with a Percentage of 67% and Alb...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "highest_percentage_of_pole_positions_in_" ( "driver" text, "season" real, "races" real, "poles" real, "percentage" text ); Question: Name the Driver that has Races greater than 16? <|assistant|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "rushing" ( "name" text, "gp_gs" real, "gain" real, "loss" real, "long" real, "avg_g" real ); Question: What is the average Long that has a GP-GS less than 14, a AVg/G less than 0.8 and a Gain...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "rushing" ( "name" text, "gp_gs" real, "gain" real, "loss" real, "long" real, "avg_g" real ); Question: What is the lowest Avg/G with a Long less than 0? <|assistant|> SELECT MIN("avg_g") FROM...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "rushing" ( "name" text, "gp_gs" real, "gain" real, "loss" real, "long" real, "avg_g" real ); Question: What is the amount of Avg/G with a Name of blaine gabbert and a Long greater than 30? <|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "rushing" ( "name" text, "gp_gs" real, "gain" real, "loss" real, "long" real, "avg_g" real ); Question: What is the total number of Long with a Av/g of 124.9 but Loss greater than 0? <|assista...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "release_history" ( "country" text, "date" text, "label" text, "format" text, "catalog" text ); Question: What date has parlophone as the label, and lp as a format? <|assistant|> SELECT "date" F...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "see_also" ( "school" text, "team" text, "city" text, "state" text, "conference" text ); Question: What school has oregon as the state, and ashland as the city? <|assistant|> SELECT "school" FRO...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "see_also" ( "school" text, "team" text, "city" text, "state" text, "conference" text ); Question: What conference has mayville state as the school? <|assistant|> SELECT "conference" FROM "see_a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "see_also" ( "school" text, "team" text, "city" text, "state" text, "conference" text ); Question: What school has belleville as the city? <|assistant|> SELECT "school" FROM "see_also" WHERE "ci...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "see_also" ( "school" text, "team" text, "city" text, "state" text, "conference" text ); Question: What city has trojans as the team, and taylor as the school? <|assistant|> SELECT "city" FROM "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "see_also" ( "school" text, "team" text, "city" text, "state" text, "conference" text ); Question: What team has great plains as the conference, and concordia (ne) as the school? <|assistant|> S...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "see_also" ( "school" text, "team" text, "city" text, "state" text, "conference" text ); Question: What school is in hillsboro city? <|assistant|> SELECT "school" FROM "see_also" WHERE "city"='h...
<|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: How many games have a February larger than 11, and a Record of 23-7-8? <|assistan...
<|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: How much February has a Game larger than 37, and an Opponent of chicago black haw...
<|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: Which February has a Game of 40? <|assistant|> SELECT "february" FROM "schedule_a...
<|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: Which Record has a February smaller than 8, and an Opponent of montreal canadiens...
<|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: Which Score has a Game larger than 40, and a Record of 25-10-8? <|assistant|> SEL...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nfl_defensive_players_of_the_year" ( "year" real, "nfl_team" text, "position" text, "team_defense_rank" real, "team_performance" text ); Question: What was the team performance in 1977? <|assis...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nfl_defensive_players_of_the_year" ( "year" real, "nfl_team" text, "position" text, "team_defense_rank" real, "team_performance" text ); Question: What was the position of the player whose team...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nfl_draft" ( "round" real, "pick" real, "player" text, "position" text, "school" text ); Question: What round was Joe Patton selected with a pick over 68? <|assistant|> SELECT "round" FROM "nfl...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "handicap_results_top_10" ( "position" real, "sail_number" text, "yacht" text, "state_country" text, "yacht_type" text, "loa_metres" real, "skipper" text, "corrected_time_d_hh_mm_ss" text )...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "handicap_results_top_10" ( "position" real, "sail_number" text, "yacht" text, "state_country" text, "yacht_type" text, "loa_metres" real, "skipper" text, "corrected_time_d_hh_mm_ss" text )...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "handicap_results_top_10" ( "position" real, "sail_number" text, "yacht" text, "state_country" text, "yacht_type" text, "loa_metres" real, "skipper" text, "corrected_time_d_hh_mm_ss" text )...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "handicap_results_top_10" ( "position" real, "sail_number" text, "yacht" text, "state_country" text, "yacht_type" text, "loa_metres" real, "skipper" text, "corrected_time_d_hh_mm_ss" text )...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "handicap_results_top_10" ( "position" real, "sail_number" text, "yacht" text, "state_country" text, "yacht_type" text, "loa_metres" real, "skipper" text, "corrected_time_d_hh_mm_ss" text )...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_titles_10" ( "date" text, "tournament" text, "surface" text, "opponent_in_the_final" text, "score" text ); Question: What surface did Smeets play on during the Kuwait tournament? <|assi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_titles_10" ( "date" text, "tournament" text, "surface" text, "opponent_in_the_final" text, "score" text ); Question: What tournament did Smeets play against Mark nielsen? <|assistant|> ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_titles_10" ( "date" text, "tournament" text, "surface" text, "opponent_in_the_final" text, "score" text ); Question: Who was the opponent during the tournament in Kuwait? <|assistant|> ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "men_s_tournament" ( "name_v_t_e" text, "pos" text, "height" text, "weight" text, "club" text ); Question: What is the weight of the player from the vk primorac kotor club? <|assistant|> SELECT ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "men_s_tournament" ( "name_v_t_e" text, "pos" text, "height" text, "weight" text, "club" text ); Question: What is the weight of the player from pvk jadran club? <|assistant|> SELECT "weight" FR...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "men_s_tournament" ( "name_v_t_e" text, "pos" text, "height" text, "weight" text, "club" text ); Question: What is the name of the player from club pro recco? <|assistant|> SELECT "name_v_t_e" F...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "men_s_tournament" ( "name_v_t_e" text, "pos" text, "height" text, "weight" text, "club" text ); Question: What is the height of the player from club vk primorac kotor who plays gk? <|assistant|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "first_round_1_16_finals" ( "team_1" text, "agg" text, "team_2" text, "1st_leg" text, "2nd_leg" text ); Question: What is Team 1 where Team 2 is gombe united f.c.? <|assistant|> SELECT "team_1" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "first_round_1_16_finals" ( "team_1" text, "agg" text, "team_2" text, "1st_leg" text, "2nd_leg" text ); Question: What is Team 1 where Team 2 is al tahrir? <|assistant|> SELECT "team_1" FROM "fi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "first_round_1_16_finals" ( "team_1" text, "agg" text, "team_2" text, "1st_leg" text, "2nd_leg" text ); Question: What is the 2nd leg where Team 2 is fc 105 libreville? <|assistant|> SELECT "2nd...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "future_sites" ( "year" real, "edition" text, "course" text, "location" text, "dates" text ); Question: What was the course called that had an Edition of 117th? <|assistant|> SELECT "course" FRO...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "future_sites" ( "year" real, "edition" text, "course" text, "location" text, "dates" text ); Question: What was the earliest year that had a location of Brookline, Massachusetts? <|assistant|> ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "future_sites" ( "year" real, "edition" text, "course" text, "location" text, "dates" text ); Question: What year had an edition of 115th? <|assistant|> SELECT AVG("year") FROM "future_sites" WH...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "grand_prix_motorcycle_racing_results" ( "year" real, "class" text, "team" text, "points" real, "rank" text, "wins" real ); Question: How many points did ginger have when she was ranked 5th on...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "grand_prix_motorcycle_racing_results" ( "year" real, "class" text, "team" text, "points" real, "rank" text, "wins" real ); Question: What year was she ranked 16th with over 12 points? <|assis...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "grand_prix_motorcycle_racing_results" ( "year" real, "class" text, "team" text, "points" real, "rank" text, "wins" real ); Question: What year was she on a 350cc class bike, ranked 16th, with...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "grand_prix_motorcycle_racing_results" ( "year" real, "class" text, "team" text, "points" real, "rank" text, "wins" real ); Question: How many points did she have with team bultaco, ranked 6th...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "days_of_the_week" ( "arabic" text, "english" text, "maltese" text, "turkish" text, "somali" text, "persian" text, "urdu" text, "hindi" text, "punjabi_india" text, "punjabi_pakistan" te...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "days_of_the_week" ( "arabic" text, "english" text, "maltese" text, "turkish" text, "somali" text, "persian" text, "urdu" text, "hindi" text, "punjabi_india" text, "punjabi_pakistan" te...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "days_of_the_week" ( "arabic" text, "english" text, "maltese" text, "turkish" text, "somali" text, "persian" text, "urdu" text, "hindi" text, "punjabi_india" text, "punjabi_pakistan" te...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "days_of_the_week" ( "arabic" text, "english" text, "maltese" text, "turkish" text, "somali" text, "persian" text, "urdu" text, "hindi" text, "punjabi_india" text, "punjabi_pakistan" te...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "days_of_the_week" ( "arabic" text, "english" text, "maltese" text, "turkish" text, "somali" text, "persian" text, "urdu" text, "hindi" text, "punjabi_india" text, "punjabi_pakistan" te...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "days_of_the_week" ( "arabic" text, "english" text, "maltese" text, "turkish" text, "somali" text, "persian" text, "urdu" text, "hindi" text, "punjabi_india" text, "punjabi_pakistan" te...
<|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, "attendance" real, "record" text ); Question: Which Score has a Date of june 22? <|assistant|> SELECT "score" FROM "game_l...
<|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, "attendance" real, "record" text ); Question: How much Attendance has an Opponent of rockies, and a Record of 32-30? <|ass...
<|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: Who was the opponent in which...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" real, "time" text, "location" text ); Question: What was the method of the bo...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" real, "time" text, "location" text ); Question: What was the record after the...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nfl_draft" ( "round" real, "pick" real, "player" text, "position" text, "school_club_team" text ); Question: How many Pick has a Round smaller than 13, and a Position of fullback? <|assistant|>...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nfl_draft" ( "round" real, "pick" real, "player" text, "position" text, "school_club_team" text ); Question: WHo has a Position of end and a School/Club Team of oregon state? <|assistant|> SELE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nfl_draft" ( "round" real, "pick" real, "player" text, "position" text, "school_club_team" text ); Question: Which Round has a Player of brunel christensen and a Pick smaller than 293? <|assist...
<|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, "attendance" real, "record" text ); Question: What score was on July 25? <|assistant|> SELECT "score" FROM "game_log" WHER...
<|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, "attendance" real, "record" text ); Question: Who is the opponent on July 2 with more than 39,290 attendance? <|assistant|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "partial_kickboxing_record" ( "result" text, "opponent" text, "method" text, "event" text, "date" text, "round" text, "time" text, "location" text, "rules" text ); Question: Which rule h...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "partial_kickboxing_record" ( "result" text, "opponent" text, "method" text, "event" text, "date" text, "round" text, "time" text, "location" text, "rules" text ); Question: Which Oppone...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "partial_kickboxing_record" ( "result" text, "opponent" text, "method" text, "event" text, "date" text, "round" text, "time" text, "location" text, "rules" text ); Question: Which Oppone...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "partial_kickboxing_record" ( "result" text, "opponent" text, "method" text, "event" text, "date" text, "round" text, "time" text, "location" text, "rules" text ); Question: Where has a ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "partial_kickboxing_record" ( "result" text, "opponent" text, "method" text, "event" text, "date" text, "round" text, "time" text, "location" text, "rules" text ); Question: WHich Rules ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "engines" ( "name" text, "capacity" text, "type" text, "power" text, "torque" text ); Question: What torque does a 1905 cc capacity have? <|assistant|> SELECT "torque" FROM "engines" WHERE "capa...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "engines" ( "name" text, "capacity" text, "type" text, "power" text, "torque" text ); Question: What torque does 1.9 diesel with 1905 cc have? <|assistant|> SELECT "torque" FROM "engines" WHERE ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "engines" ( "name" text, "capacity" text, "type" text, "power" text, "torque" text ); Question: What torque does daewoo have? <|assistant|> SELECT "torque" FROM "engines" WHERE "type"='daewoo';<...
<|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, "attendance" real, "record" text ); Question: Score of 3–4, and a Attendance larger than 34,609 happened on what date? <|a...
<|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, "attendance" real, "record" text ); Question: Record of 12–15 happened on what date? <|assistant|> SELECT "date" FROM "gam...