answer
stringlengths
18
557
question
stringlengths
12
244
context
stringlengths
27
484
SELECT actor_actress FROM table_25831483_1 WHERE last_appearance = "1 January 2010" AND total = 20 AND character = "Vanessa 'Nessa' Jenkins"
Who was the actor/actress with a last appearance of 1 january 2010 and total is 20 and character is vanessa 'nessa' jenkins?
CREATE TABLE table_25831483_1 (actor_actress VARCHAR, character VARCHAR, last_appearance VARCHAR, total VARCHAR)
SELECT ht FROM table_13869651_3 WHERE model_number = "Athlon X2 5200B"
What is the HT value of threw Athlon x2 5200b model?
CREATE TABLE table_13869651_3 (ht VARCHAR, model_number VARCHAR)
SELECT date FROM table_name_29 WHERE result = "w 41-0"
What date had a result of W 41-0?
CREATE TABLE table_name_29 (date VARCHAR, result VARCHAR)
SELECT COUNT(overall) FROM table_name_3 WHERE name = "calvin o'neal" AND round < 6
Name of calvin o'neal, and a Round smaller than 6 had what number total overall?
CREATE TABLE table_name_3 (overall VARCHAR, name VARCHAR, round VARCHAR)
SELECT year FROM table_name_99 WHERE cable = "4.6%"
What is the year when cable was 4.6%?
CREATE TABLE table_name_99 (year VARCHAR, cable VARCHAR)
SELECT place FROM table_name_86 WHERE player = "momoko ueda"
What was Momoko Ueda's place?
CREATE TABLE table_name_86 (place VARCHAR, player VARCHAR)
SELECT AVG(100 AS s) FROM table_name_51 WHERE player = "tim bresnan"
How many average 100s were there for Tim Bresnan?
CREATE TABLE table_name_51 (player VARCHAR)
SELECT quantity_made FROM table_name_4 WHERE fleet_numbers = "dwwr 50 and 51"
What was the quantity of the fleet information for DWWR 50 and 51?
CREATE TABLE table_name_4 (quantity_made VARCHAR, fleet_numbers VARCHAR)
SELECT river_mile FROM table_name_32 WHERE lock_side = "rdb" AND pool_length__miles_ = "55.4"
What is the River Mile with a RDB lock side and a pool length of 55.4?
CREATE TABLE table_name_32 (river_mile VARCHAR, lock_side VARCHAR, pool_length__miles_ VARCHAR)
SELECT SUM(pick__number) FROM table_name_75 WHERE player = "chris gomez"
What is the pick number for the player Chris Gomez?
CREATE TABLE table_name_75 (pick__number INTEGER, player VARCHAR)
SELECT pts FROM table_16710541_2 WHERE team = "Kiefer-Bos-Castrol Honda"
How many points did kiefer-bos-castrol honda have?
CREATE TABLE table_16710541_2 (pts VARCHAR, team VARCHAR)
SELECT high_rebounds FROM table_15869204_7 WHERE date = "February 24"
What were the high rebounds on February 24?
CREATE TABLE table_15869204_7 (high_rebounds VARCHAR, date VARCHAR)
SELECT intro_date FROM table_29778616_1 WHERE throughput = "16 Mbit/s"
What is the intro date for the throughput of 16 mbit/s?
CREATE TABLE table_29778616_1 (intro_date VARCHAR, throughput VARCHAR)
SELECT city FROM table_name_22 WHERE result = "brisbane broncos def. halifax blue sox"
What city has a Result of brisbane broncos def. halifax blue sox?
CREATE TABLE table_name_22 (city VARCHAR, result VARCHAR)
SELECT MAX(year) FROM table_12043148_2 WHERE glos_ & _wilts = "Warminster"
what is the latest year where glos & wilts is warminster?
CREATE TABLE table_12043148_2 (year INTEGER, glos_ VARCHAR, _wilts VARCHAR)
SELECT edition_publisher FROM table_name_5 WHERE language = "italian" AND page_size = "8 inches (20cm) x 5.4 inches (14cm)"
Who published in Italian with a page size of 8 inches (20cm) x 5.4 inches (14cm)?
CREATE TABLE table_name_5 (edition_publisher VARCHAR, language VARCHAR, page_size VARCHAR)
SELECT frequency FROM table_name_19 WHERE call_sign = "wgnr-fm"
What is the frequency of the radio station with a call sign of WGNR-FM?
CREATE TABLE table_name_19 (frequency VARCHAR, call_sign VARCHAR)
SELECT score FROM table_name_20 WHERE game = "77"
What's the score of game 77?
CREATE TABLE table_name_20 (score VARCHAR, game VARCHAR)
SELECT first_elected FROM table_19753079_35 WHERE result = "Re-elected" AND incumbent = "Brian Higgins"
Name the first elected for re-elected and brian higgins
CREATE TABLE table_19753079_35 (first_elected VARCHAR, result VARCHAR, incumbent VARCHAR)
SELECT opponent FROM table_name_21 WHERE points < 18 AND november > 11
Which opponent has points less than 18, and a november greater than 11?
CREATE TABLE table_name_21 (opponent VARCHAR, points VARCHAR, november VARCHAR)
SELECT date FROM table_17288825_6 WHERE high_assists = "Tracy McGrady (8)"
When tracy mcgrady (8) is leading in assists what is the date?
CREATE TABLE table_17288825_6 (date VARCHAR, high_assists VARCHAR)
SELECT goals FROM table_name_6 WHERE country = "france"
How many goals did a player from France have?
CREATE TABLE table_name_6 (goals VARCHAR, country VARCHAR)
SELECT manager_1 FROM table_name_24 WHERE captain = "neil redfearn"
Who was the manager for the team with captain Neil Redfearn?
CREATE TABLE table_name_24 (manager_1 VARCHAR, captain VARCHAR)
SELECT COUNT(opponents) FROM table_name_34 WHERE result = "loss" AND game < 49 AND nuggets_points = 108
How many Opponents have a Result of loss, and a Game smaller than 49, and Nuggets points of 108?
CREATE TABLE table_name_34 (opponents VARCHAR, nuggets_points VARCHAR, result VARCHAR, game VARCHAR)
SELECT opponent FROM table_name_89 WHERE date = "sun, sept 9"
Can you tell me the Opponent that has the Date of sun, sept 9?
CREATE TABLE table_name_89 (opponent VARCHAR, date VARCHAR)
SELECT population__2004_est_ FROM table_name_87 WHERE hanzi = "昌黎县"
What is the 2004 population for 昌黎县?
CREATE TABLE table_name_87 (population__2004_est_ VARCHAR, hanzi VARCHAR)
SELECT MAX(round) FROM table_20861261_4 WHERE weight = "192lb (87kg)"
In what round did the player who weights 192lb (87kg) play?
CREATE TABLE table_20861261_4 (round INTEGER, weight VARCHAR)
SELECT SUM(stage) FROM table_name_73 WHERE category = "1" AND year > 2003
What is the sum of the stages for category 1 races after the year 2003?
CREATE TABLE table_name_73 (stage INTEGER, category VARCHAR, year VARCHAR)
SELECT date FROM table_name_92 WHERE winning_driver = "ayrton senna" AND location = "imola"
On what date did Ayrton Senna win at Imola?
CREATE TABLE table_name_92 (date VARCHAR, winning_driver VARCHAR, location VARCHAR)
SELECT district FROM table_1341843_19 WHERE incumbent = "Otto Passman"
What's the district that Otto Passman is the incumbent of?
CREATE TABLE table_1341843_19 (district VARCHAR, incumbent VARCHAR)
SELECT length_of_retirement FROM table_name_49 WHERE president = "sharma, shankar shankar dayal sharma"
What is the length of retirement for president Sharma, Shankar Shankar Dayal Sharma?
CREATE TABLE table_name_49 (length_of_retirement VARCHAR, president VARCHAR)
SELECT russian_title FROM table_207795_1 WHERE english_title = "The Ugly Swans"
What is the russian title of the ugly swans?
CREATE TABLE table_207795_1 (russian_title VARCHAR, english_title VARCHAR)
SELECT MIN(crowd) FROM table_name_75 WHERE away_team = "melbourne"
When melbourne was the away team, what was the lowest crowd turnout they had?
CREATE TABLE table_name_75 (crowd INTEGER, away_team VARCHAR)
SELECT COUNT(nation) FROM table_19312274_3 WHERE name = "FMS International"
How many nations do the FMS international team represent?
CREATE TABLE table_19312274_3 (nation VARCHAR, name VARCHAR)
SELECT overall FROM table_name_74 WHERE plyff = "(0-0)" AND home = "(0-1)" AND opponent = "green bay blizzard"
Which team has an overall playoff of (0-0), a home record of (0-1) and played the Green Bay Blizzard team?
CREATE TABLE table_name_74 (overall VARCHAR, opponent VARCHAR, plyff VARCHAR, home VARCHAR)
SELECT COUNT(grid) FROM table_name_18 WHERE time_retired = "+9 laps" AND laps > 91
what is the grid when the time/retired is +9 laps and the laps is larger than 91?
CREATE TABLE table_name_18 (grid VARCHAR, time_retired VARCHAR, laps VARCHAR)
SELECT opponent FROM table_17120964_8 WHERE result = "Won 4-1"
Who was the opponent of the game with final score won 4-1?
CREATE TABLE table_17120964_8 (opponent VARCHAR, result VARCHAR)
SELECT SUM(wins) FROM table_name_26 WHERE loses > 2 AND against = "73.3"
How many Wins have Losses larger than 2, and an Against of 73.3?
CREATE TABLE table_name_26 (wins INTEGER, loses VARCHAR, against VARCHAR)
SELECT week_5 FROM table_name_21 WHERE week_3 = "shelly louise"
Who was the girl on week 5 that came after week 3's Shelly Louise?
CREATE TABLE table_name_21 (week_5 VARCHAR, week_3 VARCHAR)
SELECT MAX(rank) FROM table_name_58 WHERE events = 26 AND wins > 0
Name the most rank for wins more than 0 and events of 26
CREATE TABLE table_name_58 (rank INTEGER, events VARCHAR, wins VARCHAR)
SELECT MIN(no) FROM table_18442691_2 WHERE album = "Bat Out of Hell"
When bat out of hell is the album what is the lowest number?
CREATE TABLE table_18442691_2 (no INTEGER, album VARCHAR)
SELECT mens_singles FROM table_14903999_1 WHERE mens_doubles = "Sveinn Logi Sölvason Tryggvi Nilsen" AND womens_singles = "Elsa Nielsen"
Who won mens singles the year sveinn logi sölvason tryggvi nilsen won mens doubles and elsa nielsen won womens singles
CREATE TABLE table_14903999_1 (mens_singles VARCHAR, mens_doubles VARCHAR, womens_singles VARCHAR)
SELECT record FROM table_name_47 WHERE date = "february 10"
What is the Record from February 10?
CREATE TABLE table_name_47 (record VARCHAR, date VARCHAR)
SELECT english_spelling FROM table_1242447_2 WHERE strongs_transliteration = "'Adoniyah"
What is the English spelling of the strongs transliteration: 'adoniyah?
CREATE TABLE table_1242447_2 (english_spelling VARCHAR, strongs_transliteration VARCHAR)
SELECT district FROM table_13618584_1 WHERE incumbent = "Dick Saslaw"
In which district was the incumbent Dick Saslaw?
CREATE TABLE table_13618584_1 (district VARCHAR, incumbent VARCHAR)
SELECT player FROM table_2679061_12 WHERE college_junior_club_team = "Litvinov (Czechoslovakia)"
Who was drafted to litvinov (czechoslovakia)?
CREATE TABLE table_2679061_12 (player VARCHAR, college_junior_club_team VARCHAR)
SELECT year FROM table_name_1 WHERE director = "soroush sehat"
What is the year of the TV series directed by Soroush Sehat?
CREATE TABLE table_name_1 (year VARCHAR, director VARCHAR)
SELECT years FROM table_name_67 WHERE decile < 7 AND name = "waitoa school"
Name the years when decile was less than 7 for waitoa school
CREATE TABLE table_name_67 (years VARCHAR, decile VARCHAR, name VARCHAR)
SELECT eighth FROM table_name_61 WHERE seventh = "audio bullys"
WHAT IS THE 8TH THAT HAS A 7TH OF AUDIO BULLYS?
CREATE TABLE table_name_61 (eighth VARCHAR, seventh VARCHAR)
SELECT result FROM table_name_86 WHERE opponent = "carolina panthers"
What's the result when the Carolina Panthers were the opponent?
CREATE TABLE table_name_86 (result VARCHAR, opponent VARCHAR)
SELECT points_for FROM table_17625749_3 WHERE tries_against = "63"
How many points are there for 63 tries against?
CREATE TABLE table_17625749_3 (points_for VARCHAR, tries_against VARCHAR)
SELECT opponent FROM table_name_59 WHERE week > 7 AND stadium = "schaefer stadium"
Who was the opposing team at Schaefer Stadium later in the season than week 7?
CREATE TABLE table_name_59 (opponent VARCHAR, week VARCHAR, stadium VARCHAR)
SELECT green_communist FROM table_name_82 WHERE lead = "15.5%"
What is the green-communist with a 15.5% lead?
CREATE TABLE table_name_82 (green_communist VARCHAR, lead VARCHAR)
SELECT COUNT(matches) FROM table_name_96 WHERE s_rate < 133.72 AND team = "yorkshire carnegie"
How many Matches have an S/Rate smaller than 133.72, and a Team of yorkshire carnegie?
CREATE TABLE table_name_96 (matches VARCHAR, s_rate VARCHAR, team VARCHAR)
SELECT venue FROM table_name_58 WHERE against > 9 AND date = "03/02/1996"
What is Venue, when Against is greater than 9, and when Date is "03/02/1996"?
CREATE TABLE table_name_58 (venue VARCHAR, against VARCHAR, date VARCHAR)
SELECT first_store FROM table_name_2 WHERE hypermarkets = 3
What year was the first store that had a hypermarket of 3?
CREATE TABLE table_name_2 (first_store VARCHAR, hypermarkets VARCHAR)
SELECT format FROM table_name_33 WHERE label = "epic/sony" AND date > 1980
What is the Format of the Epic/Sony Label after 1980?
CREATE TABLE table_name_33 (format VARCHAR, label VARCHAR, date VARCHAR)
SELECT AVG(week) FROM table_name_19 WHERE attendance = "28,800"
What is the average week number for games that had 28,800 fans in attendance?
CREATE TABLE table_name_19 (week INTEGER, attendance VARCHAR)
SELECT investment_earnings FROM table_name_23 WHERE total_revenue = "21,779,618"
What were the investment earnings in a year when total revenue was $21,779,618?
CREATE TABLE table_name_23 (investment_earnings VARCHAR, total_revenue VARCHAR)
SELECT stage FROM table_name_78 WHERE trofeo_fast_team = "carrera jeans-tassoni" AND winner = "mario cipollini" AND points_classification = "claudio chiappucci"
What stage did team Carrera Jeans-Tassoni have when Mario Cipollini won and Claudio Chiappucci had the points?
CREATE TABLE table_name_78 (stage VARCHAR, points_classification VARCHAR, trofeo_fast_team VARCHAR, winner VARCHAR)
SELECT total FROM table_name_41 WHERE time = "16:00" AND set_3 = "18–25"
How much is the total with a time at 16:00 and score for set 3 of 18–25?
CREATE TABLE table_name_41 (total VARCHAR, time VARCHAR, set_3 VARCHAR)
SELECT country FROM table_name_6 WHERE to_par < 13 AND player = "wayne grady"
What country has a to par less than 13, with wayne grady as the player?
CREATE TABLE table_name_6 (country VARCHAR, to_par VARCHAR, player VARCHAR)
SELECT score FROM table_name_45 WHERE visitor = "montreal maroons" AND date = "december 28"
What's the Score with the Visitor of Montreal Maroons and has a Date of December 28?
CREATE TABLE table_name_45 (score VARCHAR, visitor VARCHAR, date VARCHAR)
SELECT COUNT(high_rebounds) FROM table_22822559_4 WHERE date = "November 27"
What was the total number of rebounds on november 27?
CREATE TABLE table_22822559_4 (high_rebounds VARCHAR, date VARCHAR)
SELECT nationality FROM table_name_5 WHERE round = 6
What is Nationality, when Round is 6?
CREATE TABLE table_name_5 (nationality VARCHAR, round VARCHAR)
SELECT high_assists FROM table_name_61 WHERE game > 46
What high assists have a game greater than 46?
CREATE TABLE table_name_61 (high_assists VARCHAR, game INTEGER)
SELECT pop_density__per_km²_ FROM table_1686313_1 WHERE barangay = "Tiptip"
Name the population density when barangay is tiptip
CREATE TABLE table_1686313_1 (pop_density__per_km²_ VARCHAR, barangay VARCHAR)
SELECT away_team FROM table_name_97 WHERE tie_no = "5"
What away team has a Tie no of 5?
CREATE TABLE table_name_97 (away_team VARCHAR, tie_no VARCHAR)
SELECT driver FROM table_name_12 WHERE grid = 19
Which driver drove in grid 19?
CREATE TABLE table_name_12 (driver VARCHAR, grid VARCHAR)
SELECT finalist FROM table_name_91 WHERE tournament = "monte carlo"
Who was the finalist in the Monte Carlo Tournament?
CREATE TABLE table_name_91 (finalist VARCHAR, tournament VARCHAR)
SELECT open_source_movie FROM table_name_67 WHERE planned_release = "2013"
What are the open source movies with planned releases in 2013?
CREATE TABLE table_name_67 (open_source_movie VARCHAR, planned_release VARCHAR)
SELECT colors FROM table_name_17 WHERE school = "zeigler high school"
What Colors has a School of zeigler high school?
CREATE TABLE table_name_17 (colors VARCHAR, school VARCHAR)
SELECT MIN(sexual_abuse_1) FROM table_15652027_1 WHERE conflict = "Second Sudanese Civil War"
What is the sexual abuse rate where the conflict is the Second Sudanese Civil War?
CREATE TABLE table_15652027_1 (sexual_abuse_1 INTEGER, conflict VARCHAR)
SELECT prefecture FROM table_221398_1 WHERE number_in_map = "39"
What prefecture is listed in the map as number 39?
CREATE TABLE table_221398_1 (prefecture VARCHAR, number_in_map VARCHAR)
SELECT date FROM table_name_16 WHERE away_team = "workington"
WHAT IS THE DATE WITH AN AWAY TEAM OF WORKINGTON?
CREATE TABLE table_name_16 (date VARCHAR, away_team VARCHAR)
SELECT home_team AS score FROM table_name_7 WHERE venue = "lake oval"
What is the Home team score for the Lake Oval Venue?
CREATE TABLE table_name_7 (home_team VARCHAR, venue VARCHAR)
SELECT years_for_jazz FROM table_name_54 WHERE school_club_team = "houston"
What is the Year for Jazz club of Houston?
CREATE TABLE table_name_54 (years_for_jazz VARCHAR, school_club_team VARCHAR)
SELECT obama_percentage FROM table_20539826_1 WHERE total = 3909
What percentage of the votes did Obama get in the county where 3909 people voted in total?
CREATE TABLE table_20539826_1 (obama_percentage VARCHAR, total VARCHAR)
SELECT COUNT(class) FROM table_14139408_1 WHERE poles > 1.0
how many class with poles being bigger than 1.0
CREATE TABLE table_14139408_1 (class VARCHAR, poles INTEGER)
SELECT Name FROM country WHERE Continent = "Asia" AND population > (SELECT MIN(population) FROM country WHERE Continent = "Africa")
What are the Asian countries which have a population larger than that of any country in Africa?
CREATE TABLE country (Name VARCHAR, Continent VARCHAR, population INTEGER)
SELECT local_authority FROM table_name_33 WHERE services = "greater anglia"
Which Local authority has Services of greater anglia?
CREATE TABLE table_name_33 (local_authority VARCHAR, services VARCHAR)
SELECT COUNT(e_greenberg) FROM table_17820556_4 WHERE county = "Morris"
Who many votes did E. Greenberg receive in Morris County?
CREATE TABLE table_17820556_4 (e_greenberg VARCHAR, county VARCHAR)
SELECT incumbent FROM table_19753079_4 WHERE district = "Alabama 6"
Name the incumbent for alabama 6
CREATE TABLE table_19753079_4 (incumbent VARCHAR, district VARCHAR)
SELECT icao FROM table_name_96 WHERE city = "manchester"
Which ICAO's city is Manchester?
CREATE TABLE table_name_96 (icao VARCHAR, city VARCHAR)
SELECT Abbreviation FROM AIRLINES WHERE Airline = "JetBlue Airways"
What is the abbreviation of Airline "JetBlue Airways"?
CREATE TABLE AIRLINES (Abbreviation VARCHAR, Airline VARCHAR)
SELECT media_market_ranking FROM table_name_54 WHERE metropolitan_area = "new york, new york"
What is the media market ranking for new york, new york?
CREATE TABLE table_name_54 (media_market_ranking VARCHAR, metropolitan_area VARCHAR)
SELECT mixed_doubles FROM table_27753492_2 WHERE tour = "Korea Super Series"
Who is the mixed doubled on the tour korea super series?
CREATE TABLE table_27753492_2 (mixed_doubles VARCHAR, tour VARCHAR)
SELECT MAX(rebounds) FROM table_24913533_4 WHERE steals = 35
What is the maximum number of rebounds for players having exactly 35 steals?
CREATE TABLE table_24913533_4 (rebounds INTEGER, steals VARCHAR)
SELECT 2011 FROM table_name_63 WHERE tournament = "grand slam tournaments"
What is the 2011 when the Tournament was the grand slam tournaments?
CREATE TABLE table_name_63 (tournament VARCHAR)
SELECT nationality FROM table_name_6 WHERE time = "1:08.80"
What is the Nationality of the swimmer with a Time of 1:08.80?
CREATE TABLE table_name_6 (nationality VARCHAR, time VARCHAR)
SELECT winning_driver FROM table_name_1 WHERE name = "pau grand prix"
Tell me the winning driver for pau grand prix
CREATE TABLE table_name_1 (winning_driver VARCHAR, name VARCHAR)
SELECT height_in_ft FROM table_name_35 WHERE position = "guard" AND school_club_team_country = "north carolina-charlotte"
Name the height in feet for the guard from north carolina-charlotte
CREATE TABLE table_name_35 (height_in_ft VARCHAR, position VARCHAR, school_club_team_country VARCHAR)
SELECT date FROM table_name_96 WHERE opponent = "boston patriots"
Which date featured the Boston Patriots as the opponent?
CREATE TABLE table_name_96 (date VARCHAR, opponent VARCHAR)
SELECT AVG(yards) FROM table_name_53 WHERE average < 4 AND long = 12 AND attempts < 29
What is the average Yards with an average of less than 4 and the long is 12 with less than 29 attempts?
CREATE TABLE table_name_53 (yards INTEGER, attempts VARCHAR, average VARCHAR, long VARCHAR)
SELECT school_name FROM school WHERE NOT school_id IN (SELECT school_id FROM endowment)
List the names of the schools without any endowment.
CREATE TABLE endowment (school_name VARCHAR, school_id VARCHAR); CREATE TABLE school (school_name VARCHAR, school_id VARCHAR)
SELECT class FROM table_name_40 WHERE sport = "volleyball" AND year = 2000
What class is volleyball in 2000?
CREATE TABLE table_name_40 (class VARCHAR, sport VARCHAR, year VARCHAR)
SELECT SUM(total) FROM table_name_45 WHERE nation = "south africa (rsa)" AND bronze < 1
What is the total where the nation is South Africa (rsa) and bronze is less than 1?
CREATE TABLE table_name_45 (total INTEGER, nation VARCHAR, bronze VARCHAR)
SELECT venue FROM table_name_64 WHERE round = "after extra time, chelsea won on 4-1 on penalties"
What is the venue when the Round shows after extra time, chelsea won on 4-1 on penalties?
CREATE TABLE table_name_64 (venue VARCHAR, round VARCHAR)
SELECT são_paulo_career FROM table_name_45 WHERE appearances < 201 AND goals < 2 AND name = "ricardo rocha"
WHAT SAN PAULO CAREER HAD SMALLER THAN 201 APPEARANCES, SMALLER THAN 2 GOALS, AND FOR RICARDO ROCHA?
CREATE TABLE table_name_45 (são_paulo_career VARCHAR, name VARCHAR, appearances VARCHAR, goals VARCHAR)
SELECT position FROM table_1708014_1 WHERE winnings = "$4,228,889"
Which position offers winnings of $4,228,889?
CREATE TABLE table_1708014_1 (position VARCHAR, winnings VARCHAR)