answer
stringlengths 32
484
| context
stringlengths 27
489
| question
stringlengths 12
244
|
---|---|---|
SELECT margin_of_victory FROM table_name_78 WHERE winning_score = −10(71 - 65 - 68 - 70 = 274) | CREATE TABLE table_name_78 (margin_of_victory VARCHAR, winning_score VARCHAR) | What is the margin of victory for the winning score of −10 (71-65-68-70=274)? |
SELECT runner_s__up FROM table_name_65 WHERE winning_score = −3(71 - 74 - 66 - 66 = 277) | CREATE TABLE table_name_65 (runner_s__up VARCHAR, winning_score VARCHAR) | Who is the runner(s)-up for a winning score of −3 (71-74-66-66=277)? |
SELECT venue FROM table_name_58 WHERE extra < 7.4 AND result = "4th" | CREATE TABLE table_name_58 (venue VARCHAR, extra VARCHAR, result VARCHAR) | What venue had less than 7.4 extra and the result of 4th? |
SELECT MAX(extra) FROM table_name_51 WHERE meeting = "all africa games" AND year < 2003 | CREATE TABLE table_name_51 (extra INTEGER, meeting VARCHAR, year VARCHAR) | What is the highest extra total before 2003 at the Meeting of all africa games? |
SELECT year FROM table_name_12 WHERE extra = 8 AND result = "3rd" | CREATE TABLE table_name_12 (year VARCHAR, extra VARCHAR, result VARCHAR) | What year has an extra of 8, and a result of 3rd? |
SELECT year FROM table_name_52 WHERE venue = "algiers, algeria" AND extra < 8.03 AND meeting = "all africa games" | CREATE TABLE table_name_52 (year VARCHAR, meeting VARCHAR, venue VARCHAR, extra VARCHAR) | What year has a venue of algiers, algeria, extra smaller than 8.03, and a Meeting of all africa games? |
SELECT date FROM table_name_98 WHERE set_3 = "15–6" | CREATE TABLE table_name_98 (date VARCHAR, set_3 VARCHAR) | What is the Date with a Set 3 with 15–6? |
SELECT set_3 FROM table_name_7 WHERE score = "3–1" AND set_2 = "13–15" | CREATE TABLE table_name_7 (set_3 VARCHAR, score VARCHAR, set_2 VARCHAR) | What is the Set 3 with a Score of 3–1, and has a Set 2 of 13–15? |
SELECT set_1 FROM table_name_92 WHERE score = "3–0" AND set_3 = "15–12" | CREATE TABLE table_name_92 (set_1 VARCHAR, score VARCHAR, set_3 VARCHAR) | What is the Set 1 with a Score of 3–0, and has a Set 3 of 15–12? |
SELECT set_1 FROM table_name_4 WHERE score = "3–0" AND set_3 = "15–10" | CREATE TABLE table_name_4 (set_1 VARCHAR, score VARCHAR, set_3 VARCHAR) | What is the Set 1 with a Score of 3–0, and has a Set 3 of 15–10? |
SELECT set_2 FROM table_name_42 WHERE total = "45–12" | CREATE TABLE table_name_42 (set_2 VARCHAR, total VARCHAR) | What is the Set 2 with a Total with 45–12? |
SELECT total FROM table_name_78 WHERE score = "3–0" AND date = "14 oct" AND set_1 = "15–12" | CREATE TABLE table_name_78 (total VARCHAR, set_1 VARCHAR, score VARCHAR, date VARCHAR) | What is the Total with a Score of 3–0, and a Date of 14 oct, and has a Set 1 of 15–12? |
SELECT date FROM table_name_46 WHERE home_team = "footscray" | CREATE TABLE table_name_46 (date VARCHAR, home_team VARCHAR) | What was the date of the footscray home game? |
SELECT time FROM table_name_90 WHERE opponent = "martin kampmann" | CREATE TABLE table_name_90 (time VARCHAR, opponent VARCHAR) | Tell me the time for martin kampmann |
SELECT SUM(round) FROM table_name_41 WHERE record = "6-3" | CREATE TABLE table_name_41 (round INTEGER, record VARCHAR) | Tell me the sum of round for record of 6-3 |
SELECT location FROM table_name_52 WHERE res = "win" AND record = "8-5" | CREATE TABLE table_name_52 (location VARCHAR, res VARCHAR, record VARCHAR) | Tell me the location for win with record of 8-5 |
SELECT MIN(crowd) FROM table_name_71 WHERE away_team = "north melbourne" | CREATE TABLE table_name_71 (crowd INTEGER, away_team VARCHAR) | In which of North Melbourne's away games was there the lowest crowd? |
SELECT build_date FROM table_name_56 WHERE prr_class = "brs24" | CREATE TABLE table_name_56 (build_date VARCHAR, prr_class VARCHAR) | What is the build date of the model with PRR Class brs24? |
SELECT SUM(total_produced) FROM table_name_13 WHERE wheel_arrangement = "b-b" AND prr_class = "bs6" AND builder’s_model = "ds-4-4-660" | CREATE TABLE table_name_13 (total_produced INTEGER, builder’s_model VARCHAR, wheel_arrangement VARCHAR, prr_class VARCHAR) | How many total units were built of Model ds-4-4-660 with a b-b wheel arrangement and a PRR Class of bs6? |
SELECT build_date FROM table_name_61 WHERE prr_class = "brs24" | CREATE TABLE table_name_61 (build_date VARCHAR, prr_class VARCHAR) | What is the build date of the model with a PRR Class of brs24? |
SELECT COUNT(roll) FROM table_name_12 WHERE name = "te hapua school" | CREATE TABLE table_name_12 (roll VARCHAR, name VARCHAR) | What is the total number of roll for Te Hapua school? |
SELECT place_of_action FROM table_name_45 WHERE service = "marine corps" AND rank = "corporal" | CREATE TABLE table_name_45 (place_of_action VARCHAR, service VARCHAR, rank VARCHAR) | Name the place of action for the marine corps and corporal rank |
SELECT COUNT(grid) FROM table_name_51 WHERE laps > 60 AND driver = "heinz-harald frentzen" | CREATE TABLE table_name_51 (grid VARCHAR, laps VARCHAR, driver VARCHAR) | When driver heinz-harald frentzen has a number of laps greater than 60, what is the sum of grid? |
SELECT SUM(population) FROM table_name_44 WHERE name = "saint-wenceslas" AND region < 17 | CREATE TABLE table_name_44 (population INTEGER, name VARCHAR, region VARCHAR) | What is the population total for saint-wenceslas with a region number of under 17? |
SELECT MIN(code) FROM table_name_98 WHERE type = "m" AND name = "saint-sylvère" AND region < 17 | CREATE TABLE table_name_98 (code INTEGER, region VARCHAR, type VARCHAR, name VARCHAR) | What is the smallest code associated with a type of m for a region less than 17 named, named saint-sylvère? |
SELECT competition FROM table_name_19 WHERE venue = "daugava stadium, riga, latvia" | CREATE TABLE table_name_19 (competition VARCHAR, venue VARCHAR) | What competition was at the Daugava Stadium, Riga, Latvia? |
SELECT COUNT(goal) FROM table_name_81 WHERE date = "15 november 1989" | CREATE TABLE table_name_81 (goal VARCHAR, date VARCHAR) | How many total goals were made at the game on 15 November 1989? |
SELECT captain FROM table_name_86 WHERE team = "leeds united" | CREATE TABLE table_name_86 (captain VARCHAR, team VARCHAR) | What is the captain's name of team Leeds United? |
SELECT shirt_sponsor FROM table_name_10 WHERE captain = "geoff thomas" | CREATE TABLE table_name_10 (shirt_sponsor VARCHAR, captain VARCHAR) | Who is the shirt sponsor for Captain Geoff Thomas' team? |
SELECT team FROM table_name_99 WHERE shirt_sponsor = "tulip computers nv" | CREATE TABLE table_name_99 (team VARCHAR, shirt_sponsor VARCHAR) | What is the name of the team that Tulip Computers NV sponsors? |
SELECT captain FROM table_name_49 WHERE team = "norwich city" | CREATE TABLE table_name_49 (captain VARCHAR, team VARCHAR) | What is the name of the captain for team Norwich City? |
SELECT team FROM table_name_32 WHERE manager = "graeme souness" | CREATE TABLE table_name_32 (team VARCHAR, manager VARCHAR) | What team does Graeme Souness manage? |
SELECT MIN(laps) FROM table_name_45 WHERE grid < 5 AND driver = "juan manuel fangio" | CREATE TABLE table_name_45 (laps INTEGER, grid VARCHAR, driver VARCHAR) | what is the lowest laps when the grid is smaller than 5 and the driver is juan manuel fangio? |
SELECT COUNT(grid) FROM table_name_18 WHERE time_retired = "+9 laps" AND laps > 91 | CREATE TABLE table_name_18 (grid VARCHAR, time_retired VARCHAR, laps VARCHAR) | what is the grid when the time/retired is +9 laps and the laps is larger than 91? |
SELECT MIN(grid) FROM table_name_88 WHERE time_retired = "clutch" AND driver = "peter collins" AND laps < 26 | CREATE TABLE table_name_88 (grid INTEGER, laps VARCHAR, time_retired VARCHAR, driver VARCHAR) | what is the lowest grid when the time retired is clutch, the driver is peter collins and the laps is smaller than 26? |
SELECT zone FROM table_name_41 WHERE camp_type = "d/s" AND area = "bl9" | CREATE TABLE table_name_41 (zone VARCHAR, camp_type VARCHAR, area VARCHAR) | What zone has camp type D/S in area Bl9? |
SELECT name FROM table_name_51 WHERE group_s_ = 0 AND area = "bl4" | CREATE TABLE table_name_51 (name VARCHAR, group_s_ VARCHAR, area VARCHAR) | Which name has group 0 in Bl4 area? |
SELECT zone FROM table_name_80 WHERE max_people > 23 AND group_s_ < 2 AND name = "robbers roost" | CREATE TABLE table_name_80 (zone VARCHAR, name VARCHAR, max_people VARCHAR, group_s_ VARCHAR) | Which zone has max capacity of 23 in a group under 2 at Robbers Roost? |
SELECT AVG(crowd) FROM table_name_43 WHERE away_team = "melbourne" | CREATE TABLE table_name_43 (crowd INTEGER, away_team VARCHAR) | I want to know the average crowd for away team of melbourne |
SELECT driver FROM table_name_39 WHERE time_retired = "off course" | CREATE TABLE table_name_39 (driver VARCHAR, time_retired VARCHAR) | Which driver had a time off course? |
SELECT MAX(laps) FROM table_name_9 WHERE grid = "2" AND points > 26 | CREATE TABLE table_name_9 (laps INTEGER, grid VARCHAR, points VARCHAR) | What is the top lap that had 2 grids and more than 26 points? |
SELECT MAX(laps) FROM table_name_38 WHERE grid = "6" AND points > 19 | CREATE TABLE table_name_38 (laps INTEGER, grid VARCHAR, points VARCHAR) | What is the top lap that had 6 grids and more than 19 points? |
SELECT AVG(points) FROM table_name_30 WHERE driver = "tristan gommendy" | CREATE TABLE table_name_30 (points INTEGER, driver VARCHAR) | What is the average point count for tristan gommendy? |
SELECT MIN(points) FROM table_name_88 WHERE grid = "2" | CREATE TABLE table_name_88 (points INTEGER, grid VARCHAR) | What is the point low with 2 grids? |
SELECT dismissals FROM table_name_43 WHERE venue = "source: cricinfo.com" | CREATE TABLE table_name_43 (dismissals VARCHAR, venue VARCHAR) | What is the Dismissals with a Venue with source: cricinfo.com? |
SELECT versus FROM table_name_37 WHERE player = "ko otieno" AND venue = "bloemfontein" | CREATE TABLE table_name_37 (versus VARCHAR, player VARCHAR, venue VARCHAR) | What is the Versus with a Player with ko otieno, with Venue with bloemfontein? |
SELECT venue FROM table_name_22 WHERE date = "27-02-2003" | CREATE TABLE table_name_22 (venue VARCHAR, date VARCHAR) | What is the Venue with a Date with 27-02-2003? |
SELECT player FROM table_name_34 WHERE versus = "australia" | CREATE TABLE table_name_34 (player VARCHAR, versus VARCHAR) | What is the Player with Versus with australia? |
SELECT player FROM table_name_31 WHERE date = "12-03-2003" | CREATE TABLE table_name_31 (player VARCHAR, date VARCHAR) | What is the Player with a Date with 12-03-2003? |
SELECT dismissals FROM table_name_67 WHERE player = "source: cricinfo.com" | CREATE TABLE table_name_67 (dismissals VARCHAR, player VARCHAR) | What is the Dismissals with a Player with source: cricinfo.com? |
SELECT COUNT(attendance) FROM table_name_76 WHERE visitor = "charlotte" AND leading_scorer = "ricky davis (23)" | CREATE TABLE table_name_76 (attendance VARCHAR, visitor VARCHAR, leading_scorer VARCHAR) | What is the sum number of attendance when the visiting team was Charlotte and the leading scorer was Ricky Davis (23)? |
SELECT visitor FROM table_name_80 WHERE home = "miami" AND date = "november 4" | CREATE TABLE table_name_80 (visitor VARCHAR, home VARCHAR, date VARCHAR) | Which Visitor was there when the Home game was played in Miami on November 4? |
SELECT nationality FROM table_name_1 WHERE player = "demetris nichols" | CREATE TABLE table_name_1 (nationality VARCHAR, player VARCHAR) | What nationality is Demetris Nichols? |
SELECT school_club_team FROM table_name_50 WHERE round = 2 AND pick < 42 | CREATE TABLE table_name_50 (school_club_team VARCHAR, round VARCHAR, pick VARCHAR) | What school or team has round of 2 with less than 42 picks? |
SELECT position FROM table_name_86 WHERE round < 2 | CREATE TABLE table_name_86 (position VARCHAR, round INTEGER) | What position has round less than 2? |
SELECT venue FROM table_name_92 WHERE home_team = "essendon" | CREATE TABLE table_name_92 (venue VARCHAR, home_team VARCHAR) | In what venue is Essendon the home team? |
SELECT away_team FROM table_name_59 WHERE venue = "windy hill" | CREATE TABLE table_name_59 (away_team VARCHAR, venue VARCHAR) | Who was the away team when the venue was Windy Hill? |
SELECT away_team AS score FROM table_name_56 WHERE away_team = "hawthorn" | CREATE TABLE table_name_56 (away_team VARCHAR) | What was the score for Hawthorn when they were the away team? |
SELECT method FROM table_name_56 WHERE res = "win" AND opponent = "natsuko kikukawa" | CREATE TABLE table_name_56 (method VARCHAR, res VARCHAR, opponent VARCHAR) | What method was used that had a resulting win against opponent, Natsuko Kikukawa? |
SELECT MAX(round) FROM table_name_85 WHERE opponent = "hikaru shinohara" AND record = "11-7" | CREATE TABLE table_name_85 (round INTEGER, opponent VARCHAR, record VARCHAR) | What was the highest number of rounds that had Hikaru Shinohara as an opponent and a record of 11-7? |
SELECT method FROM table_name_70 WHERE record = "11-10" | CREATE TABLE table_name_70 (method VARCHAR, record VARCHAR) | Which method has a record of 11-10? |
SELECT win__number FROM table_name_67 WHERE season = "2004-05" | CREATE TABLE table_name_67 (win__number VARCHAR, season VARCHAR) | How many wins were there in 2004-05? |
SELECT COUNT(win__number) FROM table_name_2 WHERE winner = "jim vivona" | CREATE TABLE table_name_2 (win__number VARCHAR, winner VARCHAR) | How many times did jim vivona win? |
SELECT position FROM table_name_1 WHERE team = "morristown minutemen" | CREATE TABLE table_name_1 (position VARCHAR, team VARCHAR) | Which position was morristown minutemen in? |
SELECT season FROM table_name_75 WHERE team = "harrisburg lunatics" | CREATE TABLE table_name_75 (season VARCHAR, team VARCHAR) | Which season was harrisburg lunatics in? |
SELECT venue FROM table_name_8 WHERE round = "f" | CREATE TABLE table_name_8 (venue VARCHAR, round VARCHAR) | What was the venue for Round f? |
SELECT date FROM table_name_33 WHERE result = "1-0" | CREATE TABLE table_name_33 (date VARCHAR, result VARCHAR) | On what date was the Result 1-0? |
SELECT AVG(attendance) FROM table_name_31 WHERE date = "10 november 2004" | CREATE TABLE table_name_31 (attendance INTEGER, date VARCHAR) | What was the attendance on 10 november 2004? |
SELECT COUNT(crowd) FROM table_name_29 WHERE home_team = "fitzroy" | CREATE TABLE table_name_29 (crowd VARCHAR, home_team VARCHAR) | What is the size of the crowd when the home team is Fitzroy? |
SELECT COUNT(laps) FROM table_name_96 WHERE time_retired = "+ 1 lap" AND driver = "riccardo patrese" | CREATE TABLE table_name_96 (laps VARCHAR, time_retired VARCHAR, driver VARCHAR) | How many laps did riccardo patrese do when he had a time/retird of + 1 lap? |
SELECT episode FROM table_name_16 WHERE year = 2004 AND nominee_s_ = "jenny bicks and cindy chupack" | CREATE TABLE table_name_16 (episode VARCHAR, year VARCHAR, nominee_s_ VARCHAR) | Name the episode for jenny bicks and cindy chupack nominees in 2004 |
SELECT episode FROM table_name_30 WHERE year > 1999 | CREATE TABLE table_name_30 (episode VARCHAR, year INTEGER) | Name the episode for year more than 1999 |
SELECT home_team AS score FROM table_name_13 WHERE venue = "junction oval" | CREATE TABLE table_name_13 (home_team VARCHAR, venue VARCHAR) | What was the home team's score at the game held at Junction Oval? |
SELECT away_team AS score FROM table_name_44 WHERE venue = "mcg" | CREATE TABLE table_name_44 (away_team VARCHAR, venue VARCHAR) | What was the away team's score at the game held at MCG? |
SELECT away_team FROM table_name_53 WHERE venue = "arden street oval" | CREATE TABLE table_name_53 (away_team VARCHAR, venue VARCHAR) | Who was the away team at the game held at Arden Street Oval? |
SELECT crowd FROM table_name_94 WHERE home_team = "fitzroy" | CREATE TABLE table_name_94 (crowd VARCHAR, home_team VARCHAR) | What was the size of the crowd at the game where Fitzroy was the home team? |
SELECT MAX(bronze) FROM table_name_17 WHERE silver > 6 AND total < 127 AND gold < 11 | CREATE TABLE table_name_17 (bronze INTEGER, gold VARCHAR, silver VARCHAR, total VARCHAR) | Name the most bronze for silver more than 6 and total less than 127 with gold less than 11 |
SELECT MAX(silver) FROM table_name_18 WHERE sport = "table tennis" AND bronze > 0 | CREATE TABLE table_name_18 (silver INTEGER, sport VARCHAR, bronze VARCHAR) | Name the highest silver for table tennis and bronze more than 0 |
SELECT kickoff_[a_] FROM table_name_9 WHERE attendance = "58,120" | CREATE TABLE table_name_9 (kickoff_ VARCHAR, a_ VARCHAR, attendance VARCHAR) | Which kickoff had an attendance of 58,120? |
SELECT week FROM table_name_14 WHERE date = "november 19, 1989" | CREATE TABLE table_name_14 (week VARCHAR, date VARCHAR) | What week number did November 19, 1989 games fall on? |
SELECT game_site FROM table_name_58 WHERE record = "2-2" | CREATE TABLE table_name_58 (game_site VARCHAR, record VARCHAR) | Which game site(s) had record of 2-2? |
SELECT opponent FROM table_name_53 WHERE kickoff_[a_] = "1:00" AND record = "3-7" | CREATE TABLE table_name_53 (opponent VARCHAR, record VARCHAR, kickoff_ VARCHAR, a_ VARCHAR) | Which game had a kickoff at 1:00 and a record of 3-7? |
SELECT date FROM table_name_12 WHERE attendance = "56,271" | CREATE TABLE table_name_12 (date VARCHAR, attendance VARCHAR) | Which game had an attendance of 56,271? |
SELECT driver FROM table_name_22 WHERE engine = "ford cosworth dfv 3.0 v8" AND chassis = "ts19 ts20" | CREATE TABLE table_name_22 (driver VARCHAR, engine VARCHAR, chassis VARCHAR) | Tell me the driver for ford cosworth dfv 3.0 v8 and chassis of ts19 ts20 |
SELECT constructor FROM table_name_3 WHERE driver = "alberto colombo" AND chassis = "a1" | CREATE TABLE table_name_3 (constructor VARCHAR, driver VARCHAR, chassis VARCHAR) | Tell me the constructor for alberto colombo and chassis of a1 |
SELECT constructor FROM table_name_24 WHERE driver = "clay regazzoni" | CREATE TABLE table_name_24 (constructor VARCHAR, driver VARCHAR) | Tell me the constructor for clay regazzoni |
SELECT chassis FROM table_name_29 WHERE entrant = "team tissot ensign" AND driver = "brett lunger" | CREATE TABLE table_name_29 (chassis VARCHAR, entrant VARCHAR, driver VARCHAR) | Tell me the chassis for team tissot ensign and driver of brett lunger |
SELECT tyres FROM table_name_46 WHERE driver = "hans binder" | CREATE TABLE table_name_46 (tyres VARCHAR, driver VARCHAR) | I want the tyres for hans binder |
SELECT constructor FROM table_name_54 WHERE rounds = "1-2" AND driver = "divina galica" | CREATE TABLE table_name_54 (constructor VARCHAR, rounds VARCHAR, driver VARCHAR) | I want the constructor for divina galica rounds of 1-2 |
SELECT opponent FROM table_name_16 WHERE date = "june 3" | CREATE TABLE table_name_16 (opponent VARCHAR, date VARCHAR) | What team did the Red Sox play against on June 3? |
SELECT record FROM table_name_22 WHERE attendance = "21,191" | CREATE TABLE table_name_22 (record VARCHAR, attendance VARCHAR) | What was the Record at the game that had an attendance of 21,191? |
SELECT score FROM table_name_74 WHERE date = "june 17" | CREATE TABLE table_name_74 (score VARCHAR, date VARCHAR) | What was the final score of the game on June 17? |
SELECT 1 AS st_ship_delivery_date FROM table_name_87 WHERE total_number_of_ways = "6 ways" | CREATE TABLE table_name_87 (total_number_of_ways VARCHAR) | What is the 1st ship delivery date of 6 ways? |
SELECT final FROM table_name_44 WHERE athlete = "mohammad reza samadi" | CREATE TABLE table_name_44 (final VARCHAR, athlete VARCHAR) | What was the final round result of Mohammad Reza Samadi? |
SELECT home_team AS score FROM table_name_53 WHERE home_team = "footscray" | CREATE TABLE table_name_53 (home_team VARCHAR) | When the Home team of footscray is playing, what's the Home team score? |
SELECT song_title FROM table_name_78 WHERE chart_peak = "#1" AND track = 20 | CREATE TABLE table_name_78 (song_title VARCHAR, chart_peak VARCHAR, track VARCHAR) | What was the title of the song that peaked the charts at #1 with track 20? |
SELECT time FROM table_name_29 WHERE song_title = "treat me nice" | CREATE TABLE table_name_29 (time VARCHAR, song_title VARCHAR) | What is the time from the song called Treat Me Nice? |
SELECT copyright_information FROM table_name_7 WHERE publisher = "random house" | CREATE TABLE table_name_7 (copyright_information VARCHAR, publisher VARCHAR) | What was Random House's copyright information? |
SELECT release_date FROM table_name_19 WHERE isbn = 0 AND year = 1992 | CREATE TABLE table_name_19 (release_date VARCHAR, isbn VARCHAR, year VARCHAR) | What was release date in 1992 with the ISBN #0? |
SELECT club_team FROM table_name_70 WHERE overall = 216 | CREATE TABLE table_name_70 (club_team VARCHAR, overall VARCHAR) | What club team has 216 overall? |
Subsets and Splits