instruction stringlengths 67 299 | input stringlengths 88 550 | output stringlengths 32 484 |
|---|---|---|
Write a SQL query that answers the following question: What is the total of laps with grid of 2 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (laps INTEGER, grid VARCHAR) | SELECT SUM(laps) FROM table_name_5 WHERE grid = 2 |
Write a SQL query that answers the following question: What is the lowest grid with time of +0.499,when laps are larger than 21? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (grid INTEGER, time VARCHAR, laps VARCHAR) | SELECT MIN(grid) FROM table_name_33 WHERE time = "+0.499" AND laps > 21 |
Write a SQL query that answers the following question: What is the total laps when manufacturer of gilera has time of 40:19.910 and grid is larger than 3? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (laps INTEGER, grid VARCHAR, manufacturer VARCHAR, time VARCHAR) | SELECT SUM(laps) FROM table_name_86 WHERE manufacturer = "gilera" AND time = "40:19.910" AND grid > 3 |
Write a SQL query that answers the following question: What is the time when the rank is 14? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (time VARCHAR, rank VARCHAR) | SELECT time FROM table_name_72 WHERE rank = 14 |
Write a SQL query that answers the following question: what is the rank when the time is 3:12.40? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (rank INTEGER, time VARCHAR) | SELECT SUM(rank) FROM table_name_70 WHERE time = "3:12.40" |
Write a SQL query that answers the following question: what is the rank when the heat is more than 4? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (rank INTEGER, heat INTEGER) | SELECT SUM(rank) FROM table_name_66 WHERE heat > 4 |
Write a SQL query that answers the following question: what is the nationality when the heat is less than 3 and the time is 2:35.31? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (nationality VARCHAR, heat VARCHAR, time VARCHAR) | SELECT nationality FROM table_name_81 WHERE heat < 3 AND time = "2:35.31" |
Write a SQL query that answers the following question: what is the name when the heat is less than 3, the rank is less than 18, the nationality is east germany and the time is 2:35.31? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (name VARCHAR, time VARCHAR, nationality VARCHAR, heat VARCHAR, rank VARCHAR) | SELECT name FROM table_name_64 WHERE heat < 3 AND rank < 18 AND nationality = "east germany" AND time = "2:35.31" |
Write a SQL query that answers the following question: Which tie number had an away team of the Tranmere Rovers? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (tie_no VARCHAR, away_team VARCHAR) | SELECT tie_no FROM table_name_44 WHERE away_team = "tranmere rovers" |
Write a SQL query that answers the following question: Which tie number had an away team of the Tranmere Rovers? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (tie_no VARCHAR, away_team VARCHAR) | SELECT tie_no FROM table_name_36 WHERE away_team = "tranmere rovers" |
Write a SQL query that answers the following question: What date did the Boston Celtics play at Richfield Coliseum? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (date VARCHAR, location VARCHAR) | SELECT date FROM table_name_99 WHERE location = "richfield coliseum" |
Write a SQL query that answers the following question: What game ended with a final score of 126-108? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (game INTEGER, score VARCHAR) | SELECT MAX(game) FROM table_name_16 WHERE score = "126-108" |
Write a SQL query that answers the following question: What was the highest number of rebounds on February 6? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (high_rebounds VARCHAR, date VARCHAR) | SELECT high_rebounds FROM table_name_53 WHERE date = "february 6" |
Write a SQL query that answers the following question: How many people tuned in to the finale on May 16, 2007? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (viewers__in_millions_ VARCHAR, finale VARCHAR) | SELECT COUNT(viewers__in_millions_) FROM table_name_27 WHERE finale = "may 16, 2007" |
Write a SQL query that answers the following question: What time did the season finale air on May 20, 2003? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (timeslot VARCHAR, finale VARCHAR) | SELECT timeslot FROM table_name_43 WHERE finale = "may 20, 2003" |
Write a SQL query that answers the following question: What was the total score where Toronto was played? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (game INTEGER, team VARCHAR) | SELECT SUM(game) FROM table_name_71 WHERE team = "toronto" |
Write a SQL query that answers the following question: Which Weight & Height has a Player of james donaldson? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (weight_ VARCHAR, _height VARCHAR, player VARCHAR) | SELECT weight_ & _height FROM table_name_43 WHERE player = "james donaldson" |
Write a SQL query that answers the following question: Which Weight & Height has a Player of michael worrincy? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (weight_ VARCHAR, _height VARCHAR, player VARCHAR) | SELECT weight_ & _height FROM table_name_65 WHERE player = "michael worrincy" |
Write a SQL query that answers the following question: What is the result of the match that went to round 1 and only for 2:48? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (res VARCHAR, round VARCHAR, time VARCHAR) | SELECT res FROM table_name_94 WHERE round = 1 AND time = "2:48" |
Write a SQL query that answers the following question: The K-1 MMA Romanex event went how many rounds? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (round VARCHAR, event VARCHAR) | SELECT COUNT(round) FROM table_name_38 WHERE event = "k-1 mma romanex" |
Write a SQL query that answers the following question: What is the result for the match that was only 2:48 long? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (res VARCHAR, time VARCHAR) | SELECT res FROM table_name_63 WHERE time = "2:48" |
Write a SQL query that answers the following question: What is Points For, when Points Against is 571? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (points_for VARCHAR, points_against VARCHAR) | SELECT points_for FROM table_name_76 WHERE points_against = "571" |
Write a SQL query that answers the following question: What is Drawn, when Lost is 14, and when Bonus Points is 12? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (drawn VARCHAR, lost VARCHAR, bonus_points VARCHAR) | SELECT drawn FROM table_name_63 WHERE lost = "14" AND bonus_points = "12" |
Write a SQL query that answers the following question: What is Points, when Club is Maesteg RFC? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (points VARCHAR, club VARCHAR) | SELECT points FROM table_name_14 WHERE club = "maesteg rfc" |
Write a SQL query that answers the following question: What is Points, when Points is 60, and when Club is Bedwas RFC? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (points_for VARCHAR, points VARCHAR, club VARCHAR) | SELECT points_for FROM table_name_24 WHERE points = "60" AND club = "bedwas rfc" |
Write a SQL query that answers the following question: What is Drawn, when Club is Newport RFC? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (drawn VARCHAR, club VARCHAR) | SELECT drawn FROM table_name_71 WHERE club = "newport rfc" |
Write a SQL query that answers the following question: What is Points Difference, when Points Against is 451? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (points_difference VARCHAR, points_against VARCHAR) | SELECT points_difference FROM table_name_96 WHERE points_against = "451" |
Write a SQL query that answers the following question: Which is the highest silver that has a gold less than 0? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (silver INTEGER, gold INTEGER) | SELECT MAX(silver) FROM table_name_40 WHERE gold < 0 |
Write a SQL query that answers the following question: What is the lowest silver that has 1 as the rank, with a bronze greater than 5? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (silver INTEGER, rank VARCHAR, bronze VARCHAR) | SELECT MIN(silver) FROM table_name_76 WHERE rank = 1 AND bronze > 5 |
Write a SQL query that answers the following question: What is the highest silver that has 9 as the rank, germany as the nation, with a gold less than 0? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (silver INTEGER, gold VARCHAR, rank VARCHAR, nation VARCHAR) | SELECT MAX(silver) FROM table_name_55 WHERE rank = 9 AND nation = "germany" AND gold < 0 |
Write a SQL query that answers the following question: What shows for the location and attendance when the record is 41β36? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (location_attendance VARCHAR, record VARCHAR) | SELECT location_attendance FROM table_name_9 WHERE record = "41β36" |
Write a SQL query that answers the following question: What is the score when the record was 40β36? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (score VARCHAR, record VARCHAR) | SELECT score FROM table_name_65 WHERE record = "40β36" |
Write a SQL query that answers the following question: WHo is the Player got a Pick # smaller than 61, and a College of texas? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (player VARCHAR, pick__number VARCHAR, college VARCHAR) | SELECT player FROM table_name_17 WHERE pick__number < 61 AND college = "texas" |
Write a SQL query that answers the following question: Name the College which has a Round smaller than 3, and a Pick # larger than 4, and a Position of wide receiver? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (college VARCHAR, position VARCHAR, round VARCHAR, pick__number VARCHAR) | SELECT college FROM table_name_59 WHERE round < 3 AND pick__number > 4 AND position = "wide receiver" |
Write a SQL query that answers the following question: Which the highest Round has a Player of mike williams, and a Pick # larger than 4? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (round INTEGER, player VARCHAR, pick__number VARCHAR) | SELECT MAX(round) FROM table_name_12 WHERE player = "mike williams" AND pick__number > 4 |
Write a SQL query that answers the following question: Name the average Pick # of mike williams? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (pick__number INTEGER, player VARCHAR) | SELECT AVG(pick__number) FROM table_name_9 WHERE player = "mike williams" |
Write a SQL query that answers the following question: What date did the red wings play against the visitors, buffalo? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (date VARCHAR, visitor VARCHAR) | SELECT date FROM table_name_62 WHERE visitor = "buffalo" |
Write a SQL query that answers the following question: Who made the decision when atlanta was the home team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (decision VARCHAR, home VARCHAR) | SELECT decision FROM table_name_33 WHERE home = "atlanta" |
Write a SQL query that answers the following question: Who made the decision when detroit was the home team and boston was the visitor? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (decision VARCHAR, home VARCHAR, visitor VARCHAR) | SELECT decision FROM table_name_81 WHERE home = "detroit" AND visitor = "boston" |
Write a SQL query that answers the following question: Who made the decision when toronto was the home team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (decision VARCHAR, home VARCHAR) | SELECT decision FROM table_name_21 WHERE home = "toronto" |
Write a SQL query that answers the following question: The player Cecil Martin with an overall less than 268 has what total pick? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (pick INTEGER, name VARCHAR, overall VARCHAR) | SELECT SUM(pick) FROM table_name_32 WHERE name = "cecil martin" AND overall < 268 |
Write a SQL query that answers the following question: With the pick of 1 Cecil Martin has what number as the overall? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (overall VARCHAR, pick VARCHAR, name VARCHAR) | SELECT COUNT(overall) FROM table_name_38 WHERE pick = 1 AND name = "cecil martin" |
Write a SQL query that answers the following question: What position does the player play with an overall of 304? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (position VARCHAR, overall VARCHAR) | SELECT position FROM table_name_76 WHERE overall = 304 |
Write a SQL query that answers the following question: What is the US modern rock rank of code bad 0003? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (us_modern_rock VARCHAR, code VARCHAR) | SELECT us_modern_rock FROM table_name_90 WHERE code = "bad 0003" |
Write a SQL query that answers the following question: What is the format of code 9 40231-2 (us only)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (format VARCHAR, code VARCHAR) | SELECT format FROM table_name_83 WHERE code = "9 40231-2 (us only)" |
Write a SQL query that answers the following question: What is the UK singles chart rank of the single released on 26 February 1990? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (uk_singles_chart VARCHAR, release_date VARCHAR) | SELECT uk_singles_chart FROM table_name_9 WHERE release_date = "26 february 1990" |
Write a SQL query that answers the following question: What is the format of code pro-cd-4662? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (format VARCHAR, code VARCHAR) | SELECT format FROM table_name_98 WHERE code = "pro-cd-4662" |
Write a SQL query that answers the following question: Which mongolian has the province of municipality? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (mongolian VARCHAR, province VARCHAR) | SELECT mongolian FROM table_name_79 WHERE province = "municipality" |
Write a SQL query that answers the following question: What is the sum of the years with bus conner as the BSU head coach? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (year INTEGER, bsu_head_coach VARCHAR) | SELECT SUM(year) FROM table_name_24 WHERE bsu_head_coach = "bus conner" |
Write a SQL query that answers the following question: Who is the BSU head coach of the tournament after 1994 with louisville as the opponent? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (bsu_head_coach VARCHAR, opponent VARCHAR, year VARCHAR) | SELECT bsu_head_coach FROM table_name_76 WHERE opponent = "louisville" AND year > 1994 |
Write a SQL query that answers the following question: What is the result in 1994? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (result VARCHAR, year VARCHAR) | SELECT result FROM table_name_36 WHERE year = 1994 |
Write a SQL query that answers the following question: What is the result after 1993 of the first four rounds? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (result VARCHAR, year VARCHAR, round VARCHAR) | SELECT result FROM table_name_2 WHERE year > 1993 AND round = "first four" |
Write a SQL query that answers the following question: Who was the opponent before 1994 with bobby dye as the BSU head coach? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (opponent VARCHAR, bsu_head_coach VARCHAR, year VARCHAR) | SELECT opponent FROM table_name_86 WHERE bsu_head_coach = "bobby dye" AND year < 1994 |
Write a SQL query that answers the following question: Who is the opponent in 1976? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (opponent VARCHAR, year VARCHAR) | SELECT opponent FROM table_name_98 WHERE year = 1976 |
Write a SQL query that answers the following question: What is Date, when Score is "0-2", and when Opponents is "Bayer Leverkusen"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (date VARCHAR, score VARCHAR, opponents VARCHAR) | SELECT date FROM table_name_4 WHERE score = "0-2" AND opponents = "bayer leverkusen" |
Write a SQL query that answers the following question: What is Competition, when Score is "2-1", and when Date is "October 22, 2008"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (competition VARCHAR, score VARCHAR, date VARCHAR) | SELECT competition FROM table_name_84 WHERE score = "2-1" AND date = "october 22, 2008" |
Write a SQL query that answers the following question: What is Match Report, when Venue is "Westfalenstadion , Dortmund"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (match_report VARCHAR, venue VARCHAR) | SELECT match_report FROM table_name_92 WHERE venue = "westfalenstadion , dortmund" |
Write a SQL query that answers the following question: What is Date, when Venue is "Weserstadion , Bremen"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (date VARCHAR, venue VARCHAR) | SELECT date FROM table_name_32 WHERE venue = "weserstadion , bremen" |
Write a SQL query that answers the following question: What is Date, when Competition is "F", and when Opponents is "FC Astoria Walldorf"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (date VARCHAR, competition VARCHAR, opponents VARCHAR) | SELECT date FROM table_name_28 WHERE competition = "f" AND opponents = "fc astoria walldorf" |
Write a SQL query that answers the following question: What is the pick of Charley Taylor, who has an overall greater than 3? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (pick INTEGER, name VARCHAR, overall VARCHAR) | SELECT SUM(pick) FROM table_name_58 WHERE name = "charley taylor" AND overall > 3 |
Write a SQL query that answers the following question: What is the position of the player with a 143 overall? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (position VARCHAR, overall VARCHAR) | SELECT position FROM table_name_68 WHERE overall = 143 |
Write a SQL query that answers the following question: What is the average round of the s position player from the college of Mississippi and has an overall less than 214? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (round INTEGER, overall VARCHAR, position VARCHAR, college VARCHAR) | SELECT AVG(round) FROM table_name_79 WHERE position = "s" AND college = "mississippi" AND overall < 214 |
Write a SQL query that answers the following question: What is the total round of the rb player from Purdue with a pick less than 3? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (round VARCHAR, pick VARCHAR, position VARCHAR, college VARCHAR) | SELECT COUNT(round) FROM table_name_76 WHERE position = "rb" AND college = "purdue" AND pick < 3 |
Write a SQL query that answers the following question: Which category has 24 nominated work? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (category VARCHAR, nominated_work VARCHAR) | SELECT category FROM table_name_12 WHERE nominated_work = "24" |
Write a SQL query that answers the following question: How many Silver medals did the Nation of Croatia receive with a Total medal of more than 1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (silver INTEGER, nation VARCHAR, bronze VARCHAR, total VARCHAR) | SELECT MIN(silver) FROM table_name_3 WHERE bronze = 1 AND total > 1 AND nation = "croatia" |
Write a SQL query that answers the following question: How many Gold medals did Australia receive? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (gold INTEGER, nation VARCHAR) | SELECT AVG(gold) FROM table_name_59 WHERE nation = "australia" |
Write a SQL query that answers the following question: How many Total medals did the country with 16 Silver and less than 32 Bronze receive? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (total INTEGER, silver VARCHAR, bronze VARCHAR) | SELECT MIN(total) FROM table_name_65 WHERE silver = 16 AND bronze < 32 |
Write a SQL query that answers the following question: How many Bronze medals for the Nation with a Rank of 11 and less than 1 Silver? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (bronze INTEGER, rank VARCHAR, silver VARCHAR) | SELECT MIN(bronze) FROM table_name_9 WHERE rank = "11" AND silver < 1 |
Write a SQL query that answers the following question: What is the average Episode Number, when Original Airdate is March 21, 2010, and when Season is less than 3? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (episode INTEGER, original_airdate VARCHAR, season VARCHAR) | SELECT AVG(episode) AS number FROM table_name_96 WHERE original_airdate = "march 21, 2010" AND season < 3 |
Write a SQL query that answers the following question: What is the total number of Season(s), when Original Airdate is January 24, 1999, and when Year is less than 1999? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (season VARCHAR, original_airdate VARCHAR, year VARCHAR) | SELECT COUNT(season) FROM table_name_67 WHERE original_airdate = "january 24, 1999" AND year < 1999 |
Write a SQL query that answers the following question: How many games have a Result of l, and a Record of 2-6? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (game VARCHAR, result VARCHAR, record VARCHAR) | SELECT COUNT(game) FROM table_name_17 WHERE result = "l" AND record = "2-6" |
Write a SQL query that answers the following question: How many people attended the green bay packers game? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (attendance INTEGER, opponent VARCHAR) | SELECT SUM(attendance) FROM table_name_14 WHERE opponent = "green bay packers" |
Write a SQL query that answers the following question: How many people attended the game whose score was 1-1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (attendance VARCHAR, record VARCHAR) | SELECT attendance FROM table_name_62 WHERE record = "1-1" |
Write a SQL query that answers the following question: Which Date has a Score of 24-7, and a Record of 4-10? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (date VARCHAR, score VARCHAR, record VARCHAR) | SELECT date FROM table_name_12 WHERE score = "24-7" AND record = "4-10" |
Write a SQL query that answers the following question: Lowest round for g that was smaller than 31? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (round INTEGER, position VARCHAR, overall VARCHAR) | SELECT MIN(round) FROM table_name_76 WHERE position = "g" AND overall < 31 |
Write a SQL query that answers the following question: What is the Semifinalists that has a Tournament of Cincinnati? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (semifinalists VARCHAR, tournament VARCHAR) | SELECT semifinalists FROM table_name_29 WHERE tournament = "cincinnati" |
Write a SQL query that answers the following question: The Crvena Zvezda club has what aggregate? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (aggregate VARCHAR, club VARCHAR) | SELECT aggregate FROM table_name_58 WHERE club = "crvena zvezda" |
Write a SQL query that answers the following question: What is the total number of assists of the player with 0 goals, more than 1 points, and more than 0 pims? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (assists VARCHAR, pims VARCHAR, goals VARCHAR, points VARCHAR) | SELECT COUNT(assists) FROM table_name_85 WHERE goals = 0 AND points > 1 AND pims > 0 |
Write a SQL query that answers the following question: Which Decision has a Visitor of calgary, a Score of 2 β 1, and a Series of 4 β 3? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (decision VARCHAR, series VARCHAR, visitor VARCHAR, score VARCHAR) | SELECT decision FROM table_name_5 WHERE visitor = "calgary" AND score = "2 β 1" AND series = "4 β 3" |
Write a SQL query that answers the following question: Which Visitor has a Series of 2 β 1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (visitor VARCHAR, series VARCHAR) | SELECT visitor FROM table_name_15 WHERE series = "2 β 1" |
Write a SQL query that answers the following question: Which Visitor has a Home of calgary, and a Date of april 17? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (visitor VARCHAR, home VARCHAR, date VARCHAR) | SELECT visitor FROM table_name_72 WHERE home = "calgary" AND date = "april 17" |
Write a SQL query that answers the following question: Which Decision has a Visitor of vancouver, and a Score of 5 β 4? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (decision VARCHAR, visitor VARCHAR, score VARCHAR) | SELECT decision FROM table_name_4 WHERE visitor = "vancouver" AND score = "5 β 4" |
Write a SQL query that answers the following question: Which Visitor has a Home of vancouver, and a Decision of cloutier? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_30 (visitor VARCHAR, home VARCHAR, decision VARCHAR) | SELECT visitor FROM table_name_30 WHERE home = "vancouver" AND decision = "cloutier" |
Write a SQL query that answers the following question: Which Decision has a Series of 3 β 3? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (decision VARCHAR, series VARCHAR) | SELECT decision FROM table_name_42 WHERE series = "3 β 3" |
Write a SQL query that answers the following question: What's the value for race 4 when race 1 is dsq? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (race_4 VARCHAR, race_1 VARCHAR) | SELECT race_4 FROM table_name_76 WHERE race_1 = "dsq" |
Write a SQL query that answers the following question: What's the value for race 4 when race 3 is dns and race 2 is 27? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (race_4 VARCHAR, race_3 VARCHAR, race_2 VARCHAR) | SELECT race_4 FROM table_name_55 WHERE race_3 = "dns" AND race_2 = "27" |
Write a SQL query that answers the following question: What's the value for race 4 for driver kevin heffernan? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (race_4 VARCHAR, driver VARCHAR) | SELECT race_4 FROM table_name_61 WHERE driver = "kevin heffernan" |
Write a SQL query that answers the following question: What was the date of game 4? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (date VARCHAR, game VARCHAR) | SELECT date FROM table_name_92 WHERE game = 4 |
Write a SQL query that answers the following question: Who had the most points in the game on November 12? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (high_points VARCHAR, date VARCHAR) | SELECT high_points FROM table_name_86 WHERE date = "november 12" |
Write a SQL query that answers the following question: What rank is the team that has a player named Isco AlarcΓ³n? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (rank VARCHAR, player VARCHAR) | SELECT rank FROM table_name_34 WHERE player = "isco alarcΓ³n" |
Write a SQL query that answers the following question: What is the rank of Club Valencia with a U-17 Caps of 20? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (rank VARCHAR, club_s_ VARCHAR, u_17_caps VARCHAR) | SELECT COUNT(rank) FROM table_name_17 WHERE club_s_ = "valencia" AND u_17_caps = 20 |
Write a SQL query that answers the following question: What is High Assists, when High Points is "T. J. Ford (29)"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (high_assists VARCHAR, high_points VARCHAR) | SELECT high_assists FROM table_name_76 WHERE high_points = "t. j. ford (29)" |
Write a SQL query that answers the following question: What is High Assists, when Date is "March 10"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (high_assists VARCHAR, date VARCHAR) | SELECT high_assists FROM table_name_93 WHERE date = "march 10" |
Write a SQL query that answers the following question: What is Record, when Team is "@ Atlanta"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (record VARCHAR, team VARCHAR) | SELECT record FROM table_name_78 WHERE team = "@ atlanta" |
Write a SQL query that answers the following question: What is Team, when Location Attendance is "Rose Garden 20,020"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (team VARCHAR, location_attendance VARCHAR) | SELECT team FROM table_name_69 WHERE location_attendance = "rose garden 20,020" |
Write a SQL query that answers the following question: What is Date, when High Points is "Danny Granger (32)"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (date VARCHAR, high_points VARCHAR) | SELECT date FROM table_name_56 WHERE high_points = "danny granger (32)" |
Write a SQL query that answers the following question: What is the place when the player is Bob Gilder and the money was $20,903? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (place VARCHAR, money___$__ VARCHAR, player VARCHAR) | SELECT place FROM table_name_88 WHERE money___$__ = "20,903" AND player = "bob gilder" |
Write a SQL query that answers the following question: What is the Place when Fuzzy Zoeller plated in the United States? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (place VARCHAR, country VARCHAR, player VARCHAR) | SELECT place FROM table_name_78 WHERE country = "united states" AND player = "fuzzy zoeller" |
Write a SQL query that answers the following question: What is the To par when the score was 72-67-68-71=278? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (to_par VARCHAR, score VARCHAR) | SELECT to_par FROM table_name_20 WHERE score = 72 - 67 - 68 - 71 = 278 |
Write a SQL query that answers the following question: What is the Place when Steve Pate was the player? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (place VARCHAR, player VARCHAR) | SELECT place FROM table_name_52 WHERE player = "steve pate" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.