question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
What is the round of 32 if the round of 16 is drenovak ( srb ) w 20–11?
CREATE TABLE table_27294107_11 (round_of_32 VARCHAR, round_of_16 VARCHAR)
SELECT round_of_32 FROM table_27294107_11 WHERE round_of_16 = "Drenovak ( SRB ) W 20–11"
Which Res has a Time of 11:58?
CREATE TABLE table_name_27 (res VARCHAR, time VARCHAR)
SELECT res FROM table_name_27 WHERE time = "11:58"
What is the other premiership when the runner up wis Geelong?
CREATE TABLE table_1139835_9 (premiership VARCHAR, runner_up VARCHAR)
SELECT premiership FROM table_1139835_9 WHERE runner_up = "Geelong"
Which Opponent has a Record of 45–21–4?
CREATE TABLE table_name_51 (opponent VARCHAR, record VARCHAR)
SELECT opponent FROM table_name_51 WHERE record = "45–21–4"
What is the number of dances for the team that averages 20.6?
CREATE TABLE table_25391981_3 (number_of_dances VARCHAR, average VARCHAR)
SELECT number_of_dances FROM table_25391981_3 WHERE average = "20.6"
WHO WAS THE COVER MODEL OF PLAYBOY WHERE THE CENTERFOLD MODEL WAS SHALLAN MEIERS?
CREATE TABLE table_1566852_3 (cover_model VARCHAR, centerfold_model VARCHAR)
SELECT cover_model FROM table_1566852_3 WHERE centerfold_model = "Shallan Meiers"
What is the attendance sum of the game on March 16, 1990 with a loss record?
CREATE TABLE table_name_40 (attendance INTEGER, record VARCHAR, date VARCHAR)
SELECT SUM(attendance) FROM table_name_40 WHERE record = "loss" AND date = "march 16, 1990"
Which Attendance has a Tie number of 5?
CREATE TABLE table_name_63 (attendance VARCHAR, tie_no VARCHAR)
SELECT attendance FROM table_name_63 WHERE tie_no = "5"
What's the score in the home game against the Charlotte Bobcats?
CREATE TABLE table_name_48 (score VARCHAR, visitor VARCHAR)
SELECT score FROM table_name_48 WHERE visitor = "charlotte bobcats"
What was the attendance total for week 10?
CREATE TABLE table_name_77 (attendance VARCHAR, week VARCHAR)
SELECT attendance FROM table_name_77 WHERE week = 10
What's the to par for Jim Thorpe in T5 Place?
CREATE TABLE table_name_42 (to_par VARCHAR, place VARCHAR, player VARCHAR)
SELECT to_par FROM table_name_42 WHERE place = "t5" AND player = "jim thorpe"
What is the last year that someone is first elected in this table?
CREATE TABLE table_1341930_21 (first_elected INTEGER)
SELECT MAX(first_elected) FROM table_1341930_21
If the opponent was the Philadelphia flyers, what was the record?
CREATE TABLE table_27537870_6 (record VARCHAR, opponent VARCHAR)
SELECT record FROM table_27537870_6 WHERE opponent = "Philadelphia Flyers"
What is the sum of Goals, when Matches is less than 29?
CREATE TABLE table_name_31 (goals INTEGER, matches INTEGER)
SELECT SUM(goals) FROM table_name_31 WHERE matches < 29
what is the class when the power is 22500 watts?
CREATE TABLE table_name_17 (class VARCHAR, power VARCHAR)
SELECT class FROM table_name_17 WHERE power = "22500 watts"
Which Club or province has a caps larger than 15 and has Chris Cusiter playing for them?
CREATE TABLE table_name_88 (club_province VARCHAR, caps VARCHAR, player VARCHAR)
SELECT club_province FROM table_name_88 WHERE caps > 15 AND player = "chris cusiter"
What 2010 has a 2006 less than 6.9, a 2008 greater than 1.6, and 2 for 2007?
CREATE TABLE table_name_21 (Id VARCHAR)
SELECT 2010 FROM table_name_21 WHERE 2006 < 6.9 AND 2008 > 1.6 AND 2007 = 2
Which terminations correspond to a US MSRP of $49?
CREATE TABLE table_1601027_1 (termination VARCHAR, us_msrp VARCHAR)
SELECT termination FROM table_1601027_1 WHERE us_msrp = "$49"
When chris barnes is on team usa how many europe teams are there?
CREATE TABLE table_19072602_3 (team_europe VARCHAR, team_usa VARCHAR)
SELECT COUNT(team_europe) FROM table_19072602_3 WHERE team_usa = "Chris Barnes"
What is the qual 1 when the qual 2 has no time and the best is 1:16.776?
CREATE TABLE table_name_94 (qual_1 VARCHAR, qual_2 VARCHAR, best VARCHAR)
SELECT qual_1 FROM table_name_94 WHERE qual_2 = "no time" AND best = "1:16.776"
How many locations have the call signs dxjp-fm?
CREATE TABLE table_17487395_1 (location VARCHAR, callsign VARCHAR)
SELECT COUNT(location) FROM table_17487395_1 WHERE callsign = "DXJP-FM"
What is Home Team, when Tie No is "7"?
CREATE TABLE table_name_5 (home_team VARCHAR, tie_no VARCHAR)
SELECT home_team FROM table_name_5 WHERE tie_no = "7"
Which series had a release on 1939-07-15 with the 8863 production number?
CREATE TABLE table_name_53 (series VARCHAR, release_date VARCHAR, production_num VARCHAR)
SELECT series FROM table_name_53 WHERE release_date = "1939-07-15" AND production_num = "8863"
How many figures are provided for the team when the position drafted is center?
CREATE TABLE table_2897457_8 (nhl_team VARCHAR, position VARCHAR)
SELECT COUNT(nhl_team) FROM table_2897457_8 WHERE position = "Center"
What is the land (sqmi) in lansing township?
CREATE TABLE table_18600760_12 (land___sqmi__ VARCHAR, township VARCHAR)
SELECT land___sqmi__ FROM table_18600760_12 WHERE township = "Lansing"
Which driver drove the Tourtel Larrousse F1?
CREATE TABLE table_name_99 (driver VARCHAR, entrant VARCHAR)
SELECT driver FROM table_name_99 WHERE entrant = "tourtel larrousse f1"
What was the minor version released on April 16, 2008?
CREATE TABLE table_24257833_4 (minor_version VARCHAR, release_date VARCHAR)
SELECT minor_version FROM table_24257833_4 WHERE release_date = "April 16, 2008"
Which city has an ICAO of TBA?
CREATE TABLE table_name_84 (city VARCHAR, icao VARCHAR)
SELECT city FROM table_name_84 WHERE icao = "tba"
What party does sid simpson represent?
CREATE TABLE table_1342198_13 (party VARCHAR, incumbent VARCHAR)
SELECT party FROM table_1342198_13 WHERE incumbent = "Sid Simpson"
How many wines are produced at Robert Biale winery?
CREATE TABLE WINE (Winery VARCHAR)
SELECT COUNT(*) FROM WINE WHERE Winery = "Robert Biale"
What was the result of the game that was played on february 27, 2000?
CREATE TABLE table_name_38 (result VARCHAR, date VARCHAR)
SELECT result FROM table_name_38 WHERE date = "february 27, 2000"
Who picked dimitri tsoumpas?
CREATE TABLE table_16575609_1 (cfl_team VARCHAR, player VARCHAR)
SELECT cfl_team FROM table_16575609_1 WHERE player = "Dimitri Tsoumpas"
Which Office has a Democratic ticket of herbert h. lehman?
CREATE TABLE table_name_88 (office VARCHAR, democratic_ticket VARCHAR)
SELECT office FROM table_name_88 WHERE democratic_ticket = "herbert h. lehman"
What was the Sp of the 2nd Position?
CREATE TABLE table_22265261_1 (sp VARCHAR, position VARCHAR)
SELECT COUNT(sp) FROM table_22265261_1 WHERE position = "2nd"
Which Division that has a Reg Season of 1st, western, and Playoffs of champions, and a Year smaller than 2013?
CREATE TABLE table_name_36 (division INTEGER, year VARCHAR, reg_season VARCHAR, playoffs VARCHAR)
SELECT AVG(division) FROM table_name_36 WHERE reg_season = "1st, western" AND playoffs = "champions" AND year < 2013
What was the Winner of the SS5 Stage?
CREATE TABLE table_name_54 (winner VARCHAR, stage VARCHAR)
SELECT winner FROM table_name_54 WHERE stage = "ss5"
What is the tyres with a year earlier than 1961 for a climax l4 engine?
CREATE TABLE table_name_33 (tyres VARCHAR, year VARCHAR, engine VARCHAR)
SELECT tyres FROM table_name_33 WHERE year < 1961 AND engine = "climax l4"
Who was the home team in the game having a visitor of Chicago?
CREATE TABLE table_name_21 (home VARCHAR, visitor VARCHAR)
SELECT home FROM table_name_21 WHERE visitor = "chicago"
What is the Venue before 2003 with Notes of 57.73 m?
CREATE TABLE table_name_63 (venue VARCHAR, year VARCHAR, notes VARCHAR)
SELECT venue FROM table_name_63 WHERE year < 2003 AND notes = "57.73 m"
What is the average value for 2005, when the value for 2008 is greater than 0, when the value for 2007 is greater than 310, when the Average annual is 767, and when the Total is greater than 4,597?
CREATE TABLE table_name_38 (total VARCHAR, average_annual VARCHAR)
SELECT AVG(2005) FROM table_name_38 WHERE 2008 > 0 AND 2007 > 310 AND average_annual = 767 AND total > 4 OFFSET 597
Name the cfl team for saskatchewan
CREATE TABLE table_25017530_6 (cfl_team VARCHAR, college VARCHAR)
SELECT cfl_team FROM table_25017530_6 WHERE college = "Saskatchewan"
what is the total number of record where streak is l2 and leading scorer is roy : 23
CREATE TABLE table_11964047_5 (record VARCHAR, streak VARCHAR, leading_scorer VARCHAR)
SELECT COUNT(record) FROM table_11964047_5 WHERE streak = "L2" AND leading_scorer = "Roy : 23"
What are all the production codes of episodes written by Michael G. Moye?
CREATE TABLE table_2226817_8 (production_code VARCHAR, written_by VARCHAR)
SELECT production_code FROM table_2226817_8 WHERE written_by = "Michael G. Moye"
Which project made the most number of outcomes? List the project details and the project id.
CREATE TABLE Project_outcomes (project_id VARCHAR); CREATE TABLE Projects (project_details VARCHAR, project_id VARCHAR)
SELECT T1.project_details, T1.project_id FROM Projects AS T1 JOIN Project_outcomes AS T2 ON T1.project_id = T2.project_id GROUP BY T1.project_id ORDER BY COUNT(*) DESC LIMIT 1
What is the lowest round with a place of t15 in a year earlier than 1998?
CREATE TABLE table_name_15 (round_1 INTEGER, place VARCHAR, year VARCHAR)
SELECT MIN(round_1) FROM table_name_15 WHERE place = "t15" AND year < 1998
What is the Place of the Player with a To par of +2 and a Score of 70-72-73=215?
CREATE TABLE table_name_22 (place VARCHAR, to_par VARCHAR, score VARCHAR)
SELECT place FROM table_name_22 WHERE to_par = "+2" AND score = 70 - 72 - 73 = 215
What is the Location and Attendance with a Record of 21–22?
CREATE TABLE table_name_16 (location_attendance VARCHAR, record VARCHAR)
SELECT location_attendance FROM table_name_16 WHERE record = "21–22"
What is Original Album, when Time is "3:39"?
CREATE TABLE table_name_23 (original_album VARCHAR, time VARCHAR)
SELECT original_album FROM table_name_23 WHERE time = "3:39"
Name the population 2011 for mihajlovo
CREATE TABLE table_2562572_35 (population__2011_ VARCHAR, settlement VARCHAR)
SELECT COUNT(population__2011_) FROM table_2562572_35 WHERE settlement = "Mihajlovo"
Which Date has an Opponent of milton keynes lightning, and an Attendance smaller than 1,771?
CREATE TABLE table_name_96 (date INTEGER, opponent VARCHAR, attendance VARCHAR)
SELECT AVG(date) FROM table_name_96 WHERE opponent = "milton keynes lightning" AND attendance < 1 OFFSET 771
When semi final (2nd leg) is the round what is the highest attendance?
CREATE TABLE table_28181401_4 (attendance INTEGER, round VARCHAR)
SELECT MAX(attendance) FROM table_28181401_4 WHERE round = "Semi Final (2nd leg)"
What is the transfer fee for Helguera?
CREATE TABLE table_name_23 (transfer_fee VARCHAR, name VARCHAR)
SELECT transfer_fee FROM table_name_23 WHERE name = "helguera"
Which Rec has Jerel Myers as the Player?
CREATE TABLE table_name_25 (rec VARCHAR, player VARCHAR)
SELECT rec FROM table_name_25 WHERE player = "jerel myers"
Find the highest rank of all reviews.
CREATE TABLE review (rank INTEGER)
SELECT MIN(rank) FROM review
Which Notes have a Distance larger than 7, and a Location of aplin?
CREATE TABLE table_name_62 (notes VARCHAR, distance VARCHAR, location VARCHAR)
SELECT notes FROM table_name_62 WHERE distance > 7 AND location = "aplin"
What is the date that a ship sank in the South Atlantic?
CREATE TABLE table_name_59 (date VARCHAR, where_sunk VARCHAR)
SELECT date FROM table_name_59 WHERE where_sunk = "south atlantic"
What is the Points with an Against smaller than 16?
CREATE TABLE table_name_51 (points INTEGER, against INTEGER)
SELECT AVG(points) FROM table_name_51 WHERE against < 16
What percentage of browsers were using Opera in October 2010?
CREATE TABLE table_name_53 (opera VARCHAR, date VARCHAR)
SELECT opera FROM table_name_53 WHERE date = "october 2010"
What was the score when the home team was goole town?
CREATE TABLE table_name_84 (score VARCHAR, home_team VARCHAR)
SELECT score FROM table_name_84 WHERE home_team = "goole town"
What is the Home team with an Away team that is oxford united?
CREATE TABLE table_name_87 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team FROM table_name_87 WHERE away_team = "oxford united"
What is the title of episode number 14?
CREATE TABLE table_19161605_2 (title VARCHAR, _number VARCHAR)
SELECT title FROM table_19161605_2 WHERE _number = 14
What are the payment date of the payment with amount paid higher than 300 or with payment type is 'Check'
CREATE TABLE payments (payment_date VARCHAR, amount_paid VARCHAR, payment_type_code VARCHAR)
SELECT payment_date FROM payments WHERE amount_paid > 300 OR payment_type_code = 'Check'
What is the sum of Game, when Opponent is "Cleveland Barons", and when March is less than 8?
CREATE TABLE table_name_58 (game INTEGER, opponent VARCHAR, march VARCHAR)
SELECT SUM(game) FROM table_name_58 WHERE opponent = "cleveland barons" AND march < 8
What is the highest attendance for games with stevenage borough at home?
CREATE TABLE table_name_9 (attendance INTEGER, home_team VARCHAR)
SELECT MAX(attendance) FROM table_name_9 WHERE home_team = "stevenage borough"
Show the names of festivals that have nominated artworks of type "Program Talent Show".
CREATE TABLE nomination (Artwork_ID VARCHAR, Festival_ID VARCHAR); CREATE TABLE artwork (Artwork_ID VARCHAR, Type VARCHAR); CREATE TABLE festival_detail (Festival_Name VARCHAR, Festival_ID VARCHAR)
SELECT T3.Festival_Name FROM nomination AS T1 JOIN artwork AS T2 ON T1.Artwork_ID = T2.Artwork_ID JOIN festival_detail AS T3 ON T1.Festival_ID = T3.Festival_ID WHERE T2.Type = "Program Talent Show"
What is Result, when Week is 16?
CREATE TABLE table_name_72 (result VARCHAR, week VARCHAR)
SELECT result FROM table_name_72 WHERE week = 16
Which Scrapped/Sold has a Name as rebuilt of trostan?
CREATE TABLE table_name_11 (scrapped_sold VARCHAR, name_as_rebuilt VARCHAR)
SELECT scrapped_sold FROM table_name_11 WHERE name_as_rebuilt = "trostan"
Find the names of customers who have used both the service "Close a policy" and the service "New policy application".
CREATE TABLE first_notification_of_loss (customer_id VARCHAR, service_id VARCHAR); CREATE TABLE customers (customer_name VARCHAR, customer_id VARCHAR); CREATE TABLE services (service_id VARCHAR, service_name VARCHAR)
SELECT t1.customer_name FROM customers AS t1 JOIN first_notification_of_loss AS t2 ON t1.customer_id = t2.customer_id JOIN services AS t3 ON t2.service_id = t3.service_id WHERE t3.service_name = "Close a policy" INTERSECT SELECT t1.customer_name FROM customers AS t1 JOIN first_notification_of_loss AS t2 ON t1.customer_...
Name the score for josé juan barea (8)
CREATE TABLE table_27723526_12 (score VARCHAR, high_assists VARCHAR)
SELECT score FROM table_27723526_12 WHERE high_assists = "José Juan Barea (8)"
What's the Remixed by with a Version of Strings for Soul's Mix?
CREATE TABLE table_name_47 (remixed_by VARCHAR, version VARCHAR)
SELECT remixed_by FROM table_name_47 WHERE version = "strings for soul's mix"
What is every value for passing yards per game if rushing yards per game is 113.6?
CREATE TABLE table_27487336_1 (passing_yards_per_game VARCHAR, rushing_yards_per_game VARCHAR)
SELECT passing_yards_per_game FROM table_27487336_1 WHERE rushing_yards_per_game = "113.6"
How many faculty members have 20 years of experience?
CREATE TABLE table_17384764_1 (designation VARCHAR, experience VARCHAR)
SELECT COUNT(designation) FROM table_17384764_1 WHERE experience = "20 years"
What is the start of stage 11?
CREATE TABLE table_name_8 (start VARCHAR, stage VARCHAR)
SELECT start FROM table_name_8 WHERE stage = 11
Who directed the episode with production code ip01003?
CREATE TABLE table_29273057_1 (directed_by VARCHAR, production_code VARCHAR)
SELECT directed_by FROM table_29273057_1 WHERE production_code = "IP01003"
How many sets were played in the 2011 Tournament in which there were 3R in 2007?
CREATE TABLE table_name_81 (Id VARCHAR)
SELECT 2011 FROM table_name_81 WHERE 2007 = "3r"
What try bonus has 19 as the tries against?
CREATE TABLE table_name_17 (try_bonus VARCHAR, tries_against VARCHAR)
SELECT try_bonus FROM table_name_17 WHERE tries_against = "19"
What position does the player from the MLS New England Revolution team hold?
CREATE TABLE table_name_35 (position VARCHAR, mls_team VARCHAR)
SELECT position FROM table_name_35 WHERE mls_team = "new england revolution"
I want the constructor for brakes and grid less than 14
CREATE TABLE table_name_39 (constructor VARCHAR, time_retired VARCHAR, grid VARCHAR)
SELECT constructor FROM table_name_39 WHERE time_retired = "brakes" AND grid < 14
When there were 554 points, what was the point difference?
CREATE TABLE table_name_37 (points_difference VARCHAR, points_for VARCHAR)
SELECT points_difference FROM table_name_37 WHERE points_for = "554"
What is the largest n value for 55.6% r1b1c4 (r-v69)?
CREATE TABLE table_21481509_4 (n INTEGER, r1b1c4__r_v69_ VARCHAR)
SELECT MAX(n) FROM table_21481509_4 WHERE r1b1c4__r_v69_ = "55.6%"
What is the most frequent status of bookings?
CREATE TABLE BOOKINGS (Status_Code VARCHAR)
SELECT Status_Code FROM BOOKINGS GROUP BY Status_Code ORDER BY COUNT(*) DESC LIMIT 1
What is Package/Option, when HDTV is no, when Language is Italian, and when Television service is cartello promozionale sky hd?
CREATE TABLE table_name_43 (package_option VARCHAR, television_service VARCHAR, hdtv VARCHAR, language VARCHAR)
SELECT package_option FROM table_name_43 WHERE hdtv = "no" AND language = "italian" AND television_service = "cartello promozionale sky hd"
Who ran unsuccessfully against Bill Hefner?
CREATE TABLE table_1341522_36 (opponent VARCHAR, incumbent VARCHAR)
SELECT opponent FROM table_1341522_36 WHERE incumbent = "Bill Hefner"
Name the package/option for giappone
CREATE TABLE table_15887683_8 (package_option VARCHAR, country VARCHAR)
SELECT package_option FROM table_15887683_8 WHERE country = "Giappone"
Name who wrote the episode that had 7.56 million viewers
CREATE TABLE table_16951593_1 (written_by VARCHAR, us_viewers__millions_ VARCHAR)
SELECT written_by FROM table_16951593_1 WHERE us_viewers__millions_ = "7.56"
What player has the score of 67-72=139?
CREATE TABLE table_name_58 (player VARCHAR, score VARCHAR)
SELECT player FROM table_name_58 WHERE score = 67 - 72 = 139
What is the status of Norris?
CREATE TABLE table_name_31 (status VARCHAR, name VARCHAR)
SELECT status FROM table_name_31 WHERE name = "norris"
Name the city with july of 88 °f / 31.1 °c
CREATE TABLE table_name_74 (city VARCHAR, jul VARCHAR)
SELECT city FROM table_name_74 WHERE jul = "88 °f / 31.1 °c"
What is the english word Monsoon in Tamil?
CREATE TABLE table_name_23 (season_in_tamil VARCHAR, season_in_english VARCHAR)
SELECT season_in_tamil FROM table_name_23 WHERE season_in_english = "monsoon"
With theme the Year They Were Born, what is the song of choice?
CREATE TABLE table_21501565_1 (song_choice VARCHAR, theme VARCHAR)
SELECT song_choice FROM table_21501565_1 WHERE theme = "Year They Were Born"
Which player has fewer than 3 rounds and the position of (g)?
CREATE TABLE table_name_73 (player VARCHAR, round VARCHAR, position VARCHAR)
SELECT player FROM table_name_73 WHERE round < 3 AND position = "(g)"
What was the result for the film life, above all?
CREATE TABLE table_13700749_1 (result VARCHAR, film_title VARCHAR)
SELECT result FROM table_13700749_1 WHERE film_title = "Life, Above All"
Which award has the category of the best direction of a musical?
CREATE TABLE table_name_69 (award VARCHAR, category VARCHAR)
SELECT award FROM table_name_69 WHERE category = "best direction of a musical"
what is the total number of sesamin were secoisolariciresinol is 240?
CREATE TABLE table_1831262_2 (sesamin VARCHAR, secoisolariciresinol VARCHAR)
SELECT sesamin FROM table_1831262_2 WHERE secoisolariciresinol = 240
What is the average value for events won by KCL in a year earlier than 2004?
CREATE TABLE table_name_58 (events_won_by_kcl INTEGER, year INTEGER)
SELECT AVG(events_won_by_kcl) FROM table_name_58 WHERE year < 2004
What was the result for the opponent being gerardi rinaldi in 2009?
CREATE TABLE table_name_14 (result VARCHAR, date VARCHAR, opponent VARCHAR)
SELECT result FROM table_name_14 WHERE date = 2009 AND opponent = "gerardi rinaldi"
What Chassis had a Weslake v12 in it?
CREATE TABLE table_name_30 (chassis VARCHAR, engine VARCHAR)
SELECT chassis FROM table_name_30 WHERE engine = "weslake v12"
What is the 2004 population for 昌黎县?
CREATE TABLE table_name_87 (population__2004_est_ VARCHAR, hanzi VARCHAR)
SELECT population__2004_est_ FROM table_name_87 WHERE hanzi = "昌黎县"
In what even was the compulsory dance scored 23.75?
CREATE TABLE table_22644589_4 (event VARCHAR, compulsory_dance__cd_ VARCHAR)
SELECT event FROM table_22644589_4 WHERE compulsory_dance__cd_ = "23.75"
What was the average attendance on 18 October 2000?
CREATE TABLE table_name_51 (attendance INTEGER, date VARCHAR)
SELECT AVG(attendance) FROM table_name_51 WHERE date = "18 october 2000"