answer
stringlengths 32
484
| context
stringlengths 27
489
| question
stringlengths 12
244
|
---|---|---|
SELECT decision FROM table_name_96 WHERE visitor = "new jersey" | CREATE TABLE table_name_96 (decision VARCHAR, visitor VARCHAR) | What is the decision when new jersey was away? |
SELECT scale FROM table_name_90 WHERE name = "ura index" | CREATE TABLE table_name_90 (scale VARCHAR, name VARCHAR) | What is URA Index scale? |
SELECT scale FROM table_name_8 WHERE word__number < 4 AND name = "sv_health" | CREATE TABLE table_name_8 (scale VARCHAR, word__number VARCHAR, name VARCHAR) | What is the scale of sv_health with a word number smaller than 4? |
SELECT team FROM table_name_55 WHERE sport = "tennis" AND nation_of_citizenship = "united states" | CREATE TABLE table_name_55 (team VARCHAR, sport VARCHAR, nation_of_citizenship VARCHAR) | Which tennis team is from the United States? |
SELECT nation_of_citizenship FROM table_name_12 WHERE year_of_award > 2011 | CREATE TABLE table_name_12 (nation_of_citizenship VARCHAR, year_of_award INTEGER) | What is the nation of citizenship for athletes later than 2011 year of award? |
SELECT constructor FROM table_name_62 WHERE grid < 5 AND driver = "michael schumacher" | CREATE TABLE table_name_62 (constructor VARCHAR, grid VARCHAR, driver VARCHAR) | What Constructor did Michael Schumacher have with a Grid smaller than 5? |
SELECT driver FROM table_name_66 WHERE time_retired = "+1 lap" | CREATE TABLE table_name_66 (driver VARCHAR, time_retired VARCHAR) | Which driver has a Time/Retired of +1 lap? |
SELECT apparatus FROM table_name_38 WHERE score_final > 17.75 | CREATE TABLE table_name_38 (apparatus VARCHAR, score_final INTEGER) | Which apparatus had a final score that was more than 17.75? |
SELECT competition_description FROM table_name_46 WHERE apparatus = "ribbon" | CREATE TABLE table_name_46 (competition_description VARCHAR, apparatus VARCHAR) | Which competition description's apparatus was ribbon? |
SELECT score_qualifying FROM table_name_94 WHERE apparatus = "hoop" | CREATE TABLE table_name_94 (score_qualifying VARCHAR, apparatus VARCHAR) | Which Qualifying score had hoop as an apparatus? |
SELECT COUNT(score_qualifying) FROM table_name_7 WHERE score_final = 16.625 | CREATE TABLE table_name_7 (score_qualifying VARCHAR, score_final VARCHAR) | What is the sum of qualifying scores when the final score is 16.625? |
SELECT date FROM table_name_20 WHERE venue = "princes park" | CREATE TABLE table_name_20 (date VARCHAR, venue VARCHAR) | When was the game played at Princes Park? |
SELECT home_team AS score FROM table_name_88 WHERE home_team = "melbourne" | CREATE TABLE table_name_88 (home_team VARCHAR) | What did Melbourne score as the home team? |
SELECT position FROM table_name_40 WHERE high_school = "malvern prep" | CREATE TABLE table_name_40 (position VARCHAR, high_school VARCHAR) | What position does the player from malvern prep play? |
SELECT team FROM table_name_44 WHERE points > 572 AND games > 29 | CREATE TABLE table_name_44 (team VARCHAR, points VARCHAR, games VARCHAR) | What team scored more than 572 points and had more than 29 games? |
SELECT MIN(games) FROM table_name_88 WHERE rank > 1 AND name = "luis scola" | CREATE TABLE table_name_88 (games INTEGER, rank VARCHAR, name VARCHAR) | What is the least amount of games for Luis scola with a rank greater than 1? |
SELECT identity FROM table_name_48 WHERE builder = "brighton works" | CREATE TABLE table_name_48 (identity VARCHAR, builder VARCHAR) | What is the identity of the brighton works built train? |
SELECT attendance FROM table_name_76 WHERE date = "may 13" | CREATE TABLE table_name_76 (attendance VARCHAR, date VARCHAR) | What was the attendance on May 13? |
SELECT MAX(quantity) FROM table_name_84 WHERE ptrd_nos = "3, 15" | CREATE TABLE table_name_84 (quantity INTEGER, ptrd_nos VARCHAR) | What is the highest Quantity for PTRD Nos. 3, 15? |
SELECT COUNT(hosted) FROM table_name_85 WHERE average = 27 OFFSET 638 | CREATE TABLE table_name_85 (hosted VARCHAR, average VARCHAR) | How many were hosted whene the average attendance was 27,638? |
SELECT MIN(last_year) FROM table_name_87 WHERE hosted > 176 | CREATE TABLE table_name_87 (last_year INTEGER, hosted INTEGER) | What is the lowest attendance last year when more than 176 were hosted? |
SELECT COUNT(1990) FROM table_name_49 WHERE 1970 < 10 OFFSET 522 | CREATE TABLE table_name_49 (Id VARCHAR) | How many 1990 growth numbers had less than 10,522 in 1970? |
SELECT MIN(1980) FROM table_name_61 WHERE 1970 = 2 OFFSET 610 | CREATE TABLE table_name_61 (Id VARCHAR) | Which is the lowest 1980 growth that had 2,610 in 1970? |
SELECT MAX(laps) FROM table_name_3 WHERE grid < 4 AND time_retired = "+ 1 lap" | CREATE TABLE table_name_3 (laps INTEGER, grid VARCHAR, time_retired VARCHAR) | What is the high lap total that has a grid of less than 4 and a Time/Retired of + 1 lap? |
SELECT COUNT(laps) FROM table_name_62 WHERE time_retired = "+ 1:25.475" | CREATE TABLE table_name_62 (laps VARCHAR, time_retired VARCHAR) | How many laps associated with a Time/Retired of + 1:25.475? |
SELECT home_team AS score FROM table_name_76 WHERE venue = "princes park" | CREATE TABLE table_name_76 (home_team VARCHAR, venue VARCHAR) | What was the home teams score when the VFL played Princes Park? |
SELECT away_team AS score FROM table_name_99 WHERE home_team = "geelong" | CREATE TABLE table_name_99 (away_team VARCHAR, home_team VARCHAR) | What was the opponents score when Geelong played as home team? |
SELECT home_team AS score FROM table_name_80 WHERE venue = "kardinia park" | CREATE TABLE table_name_80 (home_team VARCHAR, venue VARCHAR) | What was the home teams score when the VFL played at Kardinia Park? |
SELECT date FROM table_name_70 WHERE away_team = "fitzroy" | CREATE TABLE table_name_70 (date VARCHAR, away_team VARCHAR) | When did Fitzroy play as the away team? |
SELECT AVG(goals) FROM table_name_13 WHERE apps = 234 AND rank < 8 | CREATE TABLE table_name_13 (goals INTEGER, apps VARCHAR, rank VARCHAR) | What is the average number of goals of the player with 234 apps and a rank above 8? |
SELECT AVG(avg_game) FROM table_name_51 WHERE goals = 97 AND rank < 7 | CREATE TABLE table_name_51 (avg_game INTEGER, goals VARCHAR, rank VARCHAR) | What is the average avg/game of the player with 97 goals and a rank above 7? |
SELECT MAX(won__pg_) FROM table_name_85 WHERE goals_conceded__gc_ < 21 AND played__pj_ < 18 | CREATE TABLE table_name_85 (won__pg_ INTEGER, goals_conceded__gc_ VARCHAR, played__pj_ VARCHAR) | What is the highest number of games won where less than 21 games were conceded and less than 18 games were actually played? |
SELECT AVG(goals_conceded__gc_) FROM table_name_80 WHERE goals_scored__gf_ > 19 AND points__pts_ = 31 AND draw__pe_ > 7 | CREATE TABLE table_name_80 (goals_conceded__gc_ INTEGER, draw__pe_ VARCHAR, goals_scored__gf_ VARCHAR, points__pts_ VARCHAR) | What is the average number of goals conceded where more than 19 goals were scored, the team had 31 points, and more than 7 draws? |
SELECT goals_conceded__gc_ FROM table_name_32 WHERE lost__pp_ = 7 AND team__equipo_ = "chepo f.c." | CREATE TABLE table_name_32 (goals_conceded__gc_ VARCHAR, lost__pp_ VARCHAR, team__equipo_ VARCHAR) | How many goals were conceded against the Chepo F.C. team where they lost 7 games? |
SELECT MIN(crowd) FROM table_name_61 WHERE venue = "junction oval" | CREATE TABLE table_name_61 (crowd INTEGER, venue VARCHAR) | What was the smallest crowd at junction oval? |
SELECT state FROM table_name_49 WHERE member = "richard foster" | CREATE TABLE table_name_49 (state VARCHAR, member VARCHAR) | What state has Richard Foster as a member? |
SELECT member FROM table_name_16 WHERE electorate = "cook" | CREATE TABLE table_name_16 (member VARCHAR, electorate VARCHAR) | Which member has Cook as the electorate? |
SELECT driver FROM table_name_72 WHERE chassis = "625 553 500" | CREATE TABLE table_name_72 (driver VARCHAR, chassis VARCHAR) | Who was the driver with chassis 625 553 500? |
SELECT tyre FROM table_name_77 WHERE constructor = "cooper - bristol" AND driver = "bob gerard" | CREATE TABLE table_name_77 (tyre VARCHAR, constructor VARCHAR, driver VARCHAR) | What was tyre that was made by cooper - bristol that was driven by bob gerard? |
SELECT constructor FROM table_name_77 WHERE entrant = "officine alfieri maserati" AND driver = "sergio mantovani" | CREATE TABLE table_name_77 (constructor VARCHAR, entrant VARCHAR, driver VARCHAR) | Who was the constructor of the officine alfieri maserati that was driven by Sergio Mantovani? |
SELECT tyre FROM table_name_91 WHERE driver = "sergio mantovani" | CREATE TABLE table_name_91 (tyre VARCHAR, driver VARCHAR) | What tyre had Sergio Mantovani as a driver? |
SELECT entrant FROM table_name_86 WHERE constructor = "maserati" AND tyre = "p" AND chassis = "250f a6gcm" AND driver = "luigi villoresi" | CREATE TABLE table_name_86 (entrant VARCHAR, driver VARCHAR, chassis VARCHAR, constructor VARCHAR, tyre VARCHAR) | Can you say what was the entrant of maserati built item with a Tyre of p with a chassis of 250f a6gcm that was driven by Luigi Villoresi? |
SELECT dutch FROM table_name_18 WHERE english = "one" | CREATE TABLE table_name_18 (dutch VARCHAR, english VARCHAR) | What is the dutch word for one? |
SELECT middle_german___luxemburgish__ FROM table_name_20 WHERE DUTCH(Limburgish) = ein | CREATE TABLE table_name_20 (middle_german___luxemburgish__ VARCHAR, ein VARCHAR, Limburgish VARCHAR) | What is the Middle German (Luxemburgish) word for ein? |
SELECT middle_german___luxemburgish__ FROM table_name_58 WHERE english = "stone" | CREATE TABLE table_name_58 (middle_german___luxemburgish__ VARCHAR, english VARCHAR) | What is the Middle German (Luxemburgish) word for stone? |
SELECT dutch FROM table_name_68 WHERE LOW_GERMAN(Groningen) = høvd / høvur | CREATE TABLE table_name_68 (dutch VARCHAR, Groningen VARCHAR, høvd VARCHAR, høvur VARCHAR) | What is the Dutch waord for høvd / høvur? |
SELECT english FROM table_name_43 WHERE DUTCH(Limburgish) = twie | CREATE TABLE table_name_43 (english VARCHAR, twie VARCHAR, Limburgish VARCHAR) | What is the English word for twie? |
SELECT constructor FROM table_name_54 WHERE rounds = "8" AND chassis = "156 158 1512" | CREATE TABLE table_name_54 (constructor VARCHAR, rounds VARCHAR, chassis VARCHAR) | What is the constructor on the team with 8 rounds and a chassis of 156 158 1512? |
SELECT driver FROM table_name_92 WHERE tyre = "d" AND chassis = "bt11" AND rounds = "8" | CREATE TABLE table_name_92 (driver VARCHAR, rounds VARCHAR, tyre VARCHAR, chassis VARCHAR) | Who is the driver of the team with tyre d, bt11 chassis, and 8 rounds? |
SELECT AVG(bronze) FROM table_name_51 WHERE silver < 1 AND gold > 0 | CREATE TABLE table_name_51 (bronze INTEGER, silver VARCHAR, gold VARCHAR) | What is the number of bronze that silver is smaller than 1 and gold bigger than 0? |
SELECT name FROM table_name_55 WHERE nation = "france" AND pts_game > 3 AND points < 33 | CREATE TABLE table_name_55 (name VARCHAR, points VARCHAR, nation VARCHAR, pts_game VARCHAR) | what is the name when the nation is France, the pts/game is more than 3 and points is less than 33? |
SELECT pts_game FROM table_name_78 WHERE games = 5 AND name = "charlotte barras" | CREATE TABLE table_name_78 (pts_game VARCHAR, games VARCHAR, name VARCHAR) | what is the pts/game for Charlotte barras and the games is 5? |
SELECT AVG(points) FROM table_name_97 WHERE nation = "wales" AND pts_game > 5 | CREATE TABLE table_name_97 (points INTEGER, nation VARCHAR, pts_game VARCHAR) | what is the average points when the nation is wales and the pts/game is more than 5? |
SELECT MIN(year) FROM table_name_35 WHERE venue = "barcelona, spain" | CREATE TABLE table_name_35 (year INTEGER, venue VARCHAR) | When is the earliest year for it is in barcelona, spain? |
SELECT AVG(year) FROM table_name_57 WHERE position = "5th" AND venue = "santiago, chile" | CREATE TABLE table_name_57 (year INTEGER, position VARCHAR, venue VARCHAR) | What is the average year they finished 5th in santiago, chile? |
SELECT MIN(pick) FROM table_name_42 WHERE player = "michael holper" | CREATE TABLE table_name_42 (pick INTEGER, player VARCHAR) | Which pick was MIchael Holper? |
SELECT AVG(gold) FROM table_name_99 WHERE nation = "russia (rus)" AND silver < 2 | CREATE TABLE table_name_99 (gold INTEGER, nation VARCHAR, silver VARCHAR) | What is the average Gold where the Nation is Russia (rus) and the number of silver is less than 2? |
SELECT SUM(total) FROM table_name_45 WHERE nation = "south africa (rsa)" AND bronze < 1 | CREATE TABLE table_name_45 (total INTEGER, nation VARCHAR, bronze VARCHAR) | What is the total where the nation is South Africa (rsa) and bronze is less than 1? |
SELECT nation FROM table_name_10 WHERE gold = 0 AND rank > 14 AND total = 1 AND silver < 1 | CREATE TABLE table_name_10 (nation VARCHAR, silver VARCHAR, total VARCHAR, gold VARCHAR, rank VARCHAR) | Which nation has 0 gold, a rank greater than 14, a total of 1, and silver less than 1? |
SELECT home_team FROM table_name_21 WHERE venue = "vfl park" | CREATE TABLE table_name_21 (home_team VARCHAR, venue VARCHAR) | Tell me the home team for vfl park venue |
SELECT home_team FROM table_name_70 WHERE venue = "mcg" | CREATE TABLE table_name_70 (home_team VARCHAR, venue VARCHAR) | Tell me the home team for venue of mcg |
SELECT MAX(crowd) FROM table_name_39 WHERE venue = "arden street oval" | CREATE TABLE table_name_39 (crowd INTEGER, venue VARCHAR) | Tell me the most crowd for arden street oval venue |
SELECT away_team AS score FROM table_name_51 WHERE home_team = "south melbourne" | CREATE TABLE table_name_51 (away_team VARCHAR, home_team VARCHAR) | What was the away team's score when South Melbourne was the home team? |
SELECT COUNT(placings) FROM table_name_92 WHERE nation = "east germany" | CREATE TABLE table_name_92 (placings VARCHAR, nation VARCHAR) | What was the placing of the nation of East Germany? |
SELECT MAX(level) FROM table_name_96 WHERE team = "astana" AND season > 2007 | CREATE TABLE table_name_96 (level INTEGER, team VARCHAR, season VARCHAR) | What's the highest level of team Astana since 2007? |
SELECT away_team FROM table_name_52 WHERE venue = "western oval" | CREATE TABLE table_name_52 (away_team VARCHAR, venue VARCHAR) | Who was the away team at Western Oval? |
SELECT home_team FROM table_name_90 WHERE away_team = "collingwood" | CREATE TABLE table_name_90 (home_team VARCHAR, away_team VARCHAR) | Who was the home team that played against Collingwood? |
SELECT AVG(crowd) FROM table_name_2 WHERE home_team = "richmond" | CREATE TABLE table_name_2 (crowd INTEGER, home_team VARCHAR) | What is the average crowd size for Richmond home games? |
SELECT MAX(crowd) FROM table_name_48 WHERE home_team = "north melbourne" | CREATE TABLE table_name_48 (crowd INTEGER, home_team VARCHAR) | What is the largest crowd for North Melbourne home games? |
SELECT venue FROM table_name_62 WHERE home_team = "melbourne" | CREATE TABLE table_name_62 (venue VARCHAR, home_team VARCHAR) | In which venue does Melbourne play as the home team? |
SELECT grid FROM table_name_85 WHERE driver = "johnny dumfries" | CREATE TABLE table_name_85 (grid VARCHAR, driver VARCHAR) | Which Grid has a Driver of johnny dumfries? |
SELECT score FROM table_name_24 WHERE date = "22 september 1972" | CREATE TABLE table_name_24 (score VARCHAR, date VARCHAR) | What is the score on 22 September 1972? |
SELECT venue FROM table_name_57 WHERE date = "3 september 1972" | CREATE TABLE table_name_57 (venue VARCHAR, date VARCHAR) | What is the venue on 3 September 1972? |
SELECT series FROM table_name_2 WHERE date = "april 30" | CREATE TABLE table_name_2 (series VARCHAR, date VARCHAR) | Name the series for april 30 |
SELECT MAX(game) FROM table_name_35 WHERE high_assists = "west (8)" | CREATE TABLE table_name_35 (game INTEGER, high_assists VARCHAR) | Name the highest game for west (8) high assists |
SELECT MIN(year) FROM table_name_11 WHERE date = "14 february" | CREATE TABLE table_name_11 (year INTEGER, date VARCHAR) | Which Year has a Date of 14 February? |
SELECT label FROM table_name_48 WHERE date = "20 july" | CREATE TABLE table_name_48 (label VARCHAR, date VARCHAR) | Which Label has a Date of 20 July? |
SELECT label FROM table_name_56 WHERE date = "14 february" | CREATE TABLE table_name_56 (label VARCHAR, date VARCHAR) | Which Label has a Date of 14 February? |
SELECT choreographer_s_ FROM table_name_94 WHERE style = "smooth waltz" AND partner = "lacey schwimmer" | CREATE TABLE table_name_94 (choreographer_s_ VARCHAR, style VARCHAR, partner VARCHAR) | Who choreographed the smooth waltz with lacey schwimmer? |
SELECT partner FROM table_name_40 WHERE style = "jazz" AND results = "bottom three" | CREATE TABLE table_name_40 (partner VARCHAR, style VARCHAR, results VARCHAR) | Who was the partner for the jazz piece in the bottom three? |
SELECT home_team AS score FROM table_name_98 WHERE venue = "vfl park" | CREATE TABLE table_name_98 (home_team VARCHAR, venue VARCHAR) | For Venue vfl park, what was the home team score? |
SELECT date FROM table_name_37 WHERE venue = "vfl park" | CREATE TABLE table_name_37 (date VARCHAR, venue VARCHAR) | On which date was the venue of vfl park used? |
SELECT AVG(crowd) FROM table_name_17 WHERE away_team = "north melbourne" | CREATE TABLE table_name_17 (crowd INTEGER, away_team VARCHAR) | What was the Average crowd when the away team was north melbourne? |
SELECT max_torque_at_rpm FROM table_name_7 WHERE engine_code_s_ = "bjb/bkc/bxe/bls" | CREATE TABLE table_name_7 (max_torque_at_rpm VARCHAR, engine_code_s_ VARCHAR) | What is the maximum torque at rpm for the engine coded BJB/BKC/BXE/BLS? |
SELECT max_power_at_rpm FROM table_name_90 WHERE displacement = "1968cc" AND engine_name = "2.0 tdi" | CREATE TABLE table_name_90 (max_power_at_rpm VARCHAR, displacement VARCHAR, engine_name VARCHAR) | What is the maximum power at rpm for the engine named 2.0 TDI that has a 1968cc displacement? |
SELECT max_torque_at_rpm FROM table_name_90 WHERE engine_code_s_ = "bmm" | CREATE TABLE table_name_90 (max_torque_at_rpm VARCHAR, engine_code_s_ VARCHAR) | What is the maximum torque at rpm for the engine with code BMM? |
SELECT max_torque_at_rpm FROM table_name_31 WHERE engine_code_s_ = "bmm" | CREATE TABLE table_name_31 (max_torque_at_rpm VARCHAR, engine_code_s_ VARCHAR) | What is the maximum torque at rpm for the engine with code BMM? |
SELECT engine_name FROM table_name_42 WHERE max_torque_at_rpm = "n·m ( lbf·ft ) @ 3,800" | CREATE TABLE table_name_42 (engine_name VARCHAR, max_torque_at_rpm VARCHAR) | What is the engine name that has a maximum torque at rpm of n·m ( lbf·ft ) @ 3,800? |
SELECT result FROM table_name_37 WHERE work = "t.u.f.f. puppy" | CREATE TABLE table_name_37 (result VARCHAR, work VARCHAR) | What was the result of t.u.f.f. puppy? |
SELECT score FROM table_name_1 WHERE competition = "2010 world cup qualifying" | CREATE TABLE table_name_1 (score VARCHAR, competition VARCHAR) | what is the score for the 2010 world cup qualifying? |
SELECT home FROM table_name_16 WHERE date = "november 7" | CREATE TABLE table_name_16 (home VARCHAR, date VARCHAR) | Which home has a Date of november 7? |
SELECT MIN(attendance) FROM table_name_94 WHERE date = "november 18" | CREATE TABLE table_name_94 (attendance INTEGER, date VARCHAR) | What is the lowest attendance on November 18? |
SELECT date FROM table_name_28 WHERE decision = "dipietro" AND visitor = "carolina" | CREATE TABLE table_name_28 (date VARCHAR, decision VARCHAR, visitor VARCHAR) | What is the date of the game where Dipietro earned a decision and Carolina was the visiting team? |
SELECT visitor FROM table_name_50 WHERE decision = "dipietro" AND date = "october 27" | CREATE TABLE table_name_50 (visitor VARCHAR, decision VARCHAR, date VARCHAR) | Who is the visiting team when Dipietro received a decision on October 27? |
SELECT record FROM table_name_57 WHERE home = "washington" | CREATE TABLE table_name_57 (record VARCHAR, home VARCHAR) | What was the record when the home team is Washington? |
SELECT score FROM table_name_57 WHERE home = "ny islanders" AND date = "october 20" | CREATE TABLE table_name_57 (score VARCHAR, home VARCHAR, date VARCHAR) | What was the score of the game on October 20 when the home team is the NY Islanders? |
SELECT theme FROM table_name_73 WHERE mintage = 700 | CREATE TABLE table_name_73 (theme VARCHAR, mintage VARCHAR) | In the Endangered Wildlife Series from the Royal Canadian Mint numismatic coins printed in the 2000s, what theme had a mintage of 700? |
SELECT MAX(year) FROM table_name_10 WHERE issue_price = "$2,995.95" AND theme = "grizzly bear" | CREATE TABLE table_name_10 (year INTEGER, issue_price VARCHAR, theme VARCHAR) | What year had an issue price of $2,995.95, and a theme of grizzly bear? |
SELECT MIN(total) FROM table_name_26 WHERE silver > 0 AND nation = "italy" AND gold < 29 | CREATE TABLE table_name_26 (total INTEGER, gold VARCHAR, silver VARCHAR, nation VARCHAR) | Tell me the total for silver more than 0 for italy with gold less than 29 |
SELECT AVG(bronze) FROM table_name_96 WHERE total < 4 AND silver > 0 | CREATE TABLE table_name_96 (bronze INTEGER, total VARCHAR, silver VARCHAR) | Tell me the average bronze for total less than 4 and silver more than 0 |
Subsets and Splits