text
stringlengths
310
1.28k
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "chicago_black_hawks_4_detroit_red_wings_" ( "date" text, "visitor" text, "score" text, "home" text, "record" text ); Question: Who was the home team in the game that led to a 2-3 series record?...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_22" ( "date" text, "home_team" text, "score" text, "away_team" text, "venue" text, "box_score" text, "report" text ); Question: Which home team had a score of 100-86? <|assistant|> SE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_22" ( "date" text, "home_team" text, "score" text, "away_team" text, "venue" text, "box_score" text, "report" text ); Question: Which report corresponds to the State Sports Centre? <|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_22" ( "date" text, "home_team" text, "score" text, "away_team" text, "venue" text, "box_score" text, "report" text ); Question: Who was the away team at the Win Entertainment Centre? ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "rushing" ( "name" text, "gain" real, "loss" real, "long" real, "avg_g" real ); Question: Can you tell me the total number of Gain that has the Name of williams, jonathan, and the Loss larger th...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "rushing" ( "name" text, "gain" real, "loss" real, "long" real, "avg_g" real ); Question: Can you tell me the sum of Loss that has the Gain of 2646? <|assistant|> SELECT SUM("loss") FROM "rushin...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "rushing" ( "name" text, "gain" real, "loss" real, "long" real, "avg_g" real ); Question: Can you tell me the sum of Gain that has the Name of kass, rob, and the Avg/g smaller than 1.9? <|assist...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "rushing" ( "name" text, "gain" real, "loss" real, "long" real, "avg_g" real ); Question: Can you tell me the lowest Long that has the Gain of 20, and the Loss smaller than 0? <|assistant|> SELE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "date" text, "opponent_num" text, "result" text, "score" text, "attendance" real, "stadium" text ); Question: What was the result of the game at Cleveland Browns Stadium with an a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "translators" ( "call_sign" text, "frequency_m_hz" real, "city_of_license" text, "erp_w" real, "class" text, "fcc_info" text ); Question: What is the highest ERP W with a w216bo call sign? <|a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "group_b" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "ground" text, "crowd" real, "date" text ); Question: What kind of Crowd has a Home team of po...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "group_b" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "ground" text, "crowd" real, "date" text ); Question: What kind of Crowd has a Ground of subia...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "group_b" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "ground" text, "crowd" real, "date" text ); Question: What kind of Ground has a Home team scor...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "group_b" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "ground" text, "crowd" real, "date" text ); Question: What kind of Home team has a Home team s...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "group_b" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "ground" text, "crowd" real, "date" text ); Question: How many Crowd that has a Date on saturd...
<|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: On which date after week 11 was the opponent the arizona cardinals? <|assistant|> SELECT "da...
<|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 was the attendance during week 15? <|assistant|> SELECT "attendance" FROM "schedule" WH...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "teams" ( "season" text, "skip" text, "third" text, "second" text, "lead" text, "alternate" text, "events" text ); Question: What was the lead with an alternate of li dongyan? <|assistant|> ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "teams" ( "season" text, "skip" text, "third" text, "second" text, "lead" text, "alternate" text, "events" text ); Question: Which lead had a season of 2007-08? <|assistant|> SELECT "lead" F...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "teams" ( "season" text, "skip" text, "third" text, "second" text, "lead" text, "alternate" text, "events" text ); Question: Which lead had a season of 2009-10? <|assistant|> SELECT "lead" F...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "routes" ( "name" text, "daytime" text, "evening" text, "saturday" text, "sunday" text ); Question: Which Name has a Yes Saturday and a Yes Evening? <|assistant|> SELECT "name" FROM "routes" WHE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "routes" ( "name" text, "daytime" text, "evening" text, "saturday" text, "sunday" text ); Question: Name the Daytime which has Saturday of yes and a Name of exmouth? <|assistant|> SELECT "daytim...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "routes" ( "name" text, "daytime" text, "evening" text, "saturday" text, "sunday" text ); Question: Name the Evening that has a Sunday of no, and a Name of s. vidal/plant express? <|assistant|> ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "routes" ( "name" text, "daytime" text, "evening" text, "saturday" text, "sunday" text ); Question: Name the Daytime which has a Name of exmouth? <|assistant|> SELECT "daytime" FROM "routes" WHE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "routes" ( "name" text, "daytime" text, "evening" text, "saturday" text, "sunday" text ); Question: Which Saturday has a Sunday of yes and a Evening of yes? <|assistant|> SELECT "saturday" FROM ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "routes" ( "name" text, "daytime" text, "evening" text, "saturday" text, "sunday" text ); Question: Which Saturday has a Name of confederation? <|assistant|> SELECT "saturday" FROM "routes" WHER...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "college" ( "season" text, "gp_gs" text, "yards" text, "long" text, "avg_g" text ); Question: What was the GP-GS for the 2009 season? <|assistant|> SELECT "gp_gs" FROM "college" WHERE "season"='...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "college" ( "season" text, "gp_gs" text, "yards" text, "long" text, "avg_g" text ); Question: Which GP-GS had a long of 17 and a season of total? <|assistant|> SELECT "gp_gs" FROM "college" WHER...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "college" ( "season" text, "gp_gs" text, "yards" text, "long" text, "avg_g" text ); Question: Which Long has redshirt for its Avg/G? <|assistant|> SELECT "long" FROM "college" WHERE "avg_g"='red...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "college" ( "season" text, "gp_gs" text, "yards" text, "long" text, "avg_g" text ); Question: What was the Av/G of the 2009 season? <|assistant|> SELECT "avg_g" FROM "college" WHERE "season"='20...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "college" ( "season" text, "gp_gs" text, "yards" text, "long" text, "avg_g" text ); Question: For the Avg/G of 5.9, what was the long? <|assistant|> SELECT "long" FROM "college" WHERE "avg_g"='5...
<|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 "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 "doubles_15" ( "date" text, "tournament" text, "surface" text, "partnering" text, "opponents" text, "score" text ); Question: Which Tournament has Opponents of marc lópez santiago ventura? <|a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_15" ( "date" text, "tournament" text, "surface" text, "partnering" text, "opponents" text, "score" text ); Question: Which Opponents have a Partnering of alessandro motti, and a Date ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_15" ( "date" text, "tournament" text, "surface" text, "partnering" text, "opponents" text, "score" text ); Question: Which Opponents have a Score of 6–4, 6–3? <|assistant|> SELECT "op...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_15" ( "date" text, "tournament" text, "surface" text, "partnering" text, "opponents" text, "score" text ); Question: Which Tournament has a Surface of hard, and a Date of 24 september...
<|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, "location" text ); Question: How many rounds did the match at GCF: Streng...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "communities" ( "official_name" text, "status" text, "area_km_2" real, "population" real, "census_ranking" text ); Question: What is the total population for Saint-Antoine with an area squared o...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "communities" ( "official_name" text, "status" text, "area_km_2" real, "population" real, "census_ranking" text ); Question: What is the current status of a location with a census ranking of 1,7...
<|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 in February have a record of 40-15-5? <|assistant|> SELECT SUM("fe...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule_and_results" ( "game" real, "february" real, "opponent" text, "score" text, "record" text ); Question: What is the lowest numbered game with an opponent of Minnesota North Stars earlie...
<|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 the New York Islanders as an opponent before February 7? <|as...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule_and_results" ( "game" real, "february" real, "opponent" text, "score" text, "record" text ); Question: What is the earliest February date with a record of 37-13-4 in a game earlier tha...
<|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, "location_attendance" text, "record" text ); Question: What is the date of the game when the record is 2-0? <|assistant|> SELE...
<|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, "location_attendance" text, "record" text ); Question: What is the average game number when the record is 4-1? <|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, "location_attendance" text, "record" text ); Question: What is the location and attendance of game 1? <|assistant|> SELECT "lo...
<|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, "location_attendance" text, "record" text ); Question: What is the date of the game located in Madison Square Garden, when the...
<|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, "location_attendance" text, "record" text ); Question: What is the location and attendance of the game when the score is 125-1...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "results" ( "year" text, "date" text, "circuit" text, "winning_driver" text, "winning_constructor" text, "report" text ); Question: Who was the winning driver in 1956? <|assistant|> SELECT "wi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "results" ( "year" text, "date" text, "circuit" text, "winning_driver" text, "winning_constructor" text, "report" text ); Question: Which circuit did Peter Whitehead win? <|assistant|> SELECT ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "results" ( "year" text, "date" text, "circuit" text, "winning_driver" text, "winning_constructor" text, "report" text ); Question: What report did Jack Brabham win? <|assistant|> SELECT "repo...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "results" ( "year" text, "date" text, "circuit" text, "winning_driver" text, "winning_constructor" text, "report" text ); Question: What year did Ferrari win the Kyalami circuit? <|assistant|>...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "results" ( "year" text, "date" text, "circuit" text, "winning_driver" text, "winning_constructor" text, "report" text ); Question: Which circuit did Jim Clark win in 1962? <|assistant|> SELEC...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "international_goals" ( "date" text, "venue" text, "score" text, "result" text, "competition" text ); Question: On what Date was the 2011 LG Cup Competittion? <|assistant|> SELECT "date" FROM "i...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "selections" ( "pick" real, "player" text, "pos" text, "nationality" text, "team" text, "previous_team" text, "nba_years_a" text, "career_with_the_franchise_b" text ); Question: What is th...
<|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: What was the final score ...
<|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: In which game number was ...
<|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: What was the final score ...
<|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: For the game played again...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race_1_results" ( "name" text, "team" text, "laps" real, "time_retired" text, "grid" real ); Question: What is Name, when Laps is "50", when Grid is greater than 9, when Team is "Jim Beam Racin...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race_1_results" ( "name" text, "team" text, "laps" real, "time_retired" text, "grid" real ); Question: What is the lowest Laps, when Grid is greater than 7, and when Name is "Fabian Coulthard"?...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race_1_results" ( "name" text, "team" text, "laps" real, "time_retired" text, "grid" real ); Question: What is Time/Retired, when Laps is less than 49, and when Name is "Michael Caruso"? <|assi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race_1_results" ( "name" text, "team" text, "laps" real, "time_retired" text, "grid" real ); Question: What is Time/Retired, when Team is "Team Vodafone", and when Grid is greater than 4? <|ass...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "national_final_14_march_1993" ( "draw" real, "artist" text, "song" text, "points" real, "place" real ); Question: What is the draw number of the Artist Dav Mcnamara and a place bigger than 4? <...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "test_cricket" ( "runs" text, "match" text, "stadium" text, "city_country" text, "year" text ); Question: What is the stadium name that has 144 as the runs? <|assistant|> SELECT "stadium" FROM "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "test_cricket" ( "runs" text, "match" text, "stadium" text, "city_country" text, "year" text ); Question: For what year was 100* runs happen? <|assistant|> SELECT "year" FROM "test_cricket" WHER...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "test_cricket" ( "runs" text, "match" text, "stadium" text, "city_country" text, "year" text ); Question: How many runs happened in 2013? <|assistant|> SELECT "runs" FROM "test_cricket" WHERE "y...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "test_cricket" ( "runs" text, "match" text, "stadium" text, "city_country" text, "year" text ); Question: With 42 as the match what are the runs? <|assistant|> SELECT "runs" FROM "test_cricket" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "test_cricket" ( "runs" text, "match" text, "stadium" text, "city_country" text, "year" text ); Question: In 2009 with 100* runs, what is the match? <|assistant|> SELECT "match" FROM "test_crick...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "test_cricket" ( "runs" text, "match" text, "stadium" text, "city_country" text, "year" text ); Question: When the game was played in the stadium called stadium what was the match? <|assistant|>...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_of_16" ( "team_1" text, "score" text, "team_2" text, "1st_round" text, "2nd_round" text ); Question: What is the 2nd round with a score of 3 - 3, and a team 1 fc gueugnon (d2)? <|assistan...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_of_16" ( "team_1" text, "score" text, "team_2" text, "1st_round" text, "2nd_round" text ); Question: What is the 2nd round with a score of 3 - 3, and a team 2 fc lorient (d2)? <|assistant...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_of_16" ( "team_1" text, "score" text, "team_2" text, "1st_round" text, "2nd_round" text ); Question: What team 1 has a 2nd round 0 - 1, and a team 2 rc lens (d1)? <|assistant|> SELECT "te...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_of_16" ( "team_1" text, "score" text, "team_2" text, "1st_round" text, "2nd_round" text ); Question: What is the 1st round with a team 2 paris sg (d1)? <|assistant|> SELECT "1st_round" FR...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_of_16" ( "team_1" text, "score" text, "team_2" text, "1st_round" text, "2nd_round" text ); Question: What is the 1st round with a 2nd round of 0 - 1, and team 1 sco angers (d1)? <|assista...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "loaned_out" ( "name" text, "country" text, "status" text, "moving_to" text, "transfer_window" text, "transfer_fee" text ); Question: WHAT IS THE NAME WITH A SUMMER TRANSFER WINDOW, AND COUNTR...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "loaned_out" ( "name" text, "country" text, "status" text, "moving_to" text, "transfer_window" text, "transfer_fee" text ); Question: WHAT IS THE COUNTRY WITH NAME OF KANU? <|assistant|> SELEC...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "loaned_out" ( "name" text, "country" text, "status" text, "moving_to" text, "transfer_window" text, "transfer_fee" text ); Question: WHAT IS THE MOVING TO LOCATION WITH BEL AS COUNTRY? <|assi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "loaned_out" ( "name" text, "country" text, "status" text, "moving_to" text, "transfer_window" text, "transfer_fee" text ); Question: WHAT IS THE COUNTRY WITH SUMMER TRANSFER WINDOW? <|assista...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "loaned_out" ( "name" text, "country" text, "status" text, "moving_to" text, "transfer_window" text, "transfer_fee" text ); Question: WHAT IS THE TRANSFER WINDOW FOR THE COUNTRY OF BRA? <|assi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "date" text, "opponentnum" text, "site" text, "result" text, "attendance" text ); Question: What opponent had an attendance of 63,659? <|assistant|> SELECT "opponentnum" FROM "sched...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "date" text, "opponentnum" text, "site" text, "result" text, "attendance" text ); Question: What was the result of 10/18/1947? <|assistant|> SELECT "result" FROM "schedule" WHERE "d...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "date" text, "opponentnum" text, "site" text, "result" text, "attendance" text ); Question: What was the result for 10/04/1947? <|assistant|> SELECT "result" FROM "schedule" WHERE "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "chinese_taipei_national_football_team" ( "date" text, "venue" text, "score" text, "competition" text, "report" text ); Question: Which competition has a report of AIFF? <|assistant|> SELECT "co...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "chinese_taipei_national_football_team" ( "date" text, "venue" text, "score" text, "competition" text, "report" text ); Question: What is the score for a report of AFC on April 4, 2008? <|assist...
<|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 for the game against the Houston Oilers? <|assistant|> SELECT "atten...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "scottish_cup" ( "date" text, "round" text, "opponent" text, "venue" text, "result" text, "attendance" real ); Question: How many people attended round f? <|assistant|> SELECT COUNT("attendanc...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "scottish_cup" ( "date" text, "round" text, "opponent" text, "venue" text, "result" text, "attendance" real ); Question: How many people on average attend round f? <|assistant|> SELECT AVG("at...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "scottish_cup" ( "date" text, "round" text, "opponent" text, "venue" text, "result" text, "attendance" real ); Question: What was the result in round qf? <|assistant|> SELECT "result" FROM "sc...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fifth_round" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text ); Question: Who played Blackpool when Blackpool was at home? <|assistant|> SELECT "away_team" FROM "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fifth_round" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text ); Question: How many times did Arsenal tie when they were away? <|assistant|> SELECT "tie_no" FROM "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fifth_round" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text ); Question: What was the score of the game when Blackpool was away? <|assistant|> SELECT "score" FRO...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "kickboxing_record" ( "result" text, "record" text, "opponent" text, "method" text, "event" text, "round" real, "time" text, "location" text ); Question: What result had a time of 1:02? <|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "kickboxing_record" ( "result" text, "record" text, "opponent" text, "method" text, "event" text, "round" real, "time" text, "location" text ); Question: What time was the event k-1 the ch...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "kickboxing_record" ( "result" text, "record" text, "opponent" text, "method" text, "event" text, "round" real, "time" text, "location" text ); Question: Where was the decision draw before...
<|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, ...