answer
stringlengths
18
557
question
stringlengths
12
244
context
stringlengths
27
489
SELECT nationality FROM table_name_54 WHERE player = "michael del zotto"
What is Michael Del Zotto's nationality?
CREATE TABLE table_name_54 (nationality VARCHAR, player VARCHAR)
SELECT category FROM table_name_45 WHERE outcome = "winner"
What category was the winner in?
CREATE TABLE table_name_45 (category VARCHAR, outcome VARCHAR)
SELECT laps FROM table_name_1 WHERE rank = "16"
How many laps does the one ranked 16 have?
CREATE TABLE table_name_1 (laps VARCHAR, rank VARCHAR)
SELECT european_cup FROM table_name_24 WHERE national_league = "israeli premier league"
What European Cup is in Israeli Premier League?
CREATE TABLE table_name_24 (european_cup VARCHAR, national_league VARCHAR)
SELECT COUNT(area__km²_) FROM table_298550_1 WHERE population_density__per_km²_ = "207.9"
How many entries for area correspond to a population density of 207.9?
CREATE TABLE table_298550_1 (area__km²_ VARCHAR, population_density__per_km²_ VARCHAR)
SELECT MIN(first_elected) FROM table_name_26 WHERE incumbent = "howard mckeon"
What is the earliest first elected date of incumbent howard mckeon?
CREATE TABLE table_name_26 (first_elected INTEGER, incumbent VARCHAR)
SELECT COUNT(against) FROM table_name_84 WHERE wins > 15
How many Againsts have more than 15 wins?
CREATE TABLE table_name_84 (against VARCHAR, wins INTEGER)
SELECT COUNT(poles) FROM table_name_66 WHERE points = "63"
What is the total number of poles and 63 points?
CREATE TABLE table_name_66 (poles VARCHAR, points VARCHAR)
SELECT ihsaa_class FROM table_name_80 WHERE mascot = "rebels"
What is the IHSAA class for the school where the mascot is the Rebels?
CREATE TABLE table_name_80 (ihsaa_class VARCHAR, mascot VARCHAR)
SELECT race_winner FROM table_name_48 WHERE event_name = "southern illinois 100"
Who was the Race Winner of the Southern Illinois 100?
CREATE TABLE table_name_48 (race_winner VARCHAR, event_name VARCHAR)
SELECT date FROM table_name_21 WHERE remainder = "20%"
Which Date has a Remainder of 20%?
CREATE TABLE table_name_21 (date VARCHAR, remainder VARCHAR)
SELECT COUNT(won) FROM table_13018091_1 WHERE pts_for = 616
How many teams scored 616 points?
CREATE TABLE table_13018091_1 (won VARCHAR, pts_for VARCHAR)
SELECT AVG(points) FROM table_name_63 WHERE engine = "ford zetec-r v8"
What are the average points for an engine of ford zetec-r v8?
CREATE TABLE table_name_63 (points INTEGER, engine VARCHAR)
SELECT name FROM table_name_89 WHERE rank = 5
What is the name of Rank 5?
CREATE TABLE table_name_89 (name VARCHAR, rank VARCHAR)
SELECT Birth_Date FROM People ORDER BY Height
What are the birthdays of people in ascending order of height?
CREATE TABLE People (Birth_Date VARCHAR, Height VARCHAR)
SELECT position FROM table_name_81 WHERE pick = 32
What is the position of pick 32?
CREATE TABLE table_name_81 (position VARCHAR, pick VARCHAR)
SELECT round FROM table_name_12 WHERE club = "spartak moscow"
What round did the spartak moscow club play?
CREATE TABLE table_name_12 (round VARCHAR, club VARCHAR)
SELECT COUNT(appearances) FROM table_2517159_1 WHERE name_of_bowl = "Independence Bowl"
Name the appearance for independence bowl
CREATE TABLE table_2517159_1 (appearances VARCHAR, name_of_bowl VARCHAR)
SELECT total FROM table_name_75 WHERE country = "england"
What was England's total?
CREATE TABLE table_name_75 (total VARCHAR, country VARCHAR)
SELECT call_sign FROM table_1404984_1 WHERE virtual_channel = "33.7"
What is channel 33.7's official call sign?
CREATE TABLE table_1404984_1 (call_sign VARCHAR, virtual_channel VARCHAR)
SELECT circuit FROM table_14016079_1 WHERE race_title = "City of Ipswich 400"
On what circuit was the City of Ipswich 400 race held?
CREATE TABLE table_14016079_1 (circuit VARCHAR, race_title VARCHAR)
SELECT COUNT(DISTINCT bike_id) FROM trip
From the trip record, find the number of unique bikes.
CREATE TABLE trip (bike_id VARCHAR)
SELECT city_town FROM table_157826_1 WHERE municipality = "Horten"
What are the cities/towns located in the municipality of Horten?
CREATE TABLE table_157826_1 (city_town VARCHAR, municipality VARCHAR)
SELECT week_6_oct_5 FROM table_name_37 WHERE week_14_nov_30 = "texas (11-1)"
Which Week 6 Oct 5 has a Week 14 Nov 30 of texas (11-1)?
CREATE TABLE table_name_37 (week_6_oct_5 VARCHAR, week_14_nov_30 VARCHAR)
SELECT spent_per_voter___php__ FROM table_22097588_9 WHERE amount_spent___php__ = "210,280,000"
What was spent per voter when total amount spent was 210,280,000?
CREATE TABLE table_22097588_9 (spent_per_voter___php__ VARCHAR, amount_spent___php__ VARCHAR)
SELECT power FROM table_name_48 WHERE identifier = "cbeb-fm"
What is Power, when Identifier is CBEB-FM?
CREATE TABLE table_name_48 (power VARCHAR, identifier VARCHAR)
SELECT SUM(game) FROM table_name_24 WHERE set_4 = "25-21" AND set_3 = "25-23"
What is the sum of the Game with a Set 4 of 25-21 and a Set 3 of 25-23?
CREATE TABLE table_name_24 (game INTEGER, set_4 VARCHAR, set_3 VARCHAR)
SELECT position FROM table_27132791_3 WHERE college = "Vanderbilt"
If the college is Vanderbilt, what is the position?
CREATE TABLE table_27132791_3 (position VARCHAR, college VARCHAR)
SELECT home FROM table_name_63 WHERE score = "0:2"
Which Home has a Score of 0:2?
CREATE TABLE table_name_63 (home VARCHAR, score VARCHAR)
SELECT T2.company_name FROM movie AS T1 JOIN culture_company AS T2 ON T1.movie_id = T2.movie_id WHERE T1.year = 1999
Show all company names with a movie directed in year 1999.
CREATE TABLE movie (movie_id VARCHAR, year VARCHAR); CREATE TABLE culture_company (company_name VARCHAR, movie_id VARCHAR)
SELECT total FROM table_name_98 WHERE name = "danny allsopp"
What is the total for danny allsopp?
CREATE TABLE table_name_98 (total VARCHAR, name VARCHAR)
SELECT ihsaa_class___football___soccer FROM table_name_43 WHERE location = "alexandria"
what is teh ihsaa class/football/soccer when the location is alexandria?
CREATE TABLE table_name_43 (ihsaa_class___football___soccer VARCHAR, location VARCHAR)
SELECT MAX(population) FROM table_name_91 WHERE town_status = "2010"
What is the highest population of a city that has a town status of 2010?
CREATE TABLE table_name_91 (population INTEGER, town_status VARCHAR)
SELECT COUNT(flaps) FROM table_16908657_1 WHERE points = "63"
Name the number of flaps for 63 points
CREATE TABLE table_16908657_1 (flaps VARCHAR, points VARCHAR)
SELECT MAX(highest) FROM table_name_20 WHERE average = 615 AND capacity > 4 OFFSET 000
What's the highest with a capacity of greater than 4,000 and an average of 615?
CREATE TABLE table_name_20 (highest INTEGER, average VARCHAR, capacity VARCHAR)
SELECT team FROM table_27268238_5 WHERE economy = "5.73"
What is the team when the economy is 5.73?
CREATE TABLE table_27268238_5 (team VARCHAR, economy VARCHAR)
SELECT team FROM table_21824695_8 WHERE match_played = "10 4"
Which team has a match played of 10 4?
CREATE TABLE table_21824695_8 (team VARCHAR, match_played VARCHAR)
SELECT method FROM table_name_56 WHERE record = "4-2"
What was the method when 4-2 was the record?
CREATE TABLE table_name_56 (method VARCHAR, record VARCHAR)
SELECT date FROM table_30073089_2 WHERE location = "S. Valentino Alla Muta , Italia"
Name the date for s. valentino alla muta , italia
CREATE TABLE table_30073089_2 (date VARCHAR, location VARCHAR)
SELECT laid_down FROM table_name_57 WHERE ship = "fearless"
Which Laid down has a Ship of fearless?
CREATE TABLE table_name_57 (laid_down VARCHAR, ship VARCHAR)
SELECT drawn FROM table_1676073_12 WHERE lost = "11" AND points_for = "748"
How many games drawn for the team that lost 11 and had 748 points?
CREATE TABLE table_1676073_12 (drawn VARCHAR, lost VARCHAR, points_for VARCHAR)
SELECT year FROM table_name_36 WHERE points = 12 AND engine = "cosworth v8"
Which year had a Cosworth V8 engine and 12 points?
CREATE TABLE table_name_36 (year VARCHAR, points VARCHAR, engine VARCHAR)
SELECT location FROM table_name_68 WHERE year > 2006
Which location had a year over 2006?
CREATE TABLE table_name_68 (location VARCHAR, year INTEGER)
SELECT COUNT(seasons) FROM table_name_2 WHERE coach = "pat chambers"
How many seasons did Pat Chambers coach?
CREATE TABLE table_name_2 (seasons VARCHAR, coach VARCHAR)
SELECT school FROM table_name_24 WHERE team_name = "red devils"
Which school are the Red Devils from?
CREATE TABLE table_name_24 (school VARCHAR, team_name VARCHAR)
SELECT score FROM table_name_25 WHERE competition = "1998 fifa world cup qualification"
What was the score of the 1998 FIFA World Cup qualification competition?
CREATE TABLE table_name_25 (score VARCHAR, competition VARCHAR)
SELECT winning_driver FROM table_16670746_2 WHERE circuit = "Okayama International circuit"
Who was the winning driver at Okayama International Circuit?
CREATE TABLE table_16670746_2 (winning_driver VARCHAR, circuit VARCHAR)
SELECT record FROM table_name_21 WHERE event = "tpf 5: stars and strikes"
Which Record has an Event of tpf 5: stars and strikes?
CREATE TABLE table_name_21 (record VARCHAR, event VARCHAR)
SELECT score FROM table_name_73 WHERE venue = "estadio nacional" AND date = "3 march 1988"
What is the score of the match on 3 March 1988 at the estadio nacional?
CREATE TABLE table_name_73 (score VARCHAR, venue VARCHAR, date VARCHAR)
SELECT owner FROM table_name_26 WHERE language = "english" AND name = "espn international sports"
Which ESPN international sports owner speaks English?
CREATE TABLE table_name_26 (owner VARCHAR, language VARCHAR, name VARCHAR)
SELECT driver FROM table_16493961_1 WHERE date = "June 23" AND team = "Penske Racing"
Name the driver for june 23 and team of penske racing
CREATE TABLE table_16493961_1 (driver VARCHAR, date VARCHAR, team VARCHAR)
SELECT country FROM table_name_1 WHERE of_1 = "locotenent"
What country has OF-1 Locotenent?
CREATE TABLE table_name_1 (country VARCHAR, of_1 VARCHAR)
SELECT COUNT(total) FROM table_name_16 WHERE sport = "vovinam" AND bronze < 3
Tell me the total number of total for vovinam and bronze less than 3
CREATE TABLE table_name_16 (total VARCHAR, sport VARCHAR, bronze VARCHAR)
SELECT race FROM table_name_88 WHERE time = "17:11.572"
Who holds the time of 17:11.572?
CREATE TABLE table_name_88 (race VARCHAR, time VARCHAR)
SELECT MAX(total) FROM table_name_8 WHERE position = "8th" AND a_score > 6.6
what is the total scored for the 8th position and a score more than 6.6
CREATE TABLE table_name_8 (total INTEGER, position VARCHAR, a_score VARCHAR)
SELECT MIN(no_in_series) FROM table_17758010_2
What is the lowest no. in series?
CREATE TABLE table_17758010_2 (no_in_series INTEGER)
SELECT erp_w FROM table_name_22 WHERE call_sign = "k236am"
What is the ERP W for K236AM?
CREATE TABLE table_name_22 (erp_w VARCHAR, call_sign VARCHAR)
SELECT thurs_25_aug FROM table_30058355_2 WHERE fri_26_aug = "19' 30.70 116.023mph"
What shows for thurs 25 aug when fri 26 aug is 19' 30.70 116.023mph?
CREATE TABLE table_30058355_2 (thurs_25_aug VARCHAR, fri_26_aug VARCHAR)
SELECT nationality FROM table_15621965_1 WHERE no = 9
Name the nationality of number 9
CREATE TABLE table_15621965_1 (nationality VARCHAR, no VARCHAR)
SELECT competition FROM table_name_10 WHERE year < 2006 AND venue = "svk nitra"
What are the competitions that occurred before 2006 in SVK Nitra?
CREATE TABLE table_name_10 (competition VARCHAR, year VARCHAR, venue VARCHAR)
SELECT score FROM table_name_27 WHERE leading_scorer = "manu ginóbili (44)"
What is the score of the game with Manu ginóbili (44) as the leading scorer?
CREATE TABLE table_name_27 (score VARCHAR, leading_scorer VARCHAR)
SELECT COUNT(height) FROM table_name_21 WHERE spike < 352 AND block > 300 AND name = "pablo meana"
What is the total number of Height(s), when Spike is less than 352, when Block is greater than 300, and when Name is Pablo Meana?
CREATE TABLE table_name_21 (height VARCHAR, name VARCHAR, spike VARCHAR, block VARCHAR)
SELECT july FROM table_name_23 WHERE annual_precipitation = "514mm (20.2in)"
What is the July temperature where the annual precipitation is 514mm (20.2in)?
CREATE TABLE table_name_23 (july VARCHAR, annual_precipitation VARCHAR)
SELECT champion FROM table_name_80 WHERE runner_up = "c.a. palmer"
Who was the champion in the match where C.A. Palmer was the runner-up?
CREATE TABLE table_name_80 (champion VARCHAR, runner_up VARCHAR)
SELECT Software_Platform FROM device GROUP BY Software_Platform ORDER BY COUNT(*) DESC
Please show the software platforms of devices in descending order of the count.
CREATE TABLE device (Software_Platform VARCHAR)
SELECT party FROM table_name_94 WHERE name = "madeleine plamondon"
Which party is Madeleine Plamondon a member of?
CREATE TABLE table_name_94 (party VARCHAR, name VARCHAR)
SELECT paris FROM table_name_71 WHERE france = "1.4%"
WHAT IS THE PARIS WITH A FRANCE OF 1.4%?
CREATE TABLE table_name_71 (paris VARCHAR, france VARCHAR)
SELECT location FROM table_name_13 WHERE result = "3-3"
What was the location of the match that had a result of 3-3?
CREATE TABLE table_name_13 (location VARCHAR, result VARCHAR)
SELECT 193 FROM table_name_77 WHERE height = 2.05
What is the 1.93 that is 2.05 in height?
CREATE TABLE table_name_77 (height VARCHAR)
SELECT COUNT(goals) FROM table_name_38 WHERE nat = "eng" AND transfer_fee = "youth system" AND since < 2005 AND name = "rix"
How many goals was by Rix from Eng who started before 2005 in the youth system?
CREATE TABLE table_name_38 (goals VARCHAR, name VARCHAR, since VARCHAR, nat VARCHAR, transfer_fee VARCHAR)
SELECT opponent FROM table_name_24 WHERE date = "july 27"
Which opponent has a Date of july 27?
CREATE TABLE table_name_24 (opponent VARCHAR, date VARCHAR)
SELECT individual FROM table_name_33 WHERE event = "1998 pokljuka"
Who was the individual in the event of 1998 Pokljuka?
CREATE TABLE table_name_33 (individual VARCHAR, event VARCHAR)
SELECT interaction_type, COUNT(*) FROM medicine_enzyme_interaction GROUP BY interaction_type ORDER BY COUNT(*) DESC LIMIT 1
What is the most common interaction type between enzymes and medicine? And how many are there?
CREATE TABLE medicine_enzyme_interaction (interaction_type VARCHAR)
SELECT film FROM table_name_40 WHERE rank = "nominated" AND director_s_ = "dana dorian"
Which film, directed by Dana Dorian, was nominated?
CREATE TABLE table_name_40 (film VARCHAR, rank VARCHAR, director_s_ VARCHAR)
SELECT year FROM table_29418619_1 WHERE _number = 31
What year is the player whose number is 31?
CREATE TABLE table_29418619_1 (year VARCHAR, _number VARCHAR)
SELECT studio_host FROM table_name_10 WHERE year = "2006-07"
Year of 2006-07 had what studio host?
CREATE TABLE table_name_10 (studio_host VARCHAR, year VARCHAR)
SELECT duration FROM table_name_47 WHERE actor = "mike walling"
What is the duration for mike walling as the actor?
CREATE TABLE table_name_47 (duration VARCHAR, actor VARCHAR)
SELECT gold_coast FROM table_name_6 WHERE adelaide = "yes" AND auckland = "no" AND perth = "yes"
What is the result for Gold Coast when Adelaide and Perth are yes, but Auckland is no?
CREATE TABLE table_name_6 (gold_coast VARCHAR, perth VARCHAR, adelaide VARCHAR, auckland VARCHAR)
SELECT MAX(gold) FROM table_name_25 WHERE nation = "uganda" AND total < 3
How many golds for uganda with under 3 total medals?
CREATE TABLE table_name_25 (gold INTEGER, nation VARCHAR, total VARCHAR)
SELECT MAX(total__number) FROM table_13625792_1 WHERE county = "Wayne"
How many votes were cast in Wayne county?
CREATE TABLE table_13625792_1 (total__number INTEGER, county VARCHAR)
SELECT MAX(won) FROM table_15331868_1 WHERE points = 31
What is the highest number won when the number of points is 31?
CREATE TABLE table_15331868_1 (won INTEGER, points VARCHAR)
SELECT first_day_cover_cancellation FROM table_11900773_6 WHERE date_of_issue = "3 April 2008" AND theme = "IIHF World Championships, Quebec City"
Where is the first day cover cancellation for the 3 April 2008 IIHF World Championships, Quebec City stamp?
CREATE TABLE table_11900773_6 (first_day_cover_cancellation VARCHAR, date_of_issue VARCHAR, theme VARCHAR)
SELECT away_team AS score FROM table_name_84 WHERE home_team = "geelong"
What was the score for Geelong?
CREATE TABLE table_name_84 (away_team VARCHAR, home_team VARCHAR)
SELECT competition FROM table_name_81 WHERE venue = "away" AND date = "6th"
What is the Away Competition on the 6th?
CREATE TABLE table_name_81 (competition VARCHAR, venue VARCHAR, date VARCHAR)
SELECT road_team FROM table_name_3 WHERE date = "may 2"
Who was the road team on May 2?
CREATE TABLE table_name_3 (road_team VARCHAR, date VARCHAR)
SELECT hometown FROM table_name_80 WHERE player = "thomas tyner"
What's the hometown of thomas tyner?
CREATE TABLE table_name_80 (hometown VARCHAR, player VARCHAR)
SELECT AVG(laps) FROM table_name_90 WHERE time = "+2:11.524"
What is the average laps completed by riders with times of +2:11.524?
CREATE TABLE table_name_90 (laps INTEGER, time VARCHAR)
SELECT opponent FROM table_name_36 WHERE score = "5–4"
Who is the opponent with a score of 5–4?
CREATE TABLE table_name_36 (opponent VARCHAR, score VARCHAR)
SELECT opponents FROM table_name_49 WHERE venue = "portugal"
Who were the opposing team when playing in the Portugal venue?
CREATE TABLE table_name_49 (opponents VARCHAR, venue VARCHAR)
SELECT high_points FROM table_30049462_5 WHERE team = "Detroit"
in the detroit team who made the high points
CREATE TABLE table_30049462_5 (high_points VARCHAR, team VARCHAR)
SELECT MIN(effic) FROM table_name_58 WHERE avg_g = 58.9
What is the lowest effic with a 58.9 avg/g?
CREATE TABLE table_name_58 (effic INTEGER, avg_g VARCHAR)
SELECT points_against FROM table_name_88 WHERE try_diff = "+22"
What is Points Against, when Try Diff is +22?
CREATE TABLE table_name_88 (points_against VARCHAR, try_diff VARCHAR)
SELECT part_number_s_ FROM table_name_60 WHERE model_number = "core i7-3770"
Which Part number(s) has a Model number of core i7-3770?
CREATE TABLE table_name_60 (part_number_s_ VARCHAR, model_number VARCHAR)
SELECT builder FROM table_name_84 WHERE completed < 1890 AND launched = "9 june 1888"
Which builder completed before 1890 and launched on 9 june 1888?
CREATE TABLE table_name_84 (builder VARCHAR, completed VARCHAR, launched VARCHAR)
SELECT MAX(draws) FROM table_name_59 WHERE matches > 6 AND club = "newcastle knights" AND record___percentage__[draw_ = _05_wins] > 25
How many draws, more than 6, does Newcastle Knights have with a record (%) larger than 25?
CREATE TABLE table_name_59 (draws INTEGER, matches VARCHAR, club VARCHAR, record___percentage__ VARCHAR, draw_ VARCHAR, _05_wins VARCHAR)
SELECT MAX(laps) FROM table_name_93 WHERE manufacturer = "suzuki" AND grid < 16
Which Laps have a Manufacturer of suzuki, and a Grid smaller than 16?
CREATE TABLE table_name_93 (laps INTEGER, manufacturer VARCHAR, grid VARCHAR)
SELECT MAX(assists) FROM table_19722664_5 WHERE player = "Nicole Levandusky"
What is the largest amount of assists that Nicole Levandusky made?
CREATE TABLE table_19722664_5 (assists INTEGER, player VARCHAR)
SELECT MIN(crowd) FROM table_name_43 WHERE venue = "glenferrie oval"
How many people were in attendance at Glenferrie Oval?
CREATE TABLE table_name_43 (crowd INTEGER, venue VARCHAR)
SELECT away_team FROM table_name_69 WHERE crowd > 27 OFFSET 463
What away team played when the crowd was over 27,463 people?
CREATE TABLE table_name_69 (away_team VARCHAR, crowd INTEGER)
SELECT no_4 FROM table_name_83 WHERE no_5 = "madison" AND no_9 = "abigail"
What was the No. 4 name when Madison was No. 5 and Abigail was No. 9?
CREATE TABLE table_name_83 (no_4 VARCHAR, no_5 VARCHAR, no_9 VARCHAR)