text
stringlengths
310
1.28k
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_performance_timeline" ( "tournament" text, "1993" text, "1994" text, "1995" text, "1996" text, "1997" text, "1998" text, "1999" text, "2000" text, "2001" text, "2002" text, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_performance_timeline" ( "tournament" text, "1993" text, "1994" text, "1995" text, "1996" text, "1997" text, "1998" text, "1999" text, "2000" text, "2001" text, "2002" text, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_performance_timeline" ( "tournament" text, "1993" text, "1994" text, "1995" text, "1996" text, "1997" text, "1998" text, "1999" text, "2000" text, "2001" text, "2002" text, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_performance_timeline" ( "tournament" text, "1993" text, "1994" text, "1995" text, "1996" text, "1997" text, "1998" text, "1999" text, "2000" text, "2001" text, "2002" text, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "awards" ( "year" real, "award" text, "nominated_work" text, "category" text, "result" text ); Question: What is Award, when Category is Cabello Maluco? <|assistant|> SELECT "award" FROM "awards...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "awards" ( "year" real, "award" text, "nominated_work" text, "category" text, "result" text ); Question: What is the total number of years in which Eiza González had a nominated work in the cate...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "awards" ( "year" real, "award" text, "nominated_work" text, "category" text, "result" text ); Question: Before the year 2012, what award was given to the artist in the category of revelación po...
<|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 is the method when the record is 1-1? <...
<|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 is the event when the opponent is yuji ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" real, "time" text, "location" text ); Question: What is the time of ufc 154? ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" real, "time" text, "location" text ); Question: What is the average round of ...
<|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, "high_assists" text, "location_attendance" text, "record" text ); Question: Wh...
<|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, "high_assists" text, "location_attendance" text, "record" text ); Question: Wh...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "main_round" ( "position" real, "name" text, "played" real, "drawn" real, "lost" real, "points" real ); Question: What is the total number of losses of the player that has drawn 1 and played s...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_19_13_titles_6_runners_up" ( "outcome" text, "date" text, "tournament" text, "surface" text, "opponent" text, "score" text ); Question: What type of surface did the tournament canada ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_schedule" ( "game" real, "date" text, "team" text, "score" text, "record" text, "streak" text ); Question: What is Score, when Date is December 23? <|assistant|> SELECT "score" FROM "s...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_schedule" ( "game" real, "date" text, "team" text, "score" text, "record" text, "streak" text ); Question: What is Score when Team is @ Kansas City-Omaha Kings? <|assistant|> SELECT "s...
<|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: Which position has an Overall smaller than 64, and a ...
<|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: Which average overall has a Pick smaller than 5? <|as...
<|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: Which highest overall has a College of idaho, and a R...
<|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 many rounds have a Pick smaller than 10, and a Na...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "north_germanic" ( "class" text, "part_1" text, "part_2" text, "part_3" text, "part_4" text ); Question: What is Part 1, when Part 2 is "fraus"? <|assistant|> SELECT "part_1" FROM "north_germani...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "north_germanic" ( "class" text, "part_1" text, "part_2" text, "part_3" text, "part_4" text ); Question: What is Part 3, when Part 1 is "frjósa"? <|assistant|> SELECT "part_3" FROM "north_german...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "north_germanic" ( "class" text, "part_1" text, "part_2" text, "part_3" text, "part_4" text ); Question: What is Class, when Part 2 is "blétu"? <|assistant|> SELECT "class" FROM "north_germanic"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "north_germanic" ( "class" text, "part_1" text, "part_2" text, "part_3" text, "part_4" text ); Question: What is Part 4, when Part 2 is "hljóp"? <|assistant|> SELECT "part_4" FROM "north_germani...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "north_germanic" ( "class" text, "part_1" text, "part_2" text, "part_3" text, "part_4" text ); Question: What is Part 4, when Part 2 is "batt"? <|assistant|> SELECT "part_4" FROM "north_germanic...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "north_germanic" ( "class" text, "part_1" text, "part_2" text, "part_3" text, "part_4" text ); Question: What is Part 1, when Part 3 is "heldu"? <|assistant|> SELECT "part_1" FROM "north_germani...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_16" ( "date" text, "home_team" text, "score" text, "away_team" text, "venue" text, "crowd" real, "box_score" text, "report" text ); Question: What is the home team which plays at a ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_16" ( "date" text, "home_team" text, "score" text, "away_team" text, "venue" text, "crowd" real, "box_score" text, "report" text ); Question: What away team had a 103-94 score? <|as...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_16" ( "date" text, "home_team" text, "score" text, "away_team" text, "venue" text, "crowd" real, "box_score" text, "report" text ); Question: When the home team is Cairns Taipans, a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "team_variations_across_different_version" ( "gatchaman" text, "eagle_riders" text, "rank" text, "bird_uniform" text, "weapon" text, "mecha" text, "japanese_voice_actor" text, "voice_actor_...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "team_variations_across_different_version" ( "gatchaman" text, "eagle_riders" text, "rank" text, "bird_uniform" text, "weapon" text, "mecha" text, "japanese_voice_actor" text, "voice_actor_...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "team_variations_across_different_version" ( "gatchaman" text, "eagle_riders" text, "rank" text, "bird_uniform" text, "weapon" text, "mecha" text, "japanese_voice_actor" text, "voice_actor_...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "team_variations_across_different_version" ( "gatchaman" text, "eagle_riders" text, "rank" text, "bird_uniform" text, "weapon" text, "mecha" text, "japanese_voice_actor" text, "voice_actor_...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "team_variations_across_different_version" ( "gatchaman" text, "eagle_riders" text, "rank" text, "bird_uniform" text, "weapon" text, "mecha" text, "japanese_voice_actor" text, "voice_actor_...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "team_variations_across_different_version" ( "gatchaman" text, "eagle_riders" text, "rank" text, "bird_uniform" text, "weapon" text, "mecha" text, "japanese_voice_actor" text, "voice_actor_...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "playoffs" ( "game" real, "team" text, "score" text, "location_attendance" text, "record" text ); Question: Which team had a score of 103-96? <|assistant|> SELECT "team" FROM "playoffs" WHERE "s...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "playoffs" ( "game" real, "team" text, "score" text, "location_attendance" text, "record" text ); Question: What is the smallest game had a location of Madison Square Garden with a score of 109-...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_performance_timeline" ( "tournament" text, "2002" text, "2003" text, "2004" text, "2005" text, "2006" text, "2007" text, "2008" text, "2009" text, "2010" text, "career_sr" te...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_performance_timeline" ( "tournament" text, "2002" text, "2003" text, "2004" text, "2005" text, "2006" text, "2007" text, "2008" text, "2009" text, "2010" text, "career_sr" te...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_performance_timeline" ( "tournament" text, "2002" text, "2003" text, "2004" text, "2005" text, "2006" text, "2007" text, "2008" text, "2009" text, "2010" text, "career_sr" te...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_performance_timeline" ( "tournament" text, "2002" text, "2003" text, "2004" text, "2005" text, "2006" text, "2007" text, "2008" text, "2009" text, "2010" text, "career_sr" te...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fourth_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text ); Question: What is the score for the Tie no. 12? <|assistant|> SELECT "score" FROM "fourth_...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fourth_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text ); Question: What is the home team against the away team Norwich City? <|assistant|> SELECT "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fourth_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text ); Question: Who is the home team with a tie no. 12? <|assistant|> SELECT "home_team" FROM "f...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "draft_picks" ( "round" real, "pick" real, "player" text, "nationality" text, "college" text ); Question: WHAT IS THE PLAYER WITH A PICK OF 219? <|assistant|> SELECT "player" FROM "draft_picks" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "draft_picks" ( "round" real, "pick" real, "player" text, "nationality" text, "college" text ); Question: WHAT NATIONALITY HAS ROUND 3? <|assistant|> SELECT "nationality" FROM "draft_picks" WHER...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "draft_picks" ( "round" real, "pick" real, "player" text, "nationality" text, "college" text ); Question: WHAT PLAYER HAS A PICK SMALLER THAN 110, AND DUKE AS COLLEGE? <|assistant|> SELECT "play...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "j" ( "player" text, "no_s" real, "height_in_ft" text, "position" text, "years_with_spurs" text ); Question: WHAT POSITION HAD SPURS IN 2009-2012? <|assistant|> SELECT "position" FROM "j" WHERE ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles" ( "tournament" text, "surface" text, "week" text, "winner_and_score" text, "finalist" text, "semifinalists" text ); Question: Who won on the week of August 10? <|assistant|> SELECT "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles" ( "tournament" text, "surface" text, "week" text, "winner_and_score" text, "finalist" text, "semifinalists" text ); Question: What surface was played on during the week of August 10?...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles" ( "tournament" text, "surface" text, "week" text, "winner_and_score" text, "finalist" text, "semifinalists" text ); Question: What tournament had Greg Rusedski as a finalist? <|assis...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles" ( "tournament" text, "surface" text, "week" text, "winner_and_score" text, "finalist" text, "semifinalists" text ); Question: What was the surface that was played on during the week ...
<|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: what is the least laps when the driver is rubens barrichello and the grid is less...
<|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: what is the time/retired when the laps is 55? <|assistant|> SELECT "time_retired"...
<|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, "time" text, "location" text ); Question: Where was the event Kage Komb...
<|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, "time" text, "location" text ); Question: Which event had the record of...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "results" ( "driver" text, "entrant" text, "constructor" text, "time_retired" text, "grid" text, "heat_1_2" text ); Question: What was Menato Boffa's grid? <|assistant|> SELECT "grid" FROM "re...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "results" ( "driver" text, "entrant" text, "constructor" text, "time_retired" text, "grid" text, "heat_1_2" text ); Question: What is the Time/Retired value for Ludovico Scarfiotti? <|assistan...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "results" ( "driver" text, "entrant" text, "constructor" text, "time_retired" text, "grid" text, "heat_1_2" text ); Question: Who was Albino Buticchi's constructor? <|assistant|> SELECT "const...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "results" ( "driver" text, "entrant" text, "constructor" text, "time_retired" text, "grid" text, "heat_1_2" text ); Question: Who was the driver for Rovero Campello? <|assistant|> SELECT "driv...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real ); Question: What is the score of player jay haas? <|assistant|> SELECT "score" FROM "fin...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real ); Question: What is the to par of the player with more than $4,100 and a score of 69-67-...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real ); Question: Who is the player with a +3 to par and a 72-68-71-72=283 score? <|assistant|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real ); Question: What country has a 74-72-71-67=284 score? <|assistant|> SELECT "country" FRO...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "riders" ( "position" real, "driver_passenger" text, "equipment" text, "bike_no" real, "points" real ); Question: What is the lowest Bike No, when Driver / Passenger is Joris Hendrickx / Kaspars...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "riders" ( "position" real, "driver_passenger" text, "equipment" text, "bike_no" real, "points" real ); Question: What is the average Position, when Bike No is greater than 8, and when Points is...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "riders" ( "position" real, "driver_passenger" text, "equipment" text, "bike_no" real, "points" real ); Question: What is the lowest Postion, when Bike No is greater than 10, when Driver / Passe...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "riders" ( "position" real, "driver_passenger" text, "equipment" text, "bike_no" real, "points" real ); Question: What is the highest Points, when Position is less than 4, when Equipment is Zabe...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "riders" ( "position" real, "driver_passenger" text, "equipment" text, "bike_no" real, "points" real ); Question: What is the average Bike No, when Driver / Passenger is Joris Hendrickx / Kaspar...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "video_game" ( "publisher" text, "year" real, "platform" text, "type" text, "metacritic_score" text ); Question: What is the type of electronic with the Gamecube Platform? <|assistant|> SELECT "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_7" ( "date" text, "tournament" text, "surface" text, "opponent_in_the_final" text, "score" text ); Question: On what type of surface did they play on 13 February 1994? <|assistant|> SEL...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_7" ( "date" text, "tournament" text, "surface" text, "opponent_in_the_final" text, "score" text ); Question: In which tournament was Silke Meier the opponent in the final? <|assistant|>...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "international_goals" ( "goal" real, "date" text, "venue" text, "score" text, "result" text, "competition" text ); Question: Which venue has a scoreof 2–0? <|assistant|> SELECT "venue" FROM "i...
<|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, "high_assists" text, "location_attendance" text, "record" text ); Question: WH...
<|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, "high_assists" text, "location_attendance" text, "record" text ); Question: WH...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "date" text, "opponent" text, "site" text, "result" text, "attendance" text ); Question: What was the attendance on 10/29/1932? <|assistant|> SELECT "attendance" FROM "schedule" WHE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real ); Question: What was the Attendance on December 21, 1986 before Week 16? <|assistant|> SELECT SUM("atten...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real ); Question: In what Week was the Attendance 43,430? <|assistant|> SELECT MAX("week") FROM "schedule" WHE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real ); Question: What was the Result of the game on December 14, 1986 after Week 11? <|assistant|> SELECT "re...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "playoffs" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "series" text ); Question: Wh...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "playoffs" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "series" text ); Question: Wh...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "playoffs" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "series" text ); Question: Wh...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "date" text, "opponent" text, "score" text, "record" text, "streak" text ); Question: who is the opponent on february 8, 1990? <|assistant|> SELECT "opponent" FROM "schedule" WHERE ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "date" text, "opponent" text, "score" text, "record" text, "streak" text ); Question: who is the opponent when the streak is won 9 on april 13, 1990? <|assistant|> SELECT "opponent"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "councillors_election_results" ( "election" real, "leader" text, "num_of_seats_won" real, "num_of_national_votes" real, "pct_of_national_vote" text, "num_of_prefectural_votes" real, "pct_of_p...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "councillors_election_results" ( "election" real, "leader" text, "num_of_seats_won" real, "num_of_national_votes" real, "pct_of_national_vote" text, "num_of_prefectural_votes" real, "pct_of_p...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "councillors_election_results" ( "election" real, "leader" text, "num_of_seats_won" real, "num_of_national_votes" real, "pct_of_national_vote" text, "num_of_prefectural_votes" real, "pct_of_p...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "councillors_election_results" ( "election" real, "leader" text, "num_of_seats_won" real, "num_of_national_votes" real, "pct_of_national_vote" text, "num_of_prefectural_votes" real, "pct_of_p...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "councillors_election_results" ( "election" real, "leader" text, "num_of_seats_won" real, "num_of_national_votes" real, "pct_of_national_vote" text, "num_of_prefectural_votes" real, "pct_of_p...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "mma_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" real, "time" text, "location" text ); Question: What was the resolution of the fight against...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "mma_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" real, "time" text, "location" text ); Question: What was the resolution of the fight when ma...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "mma_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" real, "time" text, "location" text ); Question: What was the record when matt grice fought d...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_5_2_titles_3_runners_up" ( "outcome" text, "date" text, "tournament" text, "surface" text, "opponent" text, "score" text ); Question: What was the outcome of the match against Juan Ig...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "winners_of_the_yugoslavian_motorcycle_gr" ( "year" real, "track" text, "250_cc" text, "500_cc" text, "report" text ); Question: What is the 250 cc with a year bigger than 1984? <|assistant|> SE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "winners_of_the_yugoslavian_motorcycle_gr" ( "year" real, "track" text, "250_cc" text, "500_cc" text, "report" text ); Question: What is the report for a 250 cc of sito pons, and a 500 cc of way...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "winners_of_the_yugoslavian_motorcycle_gr" ( "year" real, "track" text, "250_cc" text, "500_cc" text, "report" text ); Question: What is the 500 cc with a 250 cc of freddie spencer? <|assistant|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "winners_of_the_yugoslavian_motorcycle_gr" ( "year" real, "track" text, "250_cc" text, "500_cc" text, "report" text ); Question: What track has a 250 cc of sito pons? <|assistant|> SELECT "track...
<|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: How much did Jerry Barber score to come in at T9? <|assistant|> SELECT "score" FROM "third_r...
<|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 place did Jerry Barber of the United States come in at? <|assistant|> SELECT "place" FR...