answer
stringlengths
18
557
question
stringlengths
12
244
context
stringlengths
27
484
SELECT graphics FROM table_name_43 WHERE vram = "512mb"
Which graphics spec has a VRAM spec of 512MB?
CREATE TABLE table_name_43 (graphics VARCHAR, vram VARCHAR)
SELECT MIN(place) FROM table_name_17 WHERE points > 2
What is the lowest Place, when Points are greater than 2?
CREATE TABLE table_name_17 (place INTEGER, points INTEGER)
SELECT captain FROM table_18461635_1 WHERE location = "Southampton"
Who is the captain of the team in Southampton?
CREATE TABLE table_18461635_1 (captain VARCHAR, location VARCHAR)
SELECT notes FROM table_name_76 WHERE theme = "patience"
What are the notes of the patience theme?
CREATE TABLE table_name_76 (notes VARCHAR, theme VARCHAR)
SELECT score FROM table_name_30 WHERE home = "chicago black hawks" AND visitor = "vancouver canucks" AND date = "november 17"
What is the Score of the Chicago Black Hawks Home game with the Visiting Vancouver Canucks on November 17?
CREATE TABLE table_name_30 (score VARCHAR, date VARCHAR, home VARCHAR, visitor VARCHAR)
SELECT mens_doubles FROM table_28138035_26 WHERE womens_singles = "Wu Yang"
Who won the mens doubles when wu yang won the womens singles?
CREATE TABLE table_28138035_26 (mens_doubles VARCHAR, womens_singles VARCHAR)
SELECT end__utc_ FROM table_22385461_8 WHERE duration = "6 hours, 55 minutes"
What is the end (UTC) if the duration is 6 hours, 55 minutes?
CREATE TABLE table_22385461_8 (end__utc_ VARCHAR, duration VARCHAR)
SELECT venue FROM table_name_26 WHERE home_team = "richmond"
What is the name of the venue when the home team is Richmond?
CREATE TABLE table_name_26 (venue VARCHAR, home_team VARCHAR)
SELECT last_title FROM table_name_91 WHERE titles > 12 AND position_in_2012 = "7th"
what is the last title when the titles is more than 12 and the position in 2012 is 7th
CREATE TABLE table_name_91 (last_title VARCHAR, titles VARCHAR, position_in_2012 VARCHAR)
SELECT opening FROM table_name_85 WHERE worldwide = "$559,852,396"
WHAT IS THE OPENING WITH A WORLDWIDE NUMBER OF $559,852,396?
CREATE TABLE table_name_85 (opening VARCHAR, worldwide VARCHAR)
SELECT SUM(lost) FROM table_name_87 WHERE goals_scored > 63 AND place < 3
What the lost in place less than 3 and having more than 63 goals scored?
CREATE TABLE table_name_87 (lost INTEGER, goals_scored VARCHAR, place VARCHAR)
SELECT MAX(goal_ratio) FROM table_name_73 WHERE goals < 0
What is the largest goal ratio with Goals smaller than 0?
CREATE TABLE table_name_73 (goal_ratio INTEGER, goals INTEGER)
SELECT cover FROM table_name_46 WHERE title = "throne of aquilonia"
What cover has Throne of Aquilonia as the title?
CREATE TABLE table_name_46 (cover VARCHAR, title VARCHAR)
SELECT tujunga FROM table_name_37 WHERE pasadena = "33%"
What is the percentage of Tujunja when Pasadena is 33%?
CREATE TABLE table_name_37 (tujunga VARCHAR, pasadena VARCHAR)
SELECT team FROM table_20500097_1 WHERE series = "GP3 series"
What team did he compete for in the GP3 series?
CREATE TABLE table_20500097_1 (team VARCHAR, series VARCHAR)
SELECT total FROM table_name_80 WHERE set_2 = "25-18"
What is the total for the set 2 of 25-18?
CREATE TABLE table_name_80 (total VARCHAR, set_2 VARCHAR)
SELECT date_and_time___utc__ FROM table_name_23 WHERE orbit = "sub-orbital" AND function = "aeronomy research" AND rocket = "nike orion" AND site = "poker flat"
What date and time has a sub-orbital of orbit, a function of aeronomy research, and a Nike Orion rocket, as well as a Poker Flat site?
CREATE TABLE table_name_23 (date_and_time___utc__ VARCHAR, site VARCHAR, rocket VARCHAR, orbit VARCHAR, function VARCHAR)
SELECT to_par FROM table_28498999_4 WHERE winnings__$_ = 232500
What is the to par for the winnings of 232500?
CREATE TABLE table_28498999_4 (to_par VARCHAR, winnings__$_ VARCHAR)
SELECT COUNT(percent__2000_) FROM table_1182314_5 WHERE percent__1980_ = "3.4%"
what is the total number of percent (2000) where percent (1980) is 3.4%
CREATE TABLE table_1182314_5 (percent__2000_ VARCHAR, percent__1980_ VARCHAR)
SELECT date FROM table_name_92 WHERE prize = "$141,426"
What is the Date of the Event with a Prize of $141,426?
CREATE TABLE table_name_92 (date VARCHAR, prize VARCHAR)
SELECT ddm_class FROM table_1153898_1 WHERE comparisons = "Wireless Combo keyboard and mouse support"
Is wireless combo keyboard and mouse support part of the DDM class?
CREATE TABLE table_1153898_1 (ddm_class VARCHAR, comparisons VARCHAR)
SELECT song FROM table_name_69 WHERE artist = "robert cogoi"
What is the Song by Artist Robert Cogoi?
CREATE TABLE table_name_69 (song VARCHAR, artist VARCHAR)
SELECT viewers FROM table_name_64 WHERE air_date = "july 4, 2008"
What is Viewers, when Air Date is "July 4, 2008"?
CREATE TABLE table_name_64 (viewers VARCHAR, air_date VARCHAR)
SELECT date FROM table_name_4 WHERE score = "6–4, 6–4" AND opponent = "leonardo tavares"
What date was the match against leonardo tavares with a score of 6–4, 6–4?
CREATE TABLE table_name_4 (date VARCHAR, score VARCHAR, opponent VARCHAR)
SELECT details_of_journey FROM table_name_48 WHERE narrator = "simon hoggart"
Which details of journey had simon hoggart as a narrator?
CREATE TABLE table_name_48 (details_of_journey VARCHAR, narrator VARCHAR)
SELECT res FROM table_name_19 WHERE opponent = "oleg taktarov"
The match against Oleg Taktarov had what result?
CREATE TABLE table_name_19 (res VARCHAR, opponent VARCHAR)
SELECT catalog_entry_name FROM catalog_contents ORDER BY price_in_dollars DESC LIMIT 1
What is the entry name of the most expensive catalog (in USD)?
CREATE TABLE catalog_contents (catalog_entry_name VARCHAR, price_in_dollars VARCHAR)
SELECT pole FROM table_name_75 WHERE class = "moto2"
How many poles had a moto2 class?
CREATE TABLE table_name_75 (pole VARCHAR, class VARCHAR)
SELECT COUNT(rank) FROM table_name_9 WHERE athlete = "lassi karonen"
What rank was Lassi Karonen?
CREATE TABLE table_name_9 (rank VARCHAR, athlete VARCHAR)
SELECT judaism FROM table_name_2 WHERE christianity = "2.51%"
What is the percentage of Judaism associated with Christianity at 2.51%?
CREATE TABLE table_name_2 (judaism VARCHAR, christianity VARCHAR)
SELECT outcome FROM table_11326124_3 WHERE round = "2R"
What was the result of round 2r?
CREATE TABLE table_11326124_3 (outcome VARCHAR, round VARCHAR)
SELECT MIN(total) FROM table_name_31 WHERE year_s__won = "1991"
In 1991, what was the lowest total?
CREATE TABLE table_name_31 (total INTEGER, year_s__won VARCHAR)
SELECT away_team AS score FROM table_name_50 WHERE home_team = "north melbourne"
What is the Away team score with north melbourne as home team?
CREATE TABLE table_name_50 (away_team VARCHAR, home_team VARCHAR)
SELECT COUNT(gold) FROM table_name_80 WHERE silver < 14 AND rank > 8 AND bronze = 3
How much Gold has a Silver smaller than 14, and a Rank larger than 8, and a Bronze of 3?
CREATE TABLE table_name_80 (gold VARCHAR, bronze VARCHAR, silver VARCHAR, rank VARCHAR)
SELECT away_team FROM table_name_16 WHERE home_team = "richmond"
What away team is the home team richmond?
CREATE TABLE table_name_16 (away_team VARCHAR, home_team VARCHAR)
SELECT title FROM table_27720737_1 WHERE series__number = 8
What is the title of the series # 8?
CREATE TABLE table_27720737_1 (title VARCHAR, series__number VARCHAR)
SELECT incumbent FROM table_1342393_16 WHERE district = "Kentucky 9"
Name the incumbent for kentucky 9
CREATE TABLE table_1342393_16 (incumbent VARCHAR, district VARCHAR)
SELECT COUNT(division) FROM table_name_9 WHERE fa_cup = "round of 16" AND season > 2012
What is the division in the season more recent than 2012 when the round of 16 was reached in the FA Cup?
CREATE TABLE table_name_9 (division VARCHAR, fa_cup VARCHAR, season VARCHAR)
SELECT club FROM table_name_32 WHERE number_of_seasons_in_liga_mx < 40 AND number_of_seasons_in_top_division = 65
Which club has fewer than 40 seasons in Liga MX and 65 seasons in the top division?
CREATE TABLE table_name_32 (club VARCHAR, number_of_seasons_in_liga_mx VARCHAR, number_of_seasons_in_top_division VARCHAR)
SELECT opponent FROM table_name_48 WHERE attendance = "40,070"
Which opponent had an attendance of 40,070?
CREATE TABLE table_name_48 (opponent VARCHAR, attendance VARCHAR)
SELECT AVG(total) FROM table_name_92 WHERE silver = 0 AND rank = "6" AND gold < 0
Can you tell me the average Total that had the Silver of 0, and the Rank of 6, and the Gold smaller than 0?
CREATE TABLE table_name_92 (total INTEGER, gold VARCHAR, silver VARCHAR, rank VARCHAR)
SELECT SUM(attendance) FROM table_name_68 WHERE date = "april 29"
on april 29, what was the attendance?
CREATE TABLE table_name_68 (attendance INTEGER, date VARCHAR)
SELECT player FROM table_name_43 WHERE runs = "270"
Which player's runs are 270?
CREATE TABLE table_name_43 (player VARCHAR, runs VARCHAR)
SELECT area FROM table_name_75 WHERE name = "morven school"
In what area is Morven School?
CREATE TABLE table_name_75 (area VARCHAR, name VARCHAR)
SELECT genre FROM table_name_30 WHERE english_title__chinese_title_ = "revolving doors of vengeance 酒店風雲"
What genre is revolving doors of vengeance 酒店風雲?
CREATE TABLE table_name_30 (genre VARCHAR, english_title__chinese_title_ VARCHAR)
SELECT COUNT(laps) FROM table_name_33 WHERE constructor = "brm" AND grid = 11
How many laps did BRM have with a grid of 11?
CREATE TABLE table_name_33 (laps VARCHAR, constructor VARCHAR, grid VARCHAR)
SELECT player FROM table_name_60 WHERE total = "152"
Which player had a total of 152?
CREATE TABLE table_name_60 (player VARCHAR, total VARCHAR)
SELECT method FROM table_name_77 WHERE result = "win" AND opponent = "ed mahone"
Which method resulting in a win against Ed Mahone?
CREATE TABLE table_name_77 (method VARCHAR, result VARCHAR, opponent VARCHAR)
SELECT no_s_ FROM table_name_94 WHERE school_club_team_country = "washington"
What are the numbers for any players from Washington?
CREATE TABLE table_name_94 (no_s_ VARCHAR, school_club_team_country VARCHAR)
SELECT MIN(silver) FROM table_name_76 WHERE rank < 4 AND bronze > 9
What is the least number of Silvers with a ranking of less than 4 where the bronze number was larger than 9?
CREATE TABLE table_name_76 (silver INTEGER, rank VARCHAR, bronze VARCHAR)
SELECT name FROM Employee EXCEPT SELECT T1.name FROM Employee AS T1 JOIN Certificate AS T2 ON T1.eid = T2.eid JOIN Aircraft AS T3 ON T3.aid = T2.aid WHERE T3.name = "Boeing 737-800"
Show names for all employees who do not have certificate of Boeing 737-800.
CREATE TABLE Certificate (eid VARCHAR, aid VARCHAR); CREATE TABLE Employee (name VARCHAR, eid VARCHAR); CREATE TABLE Employee (name VARCHAR); CREATE TABLE Aircraft (aid VARCHAR, name VARCHAR)
SELECT school FROM table_name_81 WHERE ihsaa_class__football_class = "3a/2a"
What School had 3a/2a as the value for IHSAA Class/ Football Class?
CREATE TABLE table_name_81 (school VARCHAR, ihsaa_class__football_class VARCHAR)
SELECT mens_doubles FROM table_28211988_1 WHERE mens_singles = "Jean-Michel Saive"
Who are all men's doubles when men's singles is Jean-Michel Saive?
CREATE TABLE table_28211988_1 (mens_doubles VARCHAR, mens_singles VARCHAR)
SELECT SUM(lost) FROM table_name_2 WHERE years > 122 AND total_games > 1244
How many losses had more than 122 years and more than 1244 total games?
CREATE TABLE table_name_2 (lost INTEGER, years VARCHAR, total_games VARCHAR)
SELECT COUNT(crowd) FROM table_name_17 WHERE away_team = "geelong"
What is the total crowd size that saw Geelong play as the away team?
CREATE TABLE table_name_17 (crowd VARCHAR, away_team VARCHAR)
SELECT rounds FROM table_name_20 WHERE chassis = "sf01"
Which round has a car with a chassis of sf01?
CREATE TABLE table_name_20 (rounds VARCHAR, chassis VARCHAR)
SELECT class FROM table_name_67 WHERE pos = "4th" AND year < 2006
Name the class for 4th position with year before 2006
CREATE TABLE table_name_67 (class VARCHAR, pos VARCHAR, year VARCHAR)
SELECT cover_model FROM table_name_8 WHERE date = "8-03"
Which Cover Model was featured on 8-03?
CREATE TABLE table_name_8 (cover_model VARCHAR, date VARCHAR)
SELECT third_place FROM table_1167698_1 WHERE runner_up = "Dynamo Moscow"
Who won third place with the runner up being dynamo moscow?
CREATE TABLE table_1167698_1 (third_place VARCHAR, runner_up VARCHAR)
SELECT time___et__ FROM table_name_3 WHERE opponent = "new england patriots"
When is the Opponent of new england patriots?
CREATE TABLE table_name_3 (time___et__ VARCHAR, opponent VARCHAR)
SELECT original_title FROM table_name_53 WHERE year < 1977 AND author = "lagercrantz olof lagercrantz"
Name the original title for years before 1977 and author of lagercrantz olof lagercrantz
CREATE TABLE table_name_53 (original_title VARCHAR, year VARCHAR, author VARCHAR)
SELECT tier FROM table_name_46 WHERE semi_finalists = "sandrine testud mary pierce" AND runner_up = "lisa raymond"
What tier had a runner-up of Lisa Raymond and a semifinalist of Sandrine Testud Mary Pierce?
CREATE TABLE table_name_46 (tier VARCHAR, semi_finalists VARCHAR, runner_up VARCHAR)
SELECT school FROM table_name_26 WHERE signed = "no" AND round = 50
what is the school when signed is no and round is 50?
CREATE TABLE table_name_26 (school VARCHAR, signed VARCHAR, round VARCHAR)
SELECT record FROM table_name_25 WHERE decision = "lehtonen" AND visitor = "atlanta" AND home = "ny rangers"
What is the team's record when the NY rangers are at home with atlanta visting and lehtonen getting the decision?
CREATE TABLE table_name_25 (record VARCHAR, home VARCHAR, decision VARCHAR, visitor VARCHAR)
SELECT us_viewers__millions_ FROM table_21781578_2 WHERE directed_by = "Steve Shill" AND production_code = "E2102"
What was the number of US Viewers in the episode directed by Steve Shill and having a production code of E2102?
CREATE TABLE table_21781578_2 (us_viewers__millions_ VARCHAR, directed_by VARCHAR, production_code VARCHAR)
SELECT title FROM table_27115960_1 WHERE written_by = "Phil Klemmer" AND production_code = "3T6455"
Phil Klemmer wrote all titles and production code is 3t6455.
CREATE TABLE table_27115960_1 (title VARCHAR, written_by VARCHAR, production_code VARCHAR)
SELECT MAX(grid) FROM table_name_89 WHERE rider = "gregorio lavilla"
What is the highest grid that has gregorio lavilla as the rider?
CREATE TABLE table_name_89 (grid INTEGER, rider VARCHAR)
SELECT pick__number FROM table_name_92 WHERE nhl_team = "california golden seals"
What is the pick# for the California Golden Seals?
CREATE TABLE table_name_92 (pick__number VARCHAR, nhl_team VARCHAR)
SELECT SUM(vol__number) FROM table_name_64 WHERE title = "darkness falls"
How many Volume Numbers have the title of Darkness Falls?
CREATE TABLE table_name_64 (vol__number INTEGER, title VARCHAR)
SELECT COUNT(tariff_code) FROM table_10408617_5 WHERE bts_retail_price__regulated_ = "2.553p/min"
How many tariff codes have a bts retail price of 2.553p/min?
CREATE TABLE table_10408617_5 (tariff_code VARCHAR, bts_retail_price__regulated_ VARCHAR)
SELECT result FROM table_name_44 WHERE week = 6
What is the result week 6?
CREATE TABLE table_name_44 (result VARCHAR, week VARCHAR)
SELECT SUM(league) AS Cup FROM table_name_42 WHERE scottish_cup > 69
Which League Cup has a Scottish Cup larger than 69?
CREATE TABLE table_name_42 (league INTEGER, scottish_cup INTEGER)
SELECT SUM(game) FROM table_name_84 WHERE opponent = "boston bruins"
What is the sum of the game with the boston bruins as the opponent?
CREATE TABLE table_name_84 (game INTEGER, opponent VARCHAR)
SELECT assists FROM table_25352324_5 WHERE player = "Lynn Pride"
What is every entry for assists if the player is Lynn Pride?
CREATE TABLE table_25352324_5 (assists VARCHAR, player VARCHAR)
SELECT set_3 FROM table_name_24 WHERE total = "45–31"
What is the score of set 3 when the total is 45–31?
CREATE TABLE table_name_24 (set_3 VARCHAR, total VARCHAR)
SELECT COUNT(rnd) FROM table_27965906_2 WHERE ss_winning_car = "Kim Baker, Bobby Archer, Tommy Archer"
Name the total number of rnd for kim baker, bobby archer, tommy archer
CREATE TABLE table_27965906_2 (rnd VARCHAR, ss_winning_car VARCHAR)
SELECT MIN(grid) FROM table_name_89 WHERE driver = "bob anderson"
What is the smallest grid for Bob Anderson?
CREATE TABLE table_name_89 (grid INTEGER, driver VARCHAR)
SELECT AVG(quantity) FROM table_name_86 WHERE axle_arrangement = "2′c h2"
Which Quantity has an Axle arrangement of 2′c h2?
CREATE TABLE table_name_86 (quantity INTEGER, axle_arrangement VARCHAR)
SELECT visitor FROM table_name_38 WHERE date = "january 19, 2008"
Who was the visitor on January 19, 2008?
CREATE TABLE table_name_38 (visitor VARCHAR, date VARCHAR)
SELECT COUNT(couple) FROM table_29583818_3 WHERE total_points = "128.0"
how many times is the total points 128.0?
CREATE TABLE table_29583818_3 (couple VARCHAR, total_points VARCHAR)
SELECT AVG(year) FROM table_name_64 WHERE date = "04.01 april 1"
What is the average Year, when Date is "04.01 April 1"?
CREATE TABLE table_name_64 (year INTEGER, date VARCHAR)
SELECT home_team FROM table_name_71 WHERE venue = "mcg"
I want to know the home team for mcg venue
CREATE TABLE table_name_71 (home_team VARCHAR, venue VARCHAR)
SELECT SUM(points) FROM table_name_75 WHERE difference = "13" AND lost > 3
What was the total number of Points when the value Difference was 13, and when the value Lost was greater than 3?
CREATE TABLE table_name_75 (points INTEGER, difference VARCHAR, lost VARCHAR)
SELECT MIN(rd) FROM table_1137718_2 WHERE date = "22 October"
Which rd. occurred on 22 October?
CREATE TABLE table_1137718_2 (rd INTEGER, date VARCHAR)
SELECT chassis FROM table_name_30 WHERE driver = "ricardo zonta"
What kind of chassis does Ricardo Zonta have?
CREATE TABLE table_name_30 (chassis VARCHAR, driver VARCHAR)
SELECT directed_by FROM table_2409041_9 WHERE no_in_series = 179
Who directed episode number 179 in the series?
CREATE TABLE table_2409041_9 (directed_by VARCHAR, no_in_series VARCHAR)
SELECT COUNT(points) FROM table_name_13 WHERE wins > 14 AND goal_difference = 14 AND draws > 6
How many points have more than 14 wins, a goal difference of 14, and more than 6 draws?
CREATE TABLE table_name_13 (points VARCHAR, draws VARCHAR, wins VARCHAR, goal_difference VARCHAR)
SELECT title FROM table_name_58 WHERE songwriter_s_ = "nigel stock" AND time = "4:12"
Which song was written by Nigel Stock and is 4:12 long?
CREATE TABLE table_name_58 (title VARCHAR, songwriter_s_ VARCHAR, time VARCHAR)
SELECT constituency_number FROM table_name_62 WHERE name = "pandhana"
What is the Constituency number for Pandhana?
CREATE TABLE table_name_62 (constituency_number VARCHAR, name VARCHAR)
SELECT date_disband FROM table_242785_1 WHERE main_legionary_base = "Svishtov , Bulgaria"
When did svishtov , bulgaria disband?
CREATE TABLE table_242785_1 (date_disband VARCHAR, main_legionary_base VARCHAR)
SELECT COUNT(pick) FROM table_name_27 WHERE nationality = "canada" AND player = "dennis maxwell"
Which Pick has a Nationality of canada, and a Player of dennis maxwell?
CREATE TABLE table_name_27 (pick VARCHAR, nationality VARCHAR, player VARCHAR)
SELECT venue FROM table_17120964_9 WHERE attendance = "702"
where was the venue where the attendance was 702?
CREATE TABLE table_17120964_9 (venue VARCHAR, attendance VARCHAR)
SELECT date FROM table_22883210_11 WHERE high_points = "George Hill (29)"
When george hill (29) has the highest amount of points what is the date?
CREATE TABLE table_22883210_11 (date VARCHAR, high_points VARCHAR)
SELECT MIN(against) FROM table_name_33 WHERE wins < 16 AND wimmera_fl = "warrack eagles"
What is the lowest against of the wimmera fl warrack eagles, which have less than 16 wins?
CREATE TABLE table_name_33 (against INTEGER, wins VARCHAR, wimmera_fl VARCHAR)
SELECT in_office FROM table_name_58 WHERE member = "mark coulton"
What is the office held by member Mark Coulton?
CREATE TABLE table_name_58 (in_office VARCHAR, member VARCHAR)
SELECT surface FROM table_name_61 WHERE opponent = "shahar pe'er"
What surface was played on against Shahar Pe'er?
CREATE TABLE table_name_61 (surface VARCHAR, opponent VARCHAR)
SELECT total_area FROM table_name_7 WHERE in_state_area = "053 1,654km 2 639mi 2"
With an in-state area of 053 1,654km 2 639mi 2, what is the total area?
CREATE TABLE table_name_7 (total_area VARCHAR, in_state_area VARCHAR)
SELECT number FROM table_name_32 WHERE season = "2002-2003"
What number has 2002-2003 as the season?
CREATE TABLE table_name_32 (number VARCHAR, season VARCHAR)
SELECT date FROM table_name_43 WHERE record = "11-8"
When was 11-8 the record?
CREATE TABLE table_name_43 (date VARCHAR, record VARCHAR)
SELECT sport FROM table_name_44 WHERE country = "puerto rico" AND year = 2000
Name the sport for puerto rico and year of 2000
CREATE TABLE table_name_44 (sport VARCHAR, country VARCHAR, year VARCHAR)