instruction stringlengths 67 299 | input stringlengths 88 550 | output stringlengths 32 484 |
|---|---|---|
Write a SQL query that answers the following question: When did the United Kingdom format a stereo LP? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (date VARCHAR, region VARCHAR, format VARCHAR) | SELECT date FROM table_name_29 WHERE region = "united kingdom" AND format = "stereo lp" |
Write a SQL query that answers the following question: What region goes along with January 1974? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (region VARCHAR, date VARCHAR) | SELECT region FROM table_name_93 WHERE date = "january 1974" |
Write a SQL query that answers the following question: What is the label from 1973 that has a catalog number of l 35023? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (label VARCHAR, date VARCHAR, catalog VARCHAR) | SELECT label FROM table_name_98 WHERE date = "1973" AND catalog = "l 35023" |
Write a SQL query that answers the following question: How many wins did the driver with 1 second and more than 12 races have? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (wins VARCHAR, second VARCHAR, races VARCHAR) | SELECT wins FROM table_name_98 WHERE second = "1" AND races > 12 |
Write a SQL query that answers the following question: What is the lowest Loss number when the Gain is less than 61 and the Avg/G is 6? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (loss INTEGER, gain VARCHAR, avg_g VARCHAR) | SELECT MIN(loss) FROM table_name_94 WHERE gain < 61 AND avg_g = 6 |
Write a SQL query that answers the following question: What is the sum of Avg/G for Dan Dierking when the Loss is 0 and the Gain is more than 34? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (avg_g INTEGER, gain VARCHAR, loss VARCHAR, name VARCHAR) | SELECT SUM(avg_g) FROM table_name_95 WHERE loss = 0 AND name = "dan dierking" AND gain > 34 |
Write a SQL query that answers the following question: Who was the visiting team on April 6? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (visitor VARCHAR, date VARCHAR) | SELECT visitor FROM table_name_27 WHERE date = "april 6" |
Write a SQL query that answers the following question: What was the date of the game that led to a 4-3 record? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (date VARCHAR, record VARCHAR) | SELECT date FROM table_name_64 WHERE record = "4-3" |
Write a SQL query that answers the following question: Who was the home team in the game that led to a 2-3 series record? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (home VARCHAR, record VARCHAR) | SELECT home FROM table_name_10 WHERE record = "2-3" |
Write a SQL query that answers the following question: Which home team had a score of 100-86? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (home_team VARCHAR, score VARCHAR) | SELECT home_team FROM table_name_29 WHERE score = "100-86" |
Write a SQL query that answers the following question: Which report corresponds to the State Sports Centre? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (report VARCHAR, venue VARCHAR) | SELECT report FROM table_name_89 WHERE venue = "state sports centre" |
Write a SQL query that answers the following question: Who was the away team at the Win Entertainment Centre? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (away_team VARCHAR, venue VARCHAR) | SELECT away_team FROM table_name_31 WHERE venue = "win entertainment centre" |
Write a SQL query that answers the following question: Can you tell me the total number of Gain that has the Name of williams, jonathan, and the Loss larger than 3? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (gain VARCHAR, name VARCHAR, loss VARCHAR) | SELECT COUNT(gain) FROM table_name_55 WHERE name = "williams, jonathan" AND loss > 3 |
Write a SQL query that answers the following question: Can you tell me the sum of Loss that has the Gain of 2646? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (loss INTEGER, gain VARCHAR) | SELECT SUM(loss) FROM table_name_82 WHERE gain = 2646 |
Write a SQL query that answers the following question: Can you tell me the sum of Gain that has the Name of kass, rob, and the Avg/g smaller than 1.9? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (gain INTEGER, name VARCHAR, avg_g VARCHAR) | SELECT SUM(gain) FROM table_name_75 WHERE name = "kass, rob" AND avg_g < 1.9 |
Write a SQL query that answers the following question: Can you tell me the lowest Long that has the Gain of 20, and the Loss smaller than 0? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (long INTEGER, gain VARCHAR, loss VARCHAR) | SELECT MIN(long) FROM table_name_19 WHERE gain = 20 AND loss < 0 |
Write a SQL query that answers the following question: What is the highest ERP W with a w216bo call sign? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (erp_w INTEGER, call_sign VARCHAR) | SELECT MAX(erp_w) FROM table_name_10 WHERE call_sign = "w216bo" |
Write a SQL query that answers the following question: What kind of Crowd has a Ground of subiaco oval? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (crowd INTEGER, ground VARCHAR) | SELECT SUM(crowd) FROM table_name_41 WHERE ground = "subiaco oval" |
Write a SQL query that answers the following question: How many Crowd that has a Date on saturday, 29 january and an Away team of collingwood? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (crowd INTEGER, date VARCHAR, away_team VARCHAR) | SELECT AVG(crowd) FROM table_name_67 WHERE date = "saturday, 29 january" AND away_team = "collingwood" |
Write a SQL query that answers the following question: On which date after week 11 was the opponent the arizona cardinals? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (date VARCHAR, week VARCHAR, opponent VARCHAR) | SELECT date FROM table_name_88 WHERE week > 11 AND opponent = "arizona cardinals" |
Write a SQL query that answers the following question: What was the lead with an alternate of li dongyan? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (lead VARCHAR, alternate VARCHAR) | SELECT lead FROM table_name_78 WHERE alternate = "li dongyan" |
Write a SQL query that answers the following question: Which lead had a season of 2007-08? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (lead VARCHAR, season VARCHAR) | SELECT lead FROM table_name_18 WHERE season = "2007-08" |
Write a SQL query that answers the following question: Which lead had a season of 2009-10? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (lead VARCHAR, season VARCHAR) | SELECT lead FROM table_name_40 WHERE season = "2009-10" |
Write a SQL query that answers the following question: Which Name has a Yes Saturday and a Yes Evening? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (name VARCHAR, saturday VARCHAR, evening VARCHAR) | SELECT name FROM table_name_49 WHERE saturday = "yes" AND evening = "yes" |
Write a SQL query that answers the following question: Name the Daytime which has Saturday of yes and a Name of exmouth? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (daytime VARCHAR, saturday VARCHAR, name VARCHAR) | SELECT daytime FROM table_name_5 WHERE saturday = "yes" AND name = "exmouth" |
Write a SQL query that answers the following question: Name the Evening that has a Sunday of no, and a Name of s. vidal/plant express? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (evening VARCHAR, sunday VARCHAR, name VARCHAR) | SELECT evening FROM table_name_18 WHERE sunday = "no" AND name = "s. vidal/plant express" |
Write a SQL query that answers the following question: Name the Daytime which has a Name of exmouth? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (daytime VARCHAR, name VARCHAR) | SELECT daytime FROM table_name_22 WHERE name = "exmouth" |
Write a SQL query that answers the following question: Which Saturday has a Sunday of yes and a Evening of yes? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (saturday VARCHAR, sunday VARCHAR, evening VARCHAR) | SELECT saturday FROM table_name_80 WHERE sunday = "yes" AND evening = "yes" |
Write a SQL query that answers the following question: Which Saturday has a Name of confederation? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (saturday VARCHAR, name VARCHAR) | SELECT saturday FROM table_name_68 WHERE name = "confederation" |
Write a SQL query that answers the following question: What was the GP-GS for the 2009 season? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (gp_gs VARCHAR, season VARCHAR) | SELECT gp_gs FROM table_name_52 WHERE season = "2009" |
Write a SQL query that answers the following question: Which GP-GS had a long of 17 and a season of total? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (gp_gs VARCHAR, long VARCHAR, season VARCHAR) | SELECT gp_gs FROM table_name_13 WHERE long = "17" AND season = "total" |
Write a SQL query that answers the following question: Which Long has redshirt for its Avg/G? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (long VARCHAR, avg_g VARCHAR) | SELECT long FROM table_name_97 WHERE avg_g = "redshirt" |
Write a SQL query that answers the following question: What was the Av/G of the 2009 season? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (avg_g VARCHAR, season VARCHAR) | SELECT avg_g FROM table_name_74 WHERE season = "2009" |
Write a SQL query that answers the following question: For the Avg/G of 5.9, what was the long? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (long VARCHAR, avg_g VARCHAR) | SELECT long FROM table_name_56 WHERE avg_g = "5.9" |
Write a SQL query that answers the following question: What is the Location Attendance, when High Points is "D. McKey (24)", and when Score is "L 96-105"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (location_attendance VARCHAR, high_points VARCHAR, score VARCHAR) | SELECT location_attendance FROM table_name_55 WHERE high_points = "d. mckey (24)" AND score = "l 96-105" |
Write a SQL query that answers the following question: What is High Rebounds, when Game is greater than 33, and when Score is "W 132-101"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (high_rebounds VARCHAR, game VARCHAR, score VARCHAR) | SELECT high_rebounds FROM table_name_44 WHERE game > 33 AND score = "w 132-101" |
Write a SQL query that answers the following question: What is Team, when Game is "32"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (team VARCHAR, game VARCHAR) | SELECT team FROM table_name_96 WHERE game = 32 |
Write a SQL query that answers the following question: What is the sum of Game, when High Points is "D. McKey (24)", and when Team is "@ Dallas Mavericks"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (game INTEGER, high_points VARCHAR, team VARCHAR) | SELECT SUM(game) FROM table_name_35 WHERE high_points = "d. mckey (24)" AND team = "@ dallas mavericks" |
Write a SQL query that answers the following question: Which Tournament has Opponents of marc lópez santiago ventura? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (tournament VARCHAR, opponents VARCHAR) | SELECT tournament FROM table_name_16 WHERE opponents = "marc lópez santiago ventura" |
Write a SQL query that answers the following question: Which Opponents have a Partnering of alessandro motti, and a Date of 12 september 2005? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (opponents VARCHAR, partnering VARCHAR, date VARCHAR) | SELECT opponents FROM table_name_60 WHERE partnering = "alessandro motti" AND date = "12 september 2005" |
Write a SQL query that answers the following question: Which Opponents have a Score of 6–4, 6–3? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (opponents VARCHAR, score VARCHAR) | SELECT opponents FROM table_name_59 WHERE score = "6–4, 6–3" |
Write a SQL query that answers the following question: Which Tournament has a Surface of hard, and a Date of 24 september 2011? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (tournament VARCHAR, surface VARCHAR, date VARCHAR) | SELECT tournament FROM table_name_40 WHERE surface = "hard" AND date = "24 september 2011" |
Write a SQL query that answers the following question: How many rounds did the match at GCF: Strength and Honor last? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (round INTEGER, event VARCHAR) | SELECT AVG(round) FROM table_name_49 WHERE event = "gcf: strength and honor" |
Write a SQL query that answers the following question: What is the total population for Saint-Antoine with an area squared of 6.43? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (population INTEGER, official_name VARCHAR, area_km_2 VARCHAR) | SELECT SUM(population) FROM table_name_60 WHERE official_name = "saint-antoine" AND area_km_2 > 6.43 |
Write a SQL query that answers the following question: What is the current status of a location with a census ranking of 1,769 of 5,008 and population greater than 930? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (status VARCHAR, population VARCHAR, census_ranking VARCHAR) | SELECT status FROM table_name_21 WHERE population > 930 AND census_ranking = "1,769 of 5,008" |
Write a SQL query that answers the following question: How many games in February have a record of 40-15-5? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (february INTEGER, record VARCHAR) | SELECT SUM(february) FROM table_name_8 WHERE record = "40-15-5" |
Write a SQL query that answers the following question: What is the lowest numbered game with an opponent of Minnesota North Stars earlier than February 25? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (game INTEGER, opponent VARCHAR, february VARCHAR) | SELECT MIN(game) FROM table_name_95 WHERE opponent = "minnesota north stars" AND february < 25 |
Write a SQL query that answers the following question: How many games have the New York Islanders as an opponent before February 7? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (game INTEGER, opponent VARCHAR, february VARCHAR) | SELECT SUM(game) FROM table_name_63 WHERE opponent = "new york islanders" AND february < 7 |
Write a SQL query that answers the following question: What is the earliest February date with a record of 37-13-4 in a game earlier than 54? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (february INTEGER, record VARCHAR, game VARCHAR) | SELECT MIN(february) FROM table_name_52 WHERE record = "37-13-4" AND game < 54 |
Write a SQL query that answers the following question: What is the date of the game when the record is 2-0? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (date VARCHAR, record VARCHAR) | SELECT date FROM table_name_53 WHERE record = "2-0" |
Write a SQL query that answers the following question: What is the average game number when the record is 4-1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (game INTEGER, record VARCHAR) | SELECT AVG(game) FROM table_name_18 WHERE record = "4-1" |
Write a SQL query that answers the following question: What is the location and attendance of game 1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (location_attendance VARCHAR, game VARCHAR) | SELECT location_attendance FROM table_name_95 WHERE game = 1 |
Write a SQL query that answers the following question: What is the date of the game located in Madison Square Garden, when the team is Seattle and the game number is less than 6? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (date VARCHAR, team VARCHAR, location_attendance VARCHAR, game VARCHAR) | SELECT date FROM table_name_36 WHERE location_attendance = "madison square garden" AND game < 6 AND team = "seattle" |
Write a SQL query that answers the following question: What is the location and attendance of the game when the score is 125-100? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (location_attendance VARCHAR, score VARCHAR) | SELECT location_attendance FROM table_name_89 WHERE score = "125-100" |
Write a SQL query that answers the following question: Who was the winning driver in 1956? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (winning_driver VARCHAR, year VARCHAR) | SELECT winning_driver FROM table_name_93 WHERE year = "1956" |
Write a SQL query that answers the following question: Which circuit did Peter Whitehead win? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (circuit VARCHAR, winning_driver VARCHAR) | SELECT circuit FROM table_name_43 WHERE winning_driver = "peter whitehead" |
Write a SQL query that answers the following question: What report did Jack Brabham win? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (report VARCHAR, winning_driver VARCHAR) | SELECT report FROM table_name_21 WHERE winning_driver = "jack brabham" |
Write a SQL query that answers the following question: What year did Ferrari win the Kyalami circuit? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (year VARCHAR, circuit VARCHAR, winning_constructor VARCHAR) | SELECT year FROM table_name_16 WHERE circuit = "kyalami" AND winning_constructor = "ferrari" |
Write a SQL query that answers the following question: Which circuit did Jim Clark win in 1962? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (circuit VARCHAR, winning_driver VARCHAR, year VARCHAR) | SELECT circuit FROM table_name_38 WHERE winning_driver = "jim clark" AND year = "1962" |
Write a SQL query that answers the following question: On what Date was the 2011 LG Cup Competittion? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (date VARCHAR, competition VARCHAR) | SELECT date FROM table_name_46 WHERE competition = "2011 lg cup" |
Write a SQL query that answers the following question: What is the pick for the player with 2 years in the NBA and who plays for the Utah Jazz? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (pick VARCHAR, previous_team VARCHAR, nba_years_ VARCHAR, a_ VARCHAR) | SELECT pick FROM table_name_68 WHERE nba_years_[a_] = "2" AND previous_team = "utah jazz" |
Write a SQL query that answers the following question: What was the final score for the game in which Carmelo Anthony (26) was the high points scorer? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (score VARCHAR, high_points VARCHAR) | SELECT score FROM table_name_78 WHERE high_points = "carmelo anthony (26)" |
Write a SQL query that answers the following question: In which game number was Chris Andersen (12) the high rebounds scorer? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (game VARCHAR, high_rebounds VARCHAR) | SELECT game FROM table_name_48 WHERE high_rebounds = "chris andersen (12)" |
Write a SQL query that answers the following question: What was the final score for the game played against @ Milwaukee? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (score VARCHAR, team VARCHAR) | SELECT score FROM table_name_39 WHERE team = "@ milwaukee" |
Write a SQL query that answers the following question: For the game played against the L.A. Lakers, where was the match played and what was the attendance level? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (location_attendance VARCHAR, team VARCHAR) | SELECT location_attendance FROM table_name_80 WHERE team = "l.a. lakers" |
Write a SQL query that answers the following question: What is Name, when Laps is "50", when Grid is greater than 9, when Team is "Jim Beam Racing", and when Time/Retired is "+ 18.0s"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (name VARCHAR, time_retired VARCHAR, team VARCHAR, laps VARCHAR, grid VARCHAR) | SELECT name FROM table_name_35 WHERE laps = 50 AND grid > 9 AND team = "jim beam racing" AND time_retired = "+ 18.0s" |
Write a SQL query that answers the following question: What is the lowest Laps, when Grid is greater than 7, and when Name is "Fabian Coulthard"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (laps INTEGER, grid VARCHAR, name VARCHAR) | SELECT MIN(laps) FROM table_name_83 WHERE grid > 7 AND name = "fabian coulthard" |
Write a SQL query that answers the following question: What is Time/Retired, when Laps is less than 49, and when Name is "Michael Caruso"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (time_retired VARCHAR, laps VARCHAR, name VARCHAR) | SELECT time_retired FROM table_name_65 WHERE laps < 49 AND name = "michael caruso" |
Write a SQL query that answers the following question: What is Time/Retired, when Team is "Team Vodafone", and when Grid is greater than 4? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (time_retired VARCHAR, team VARCHAR, grid VARCHAR) | SELECT time_retired FROM table_name_16 WHERE team = "team vodafone" AND grid > 4 |
Write a SQL query that answers the following question: What is the draw number of the Artist Dav Mcnamara and a place bigger than 4? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (draw VARCHAR, artist VARCHAR, place VARCHAR) | SELECT COUNT(draw) FROM table_name_75 WHERE artist = "dav mcnamara" AND place > 4 |
Write a SQL query that answers the following question: What is the stadium name that has 144 as the runs? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (stadium VARCHAR, runs VARCHAR) | SELECT stadium FROM table_name_86 WHERE runs = "144" |
Write a SQL query that answers the following question: For what year was 100* runs happen? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (year VARCHAR, runs VARCHAR) | SELECT year FROM table_name_45 WHERE runs = "100*" |
Write a SQL query that answers the following question: How many runs happened in 2013? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (runs VARCHAR, year VARCHAR) | SELECT runs FROM table_name_18 WHERE year = "2013" |
Write a SQL query that answers the following question: With 42 as the match what are the runs? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (runs VARCHAR, match VARCHAR) | SELECT runs FROM table_name_42 WHERE match = "42" |
Write a SQL query that answers the following question: In 2009 with 100* runs, what is the match? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (match VARCHAR, year VARCHAR, runs VARCHAR) | SELECT match FROM table_name_8 WHERE year = "2009" AND runs = "100*" |
Write a SQL query that answers the following question: When the game was played in the stadium called stadium what was the match? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (match VARCHAR) | SELECT match FROM table_name_90 WHERE "stadium" = "stadium" |
Write a SQL query that answers the following question: What is the 2nd round with a score of 3 - 3, and a team 1 fc gueugnon (d2)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (score VARCHAR, team_1 VARCHAR) | SELECT 2 AS nd_round FROM table_name_86 WHERE score = "3 - 3" AND team_1 = "fc gueugnon (d2)" |
Write a SQL query that answers the following question: What is the 2nd round with a score of 3 - 3, and a team 2 fc lorient (d2)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (score VARCHAR, team_2 VARCHAR) | SELECT 2 AS nd_round FROM table_name_60 WHERE score = "3 - 3" AND team_2 = "fc lorient (d2)" |
Write a SQL query that answers the following question: What is the 1st round with a team 2 paris sg (d1)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (team_2 VARCHAR) | SELECT 1 AS st_round FROM table_name_91 WHERE team_2 = "paris sg (d1)" |
Write a SQL query that answers the following question: WHAT IS THE NAME WITH A SUMMER TRANSFER WINDOW, AND COUNTRY SEN? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (name VARCHAR, transfer_window VARCHAR, country VARCHAR) | SELECT name FROM table_name_39 WHERE transfer_window = "summer" AND country = "sen" |
Write a SQL query that answers the following question: WHAT IS THE COUNTRY WITH NAME OF KANU? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (country VARCHAR, name VARCHAR) | SELECT country FROM table_name_48 WHERE name = "kanu" |
Write a SQL query that answers the following question: WHAT IS THE MOVING TO LOCATION WITH BEL AS COUNTRY? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (moving_to VARCHAR, country VARCHAR) | SELECT moving_to FROM table_name_27 WHERE country = "bel" |
Write a SQL query that answers the following question: WHAT IS THE COUNTRY WITH SUMMER TRANSFER WINDOW? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (country VARCHAR, transfer_window VARCHAR) | SELECT country FROM table_name_93 WHERE transfer_window = "summer" |
Write a SQL query that answers the following question: WHAT IS THE TRANSFER WINDOW FOR THE COUNTRY OF BRA? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (transfer_window VARCHAR, country VARCHAR) | SELECT transfer_window FROM table_name_12 WHERE country = "bra" |
Write a SQL query that answers the following question: What opponent had an attendance of 63,659? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (opponent_number VARCHAR, attendance VARCHAR) | SELECT opponent_number FROM table_name_78 WHERE attendance = "63,659" |
Write a SQL query that answers the following question: What was the result of 10/18/1947? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (result VARCHAR, date VARCHAR) | SELECT result FROM table_name_84 WHERE date = "10/18/1947" |
Write a SQL query that answers the following question: What was the result for 10/04/1947? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (result VARCHAR, date VARCHAR) | SELECT result FROM table_name_75 WHERE date = "10/04/1947" |
Write a SQL query that answers the following question: Which competition has a report of AIFF? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (competition VARCHAR, report VARCHAR) | SELECT competition FROM table_name_91 WHERE report = "aiff" |
Write a SQL query that answers the following question: What is the score for a report of AFC on April 4, 2008? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (score VARCHAR, report VARCHAR, date VARCHAR) | SELECT score FROM table_name_18 WHERE report = "afc" AND date = "april 4, 2008" |
Write a SQL query that answers the following question: What was the attendance for the game against the Houston Oilers? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (attendance VARCHAR, opponent VARCHAR) | SELECT attendance FROM table_name_9 WHERE opponent = "houston oilers" |
Write a SQL query that answers the following question: How many people attended round f? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (attendance VARCHAR, round VARCHAR) | SELECT COUNT(attendance) FROM table_name_72 WHERE round = "f" |
Write a SQL query that answers the following question: How many people on average attend round f? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (attendance INTEGER, round VARCHAR) | SELECT AVG(attendance) FROM table_name_28 WHERE round = "f" |
Write a SQL query that answers the following question: What was the result in round qf? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (result VARCHAR, round VARCHAR) | SELECT result FROM table_name_56 WHERE round = "qf" |
Write a SQL query that answers the following question: Who played Blackpool when Blackpool was at home? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team FROM table_name_2 WHERE home_team = "blackpool" |
Write a SQL query that answers the following question: How many times did Arsenal tie when they were away? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (tie_no VARCHAR, away_team VARCHAR) | SELECT tie_no FROM table_name_2 WHERE away_team = "arsenal" |
Write a SQL query that answers the following question: What was the score of the game when Blackpool was away? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (score VARCHAR, away_team VARCHAR) | SELECT score FROM table_name_77 WHERE away_team = "blackpool" |
Write a SQL query that answers the following question: What result had a time of 1:02? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (result VARCHAR, time VARCHAR) | SELECT result FROM table_name_14 WHERE time = "1:02" |
Write a SQL query that answers the following question: What time was the event k-1 the challenge 1999? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (time VARCHAR, event VARCHAR) | SELECT time FROM table_name_1 WHERE event = "k-1 the challenge 1999" |
Write a SQL query that answers the following question: Where was the decision draw before round 5? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (location VARCHAR, method VARCHAR, round VARCHAR) | SELECT location FROM table_name_13 WHERE method = "decision draw" AND round < 5 |
Write a SQL query that answers the following question: What is Career Win-Loss, when Tournament is "Hamburg"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (career_win_loss VARCHAR, tournament VARCHAR) | SELECT career_win_loss FROM table_name_11 WHERE tournament = "hamburg" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.