answer
stringlengths
18
557
question
stringlengths
12
244
context
stringlengths
27
489
SELECT status FROM table_name_15 WHERE eliminated = "anton dela paz"
Tell me the status of eliminated of anton dela paz
CREATE TABLE table_name_15 (status VARCHAR, eliminated VARCHAR)
SELECT venue FROM table_name_25 WHERE score = "2:3"
Which venue was used for the game whose score was 2:3?
CREATE TABLE table_name_25 (venue VARCHAR, score VARCHAR)
SELECT class FROM table_name_42 WHERE identifier = "cbfx-fm-2"
What Class has the Identifier fo CBFX-FM-2?
CREATE TABLE table_name_42 (class VARCHAR, identifier VARCHAR)
SELECT date FROM table_name_11 WHERE attendance = "45,024"
What date has attendance listed as 45,024?
CREATE TABLE table_name_11 (date VARCHAR, attendance VARCHAR)
SELECT AVG(hours) FROM projects
Find the average hours of all projects.
CREATE TABLE projects (hours INTEGER)
SELECT date FROM table_1140119_5 WHERE circuit = "Albi"
When was the Albi circuit race driven?
CREATE TABLE table_1140119_5 (date VARCHAR, circuit VARCHAR)
SELECT runners_up FROM table_name_9 WHERE winners < 1 AND years_runner_up = "1985 , 1996"
How many runners up for the team with under 1 win and a Years runner-up of 1985 , 1996?
CREATE TABLE table_name_9 (runners_up VARCHAR, winners VARCHAR, years_runner_up VARCHAR)
SELECT new_returning_same_network FROM table_name_12 WHERE previous_network = "nbc" AND show = "blockbusters"
Which New/Returning/Same Network has a Previous Network of nbc, and a Show of blockbusters?
CREATE TABLE table_name_12 (new_returning_same_network VARCHAR, previous_network VARCHAR, show VARCHAR)
SELECT venue FROM table_name_40 WHERE position = "2nd" AND year = 1985
Which venue was finished in 2nd position in 1985?
CREATE TABLE table_name_40 (venue VARCHAR, position VARCHAR, year VARCHAR)
SELECT date FROM table_name_77 WHERE h_a_n = "h" AND score = "112-118"
What is Date, when H/A/N is "H", and when Score is 112-118?
CREATE TABLE table_name_77 (date VARCHAR, h_a_n VARCHAR, score VARCHAR)
SELECT game FROM table_name_14 WHERE record = "27-12"
What game has 27-12 record?
CREATE TABLE table_name_14 (game VARCHAR, record VARCHAR)
SELECT director FROM table_name_96 WHERE gross = "$200,512,643"
What director grossed $200,512,643
CREATE TABLE table_name_96 (director VARCHAR, gross VARCHAR)
SELECT batting_team FROM table_11303072_5 WHERE runs = "276"
What is the batting team where the runs are 276?
CREATE TABLE table_11303072_5 (batting_team VARCHAR, runs VARCHAR)
SELECT format FROM table_name_92 WHERE region = "united states" AND date = "august 11, 2009"
Which format had a United States region and a date of August 11, 2009?
CREATE TABLE table_name_92 (format VARCHAR, region VARCHAR, date VARCHAR)
SELECT swimsuit FROM table_12094609_1 WHERE average = "8.670"
what's the swimsuit where average is 8.670
CREATE TABLE table_12094609_1 (swimsuit VARCHAR, average VARCHAR)
SELECT player FROM table_name_43 WHERE total = "wd" AND to_par < 16 AND year_s__won = "1967"
If 1967 is the winning year and a player has a total recorded as wd with a To par under 16, what's the players name?
CREATE TABLE table_name_43 (player VARCHAR, year_s__won VARCHAR, total VARCHAR, to_par VARCHAR)
SELECT COUNT(week) FROM table_name_73 WHERE record = "5-5"
What is the total number of weeks that the Seahawks had a record of 5-5?
CREATE TABLE table_name_73 (week VARCHAR, record VARCHAR)
SELECT first_elected FROM table_1341453_34 WHERE incumbent = "Ed Towns"
What's the first elected year of the district that Ed Towns is an incumbent of?
CREATE TABLE table_1341453_34 (first_elected VARCHAR, incumbent VARCHAR)
SELECT MAX(r) FROM table WHERE total = 6
If the total is 6, what is the maximum R?
CREATE TABLE table (r INTEGER, total VARCHAR)
SELECT MAX(gold) FROM table_22355_26
What is the maximum number of golds?
CREATE TABLE table_22355_26 (gold INTEGER)
SELECT engine FROM table_name_51 WHERE team = "chesterfield racing" AND chassis = "march 761"
Which Engine has a Team of Chesterfield Racing and include a Chassis of March 761?
CREATE TABLE table_name_51 (engine VARCHAR, team VARCHAR, chassis VARCHAR)
SELECT partner FROM table_name_19 WHERE score_in_the_final = "6–4, 6–1"
what partner made the scores 6–4, 6–1?
CREATE TABLE table_name_19 (partner VARCHAR, score_in_the_final VARCHAR)
SELECT player FROM table_name_22 WHERE nhl_team = "new york rangers" AND pick__number = "31"
What is the name of the Player that shows the NHL team of new york rangers, and a Pick # of 31?
CREATE TABLE table_name_22 (player VARCHAR, nhl_team VARCHAR, pick__number VARCHAR)
SELECT SUM(crowd) FROM table_name_82 WHERE venue = "glenferrie oval"
What was the attendance when the VFL played Glenferrie Oval?
CREATE TABLE table_name_82 (crowd INTEGER, venue VARCHAR)
SELECT date FROM table_name_50 WHERE location = "warsaw" AND year = 1929
Tell me the date for warsaw 1929
CREATE TABLE table_name_50 (date VARCHAR, location VARCHAR, year VARCHAR)
SELECT date FROM table_name_48 WHERE away_team = "footscray"
On which date did Footscray play an away game?
CREATE TABLE table_name_48 (date VARCHAR, away_team VARCHAR)
SELECT centerfold_model FROM table_name_47 WHERE pictorials = "adrianne curry, girls of tuscany"
Who's the Centerfold model with a Pictorials of adrianne curry, girls of tuscany?
CREATE TABLE table_name_47 (centerfold_model VARCHAR, pictorials VARCHAR)
SELECT nationality FROM table_name_52 WHERE fate = "sunk" AND ship = "rinos"
What was the nationality of the sunk ship named Rinos?
CREATE TABLE table_name_52 (nationality VARCHAR, fate VARCHAR, ship VARCHAR)
SELECT SUM(silver) FROM table_name_34 WHERE gold < 4 AND total = 1 AND rank > 6
How much silver does the rank have that has gold smaller than 4, and a total of 1 and a rank larger than 6?
CREATE TABLE table_name_34 (silver INTEGER, rank VARCHAR, gold VARCHAR, total VARCHAR)
SELECT player FROM table_2897457_5 WHERE college_junior_club_team = "Avon Old Farms (USHS-CT)"
What player attended avon old farms (ushs-ct)?
CREATE TABLE table_2897457_5 (player VARCHAR, college_junior_club_team VARCHAR)
SELECT circuit FROM table_name_43 WHERE winning_driver = "peter whitehead"
Which circuit did Peter Whitehead win?
CREATE TABLE table_name_43 (circuit VARCHAR, winning_driver VARCHAR)
SELECT away_team AS score FROM table_name_24 WHERE away_team = "st kilda"
What is the St Kilda Away team score?
CREATE TABLE table_name_24 (away_team VARCHAR)
SELECT game FROM table_name_60 WHERE team = "waterford" AND début > 1995
What is the name of the game whose team is Waterford and debuted later than 1995?
CREATE TABLE table_name_60 (game VARCHAR, team VARCHAR, début VARCHAR)
SELECT Country FROM member GROUP BY Country ORDER BY COUNT(*) DESC LIMIT 1
Show the most common country across members.
CREATE TABLE member (Country VARCHAR)
SELECT championship FROM table_22858557_1 WHERE opponent_in_final = "Steffi Graf"
How many championships have there been with Steffi Graf?
CREATE TABLE table_22858557_1 (championship VARCHAR, opponent_in_final VARCHAR)
SELECT military_deaths FROM table_name_92 WHERE total_casualties = "1,615"
How many military deaths were there when there were 1,615 total casualties?
CREATE TABLE table_name_92 (military_deaths VARCHAR, total_casualties VARCHAR)
SELECT trailers FROM table_name_48 WHERE year = "1931" AND builder = "mccw"
I want the trailers for 1931 and builder of mccw
CREATE TABLE table_name_48 (trailers VARCHAR, year VARCHAR, builder VARCHAR)
SELECT democrat AS :_mark_begich FROM table_16751596_13 WHERE dates_administered = "October 6, 2008"
What was Mark Begich polling on October 6, 2008?
CREATE TABLE table_16751596_13 (democrat VARCHAR, dates_administered VARCHAR)
SELECT away_team FROM table_name_99 WHERE venue = "mcg"
When mcg is the Venue what's the Away team?
CREATE TABLE table_name_99 (away_team VARCHAR, venue VARCHAR)
SELECT guest FROM table_name_16 WHERE venue = "stadion prljanije"
Who was the guest at Stadion Prljanije?
CREATE TABLE table_name_16 (guest VARCHAR, venue VARCHAR)
SELECT assists FROM table_19722233_5 WHERE minutes = 195
how many assists did the player who played 195 minutes make
CREATE TABLE table_19722233_5 (assists VARCHAR, minutes VARCHAR)
SELECT constructor FROM table_name_5 WHERE laps > 3 AND driver = "jarno trulli"
Which constructor had a laps number bigger than 3 when the driver was Jarno Trulli?
CREATE TABLE table_name_5 (constructor VARCHAR, laps VARCHAR, driver VARCHAR)
SELECT country FROM table_name_93 WHERE player = "fred haas"
Where is Fred Haas from?
CREATE TABLE table_name_93 (country VARCHAR, player VARCHAR)
SELECT first_elected FROM table_name_82 WHERE party = "republican"
Who was the first elected for the republican party?
CREATE TABLE table_name_82 (first_elected VARCHAR, party VARCHAR)
SELECT MAX(pick__number) FROM table_21721351_18 WHERE player = "David Grannis"
What is the pick # for player david grannis?
CREATE TABLE table_21721351_18 (pick__number INTEGER, player VARCHAR)
SELECT COUNT(design) FROM table_11900773_6 WHERE theme = "XII Summit de la Francophonie"
How many stamps were designed for the theme of XII Summit de la Francophonie?
CREATE TABLE table_11900773_6 (design VARCHAR, theme VARCHAR)
SELECT venue FROM table_name_24 WHERE batsmen = "jamie cox & scott kremerskothen"
Where were jamie cox & scott kremerskothen paired?
CREATE TABLE table_name_24 (venue VARCHAR, batsmen VARCHAR)
SELECT county FROM table_name_64 WHERE cerclis_id = "scd037405362"
What county has a CERCLIS ID of scd037405362?
CREATE TABLE table_name_64 (county VARCHAR, cerclis_id VARCHAR)
SELECT country FROM table_name_31 WHERE athletes = "adam van koeverden"
What country does Adam van Koeverden play for?
CREATE TABLE table_name_31 (country VARCHAR, athletes VARCHAR)
SELECT country FROM table_name_90 WHERE wins > 2 AND rank = 2 AND name = "federico bahamontes"
Which Country has Wins larger than 2, and a Rank of 2, and a Name of federico bahamontes?
CREATE TABLE table_name_90 (country VARCHAR, name VARCHAR, wins VARCHAR, rank VARCHAR)
SELECT railway_number_s_ FROM table_name_28 WHERE class = "d(rebuild)"
What's the railway number of a D(rebuild) class?
CREATE TABLE table_name_28 (railway_number_s_ VARCHAR, class VARCHAR)
SELECT AVG(losses) FROM table_name_37 WHERE games_played > 8
What is the average losses for the team(s) that played more than 8 games?
CREATE TABLE table_name_37 (losses INTEGER, games_played INTEGER)
SELECT MIN(number_of_hurricanes) FROM table_2930244_3
What is the lowest overall number of hurricanes?
CREATE TABLE table_2930244_3 (number_of_hurricanes INTEGER)
SELECT polling_dates FROM table_name_41 WHERE alex_munter = "25%" AND polling_firm = "decima"
What dates does Alex Munter have 25% and the polling firm of Decima?
CREATE TABLE table_name_41 (polling_dates VARCHAR, alex_munter VARCHAR, polling_firm VARCHAR)
SELECT round_of_16 FROM table_29521180_35 WHERE athlete = "Felipe Saucedo"
What was the round of 16 result for felipe saucedo?
CREATE TABLE table_29521180_35 (round_of_16 VARCHAR, athlete VARCHAR)
SELECT time FROM table_name_30 WHERE rider = "loris capirossi"
What is Loris Capirossi's time?
CREATE TABLE table_name_30 (time VARCHAR, rider VARCHAR)
SELECT guardian_mātṛkā FROM table_100518_1 WHERE consort = "Svāhā"
What is the guardian mātṛkā for the guardian whose consort is Svāhā?
CREATE TABLE table_100518_1 (guardian_mātṛkā VARCHAR, consort VARCHAR)
SELECT team FROM table_name_7 WHERE run_4 = "1:24.4"
Which team had a run 4 of 1:24.4?
CREATE TABLE table_name_7 (team VARCHAR, run_4 VARCHAR)
SELECT school_club_team FROM table_name_51 WHERE nationality = "united states" AND years_for_grizzlies = "1995-1996"
What's the United States team that played for the Grizzlies in 1995-1996?
CREATE TABLE table_name_51 (school_club_team VARCHAR, nationality VARCHAR, years_for_grizzlies VARCHAR)
SELECT SUM(laps) FROM table_name_5 WHERE grid < 28 AND time = "retirement" AND bike = "ducati 1098 f08"
What is the sum of the laps with a grid less than 28, retirement time, and a ducati 1098 f08 bikes?
CREATE TABLE table_name_5 (laps INTEGER, bike VARCHAR, grid VARCHAR, time VARCHAR)
SELECT COUNT(*) FROM home_game AS T1 JOIN park AS T2 ON T1.park_id = T2.park_id WHERE T1.year = 1907 AND T2.park_name = 'Columbia Park'
How many games were played in park "Columbia Park" in 1907?
CREATE TABLE park (park_id VARCHAR, park_name VARCHAR); CREATE TABLE home_game (park_id VARCHAR, year VARCHAR)
SELECT player FROM table_11545282_18 WHERE years_for_jazz = "2004-05"
Which player played 2004-05
CREATE TABLE table_11545282_18 (player VARCHAR, years_for_jazz VARCHAR)
SELECT COUNT(pos) FROM table_name_49 WHERE driver = "todd bodine" AND car__number > 30
How many Pos have a Driver of todd bodine, and a Car # larger than 30?
CREATE TABLE table_name_49 (pos VARCHAR, driver VARCHAR, car__number VARCHAR)
SELECT sensor_res, _size FROM table_name_74 WHERE model = "s9200"
Name the sensor res for model of s9200
CREATE TABLE table_name_74 (sensor_res VARCHAR, _size VARCHAR, model VARCHAR)
SELECT rowers FROM table_name_54 WHERE country = "australia"
Who are the rowers for Australia?
CREATE TABLE table_name_54 (rowers VARCHAR, country VARCHAR)
SELECT date FROM table_name_56 WHERE handler = "mike jackson" AND event = "indianapolis boat, sport & travel show"
On what date was Mike Jackson a handler at the Indianapolis Boat, Sport & Travel Show?
CREATE TABLE table_name_56 (date VARCHAR, handler VARCHAR, event VARCHAR)
SELECT status FROM table_name_90 WHERE area_km_2 < 27.82 AND population = 352
What status has an area km 2 less than 27.82, with 352 as the population?
CREATE TABLE table_name_90 (status VARCHAR, area_km_2 VARCHAR, population VARCHAR)
SELECT year FROM table_name_12 WHERE extra = 8 AND result = "3rd"
What year has an extra of 8, and a result of 3rd?
CREATE TABLE table_name_12 (year VARCHAR, extra VARCHAR, result VARCHAR)
SELECT home_team AS score FROM table_name_24 WHERE home_team = "richmond"
When Richmond was the home team, what was the home team score?
CREATE TABLE table_name_24 (home_team VARCHAR)
SELECT arizona FROM table_name_50 WHERE utah = "eisenhower"
What's the value for arizona when utah is eisenhower?
CREATE TABLE table_name_50 (arizona VARCHAR, utah VARCHAR)
SELECT date FROM table_name_35 WHERE final_score = "7-23"
What game had the date was it with the final score of 7-23
CREATE TABLE table_name_35 (date VARCHAR, final_score VARCHAR)
SELECT written_by FROM table_18268826_1 WHERE us_viewers__million_ = "3.25"
Who's the writer of the episode seen by 3.25 million people in the US?
CREATE TABLE table_18268826_1 (written_by VARCHAR, us_viewers__million_ VARCHAR)
SELECT division FROM table_name_76 WHERE wins = "2"
What is the division with wins of 2?
CREATE TABLE table_name_76 (division VARCHAR, wins VARCHAR)
SELECT venue FROM table_name_76 WHERE away_team = "st kilda"
Name the venue where St Kilda was the opposing away team
CREATE TABLE table_name_76 (venue VARCHAR, away_team VARCHAR)
SELECT COUNT(paper_type) FROM table_11900773_6 WHERE design = "Ian Drolet"
How many paper types did Ian Drolet design stamps on?
CREATE TABLE table_11900773_6 (paper_type VARCHAR, design VARCHAR)
SELECT COUNT(*) FROM customers AS t1 JOIN customers_policies AS t2 ON t1.customer_id = t2.customer_id WHERE t1.customer_name = "Dayana Robel"
How many policies are listed for the customer named "Dayana Robel"?
CREATE TABLE customers (customer_id VARCHAR, customer_name VARCHAR); CREATE TABLE customers_policies (customer_id VARCHAR)
SELECT high_points FROM table_name_22 WHERE series = "4-2"
Who had the highest points when the series was 4-2?
CREATE TABLE table_name_22 (high_points VARCHAR, series VARCHAR)
SELECT MIN(rockhampton) FROM table_12570207_1
what is the minimum rockhampton
CREATE TABLE table_12570207_1 (rockhampton INTEGER)
SELECT result FROM table_22853654_9 WHERE opponent = "Wesley Moodie"
Name the result for wesley moodie
CREATE TABLE table_22853654_9 (result VARCHAR, opponent VARCHAR)
SELECT result FROM table_name_39 WHERE opponent = "blackburn rovers"
what is the result when the opponent is blackburn rovers?
CREATE TABLE table_name_39 (result VARCHAR, opponent VARCHAR)
SELECT res FROM table_name_98 WHERE event = "call to arms i"
What is the result for the Call to Arms I event?
CREATE TABLE table_name_98 (res VARCHAR, event VARCHAR)
SELECT COUNT(player) FROM table_14342367_15 WHERE total_points = 75
How many player with total points of 75
CREATE TABLE table_14342367_15 (player VARCHAR, total_points VARCHAR)
SELECT date FROM table_name_14 WHERE venue = "jjb stadium" AND result = "w"
What date is for Venue of jjb stadium, and a Result of w?
CREATE TABLE table_name_14 (date VARCHAR, venue VARCHAR, result VARCHAR)
SELECT player FROM table_name_85 WHERE date_of_birth__age_when_delisted_ = "13 february 1987 (aged 24)"
Which Player has a Date of Birth (Age When Delisted) of 13 February 1987 (aged 24)?
CREATE TABLE table_name_85 (player VARCHAR, date_of_birth__age_when_delisted_ VARCHAR)
SELECT MIN(chapter) FROM table_1216675_1 WHERE pinyin = "Shiqiu"
What chapter number is Shiqiu?
CREATE TABLE table_1216675_1 (chapter INTEGER, pinyin VARCHAR)
SELECT date FROM table_name_32 WHERE set_2 = "13–25"
What is the Date when the Set 2 is 13–25?
CREATE TABLE table_name_32 (date VARCHAR, set_2 VARCHAR)
SELECT COUNT(record) FROM table_17058151_7 WHERE game = 43
How many games was game 43?
CREATE TABLE table_17058151_7 (record VARCHAR, game VARCHAR)
SELECT MAX(gold) FROM table_name_27 WHERE silver < 1 AND bronze = 1 AND total < 1
How much gold when silver, bronze and total is smaller than 1?
CREATE TABLE table_name_27 (gold INTEGER, total VARCHAR, silver VARCHAR, bronze VARCHAR)
SELECT home_team FROM table_name_41 WHERE away_team = "kwong wah"
What is the home team when kwong wah was the away team?
CREATE TABLE table_name_41 (home_team VARCHAR, away_team VARCHAR)
SELECT 2000 FROM table_name_18 WHERE category = "sub 1 litre"
What car was awarded sub 1 litre in 2000?
CREATE TABLE table_name_18 (category VARCHAR)
SELECT score FROM table_name_56 WHERE visitor = "bucks" AND home = "timberwolves"
Name the score for bucks with timberwolves
CREATE TABLE table_name_56 (score VARCHAR, visitor VARCHAR, home VARCHAR)
SELECT COUNT(episode) FROM table_name_70 WHERE performer_3 = "hugh laurie"
What is the total number of episodes where hugh laurie was the 3rd performer?
CREATE TABLE table_name_70 (episode VARCHAR, performer_3 VARCHAR)
SELECT launched FROM table_name_18 WHERE name = "harusame"
What is the launched date for the Harusame ship?
CREATE TABLE table_name_18 (launched VARCHAR, name VARCHAR)
SELECT MAX(attendance) FROM table_name_4 WHERE date = "november 9, 1958"
What was the higest attendance on November 9, 1958?
CREATE TABLE table_name_4 (attendance INTEGER, date VARCHAR)
SELECT round FROM table_name_47 WHERE pick = 174
Which Round has a Pick of 174?
CREATE TABLE table_name_47 (round VARCHAR, pick VARCHAR)
SELECT name FROM table_name_83 WHERE fa_cup_goals = 0 AND league_cup_goals < 2 AND total_goals = 2
Who had fa cup goals of 0, league cup goals less than 2, and total goals of 2?
CREATE TABLE table_name_83 (name VARCHAR, total_goals VARCHAR, fa_cup_goals VARCHAR, league_cup_goals VARCHAR)
SELECT year FROM table_name_52 WHERE distance = "1,870.23 km"
In what year saw a total distance of 1,870.23 km?
CREATE TABLE table_name_52 (year VARCHAR, distance VARCHAR)
SELECT round FROM table_name_21 WHERE college = "stanford"
Which round goes to Stanford college?
CREATE TABLE table_name_21 (round VARCHAR, college VARCHAR)
SELECT engine_code FROM table_name_76 WHERE model = "xdrive25i"
What is the engine code for the Xdrive25i?
CREATE TABLE table_name_76 (engine_code VARCHAR, model VARCHAR)
SELECT mascot FROM table_12434380_1 WHERE institution = "Kansas City Kansas Community College"
What is the mascot for the instition of Kansas city Kansas community college?
CREATE TABLE table_12434380_1 (mascot VARCHAR, institution VARCHAR)