question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
What is the lowest viewership in millions of the episode broadcast on 7 September 2001?
CREATE TABLE table_name_54 (viewership__millions_ INTEGER, broadcast_date VARCHAR)
SELECT MIN(viewership__millions_) FROM table_name_54 WHERE broadcast_date = "7 september 2001"
What is the episode number of the episode broadcast on 21 September 2001?
CREATE TABLE table_name_79 (episode_number VARCHAR, broadcast_date VARCHAR)
SELECT episode_number FROM table_name_79 WHERE broadcast_date = "21 september 2001"
How many times is the points 8 and the place larger than 8?
CREATE TABLE table_name_65 (draw VARCHAR, points VARCHAR, place VARCHAR)
SELECT COUNT(draw) FROM table_name_65 WHERE points = 8 AND place > 8
what is the average draw when the place is 5 and points more than 15?
CREATE TABLE table_name_62 (draw INTEGER, place VARCHAR, points VARCHAR)
SELECT AVG(draw) FROM table_name_62 WHERE place = 5 AND points > 15
what is the highest draw when points is less than 11 and language is norwegian?
CREATE TABLE table_name_54 (draw INTEGER, points VARCHAR, language VARCHAR)
SELECT MAX(draw) FROM table_name_54 WHERE points < 11 AND language = "norwegian"
What is the total number of picks from the PBA team of purefoods tender juicy hotdogs?
CREATE TABLE table_name_62 (pick VARCHAR, pba_team VARCHAR)
SELECT COUNT(pick) FROM table_name_62 WHERE pba_team = "purefoods tender juicy hotdogs"
What is the pba team for the player who went to santo tomas college?
CREATE TABLE table_name_50 (pba_team VARCHAR, college VARCHAR)
SELECT pba_team FROM table_name_50 WHERE college = "santo tomas"
What is the PBA team for roberto jabar who was picked before number 11?
CREATE TABLE table_name_41 (pba_team VARCHAR, pick VARCHAR, player VARCHAR)
SELECT pba_team FROM table_name_41 WHERE pick < 11 AND player = "roberto jabar"
What is the Most Spoken language in the Place with Code 70403 with an Area (km 2) larger than 3.79 and a Population larger than 73,283?
CREATE TABLE table_name_91 (most_spoken_language VARCHAR, population VARCHAR, code VARCHAR, area__km_2__ VARCHAR)
SELECT most_spoken_language FROM table_name_91 WHERE code > 70403 AND area__km_2__ > 3.79 AND population > 73 OFFSET 283
What is the Population of the Place with an Area (km 2) larger than 498.77?
CREATE TABLE table_name_51 (population VARCHAR, area__km_2__ INTEGER)
SELECT COUNT(population) FROM table_name_51 WHERE area__km_2__ > 498.77
What is the Population of Tshepiso with a Code of 70409 or smaller and an Area (km 2) smaller than 5.97?
CREATE TABLE table_name_66 (population INTEGER, place VARCHAR, code VARCHAR, area__km_2__ VARCHAR)
SELECT MIN(population) FROM table_name_66 WHERE code < 70409 AND area__km_2__ < 5.97 AND place = "tshepiso"
What the time of Paul Hession with more than an 0.187 react?
CREATE TABLE table_name_76 (time VARCHAR, react VARCHAR, athlete VARCHAR)
SELECT time FROM table_name_76 WHERE react > 0.187 AND athlete = "paul hession"
What's the lane number when time was 20.45 and the react was less than 0.164?
CREATE TABLE table_name_85 (lane INTEGER, react VARCHAR, time VARCHAR)
SELECT MAX(lane) FROM table_name_85 WHERE react < 0.164 AND time = "20.45"
what is 1958 when 1957 is 2 and 1956 is 3?
CREATE TABLE table_name_67 (Id VARCHAR)
SELECT 1958 FROM table_name_67 WHERE 1957 = "2" AND 1956 = "3"
what is 1955 when 1961 is n/a?
CREATE TABLE table_name_78 (Id VARCHAR)
SELECT 1955 FROM table_name_78 WHERE 1961 = "n/a"
What date has 7 as the tie no.?
CREATE TABLE table_name_80 (date VARCHAR, tie_no VARCHAR)
SELECT date FROM table_name_80 WHERE tie_no = "7"
Which year was held in beijing?
CREATE TABLE table_name_87 (year VARCHAR, venue VARCHAR)
SELECT year FROM table_name_87 WHERE venue = "beijing"
How many years had a Venue of eindhoven?
CREATE TABLE table_name_88 (year VARCHAR, venue VARCHAR)
SELECT COUNT(year) FROM table_name_88 WHERE venue = "eindhoven"
Which Competition has a Venue of manchester in 2009?
CREATE TABLE table_name_92 (competition VARCHAR, venue VARCHAR, year VARCHAR)
SELECT competition FROM table_name_92 WHERE venue = "manchester" AND year = 2009
Which Year has a Position of 2nd, and Notes of -63kg, and a Venue of manchester?
CREATE TABLE table_name_4 (year VARCHAR, venue VARCHAR, position VARCHAR, notes VARCHAR)
SELECT year FROM table_name_4 WHERE position = "2nd" AND notes = "-63kg" AND venue = "manchester"
Name the the Best of rodolfo lavín
CREATE TABLE table_name_12 (best VARCHAR, name VARCHAR)
SELECT best FROM table_name_12 WHERE name = "rodolfo lavín"
Name the Qual 2 of a Team of american spirit team johansson and a Best of 59.073?
CREATE TABLE table_name_15 (qual_2 VARCHAR, team VARCHAR, best VARCHAR)
SELECT qual_2 FROM table_name_15 WHERE team = "american spirit team johansson" AND best = "59.073"
Name the Best which has a Qual 2 of 58.700?
CREATE TABLE table_name_47 (best VARCHAR, qual_2 VARCHAR)
SELECT best FROM table_name_47 WHERE qual_2 = "58.700"
Which Qual 1 has a Qual 2 of 58.861?
CREATE TABLE table_name_98 (qual_1 VARCHAR, qual_2 VARCHAR)
SELECT qual_1 FROM table_name_98 WHERE qual_2 = "58.861"
Which Qual 1 has a Qual 2 of 59.822?
CREATE TABLE table_name_76 (qual_1 VARCHAR, qual_2 VARCHAR)
SELECT qual_1 FROM table_name_76 WHERE qual_2 = "59.822"
Which Qual 1 has a Team of team player's, and a Best of 58.405?
CREATE TABLE table_name_91 (qual_1 VARCHAR, team VARCHAR, best VARCHAR)
SELECT qual_1 FROM table_name_91 WHERE team = "team player's" AND best = "58.405"
what is the height (m) when the nation is sweden (swe) and the weight (kg) is 102?
CREATE TABLE table_name_19 (height__m_ VARCHAR, nation VARCHAR, weight__kg_ VARCHAR)
SELECT height__m_ FROM table_name_19 WHERE nation = "sweden (swe)" AND weight__kg_ = "102"
what is the nation when the world rank is 2 and the birth date is 1976-12-20?
CREATE TABLE table_name_35 (nation VARCHAR, world_rank VARCHAR, birth_date VARCHAR)
SELECT nation FROM table_name_35 WHERE world_rank = "2" AND birth_date = "1976-12-20"
what is the nation when the world rank is 6 and the birth date is 1971-07-31?
CREATE TABLE table_name_88 (nation VARCHAR, world_rank VARCHAR, birth_date VARCHAR)
SELECT nation FROM table_name_88 WHERE world_rank = "6" AND birth_date = "1971-07-31"
what is the birth date when the weight (kg) is 100 and the world rank is 2?
CREATE TABLE table_name_3 (birth_date VARCHAR, weight__kg_ VARCHAR, world_rank VARCHAR)
SELECT birth_date FROM table_name_3 WHERE weight__kg_ = "100" AND world_rank = "2"
what is the nation when the height (m) is 1.91 and the weight (kg) is 99?
CREATE TABLE table_name_83 (nation VARCHAR, height__m_ VARCHAR, weight__kg_ VARCHAR)
SELECT nation FROM table_name_83 WHERE height__m_ = "1.91" AND weight__kg_ = "99"
what is the height (m) when the birth date is 1968-07-01?
CREATE TABLE table_name_89 (height__m_ VARCHAR, birth_date VARCHAR)
SELECT height__m_ FROM table_name_89 WHERE birth_date = "1968-07-01"
What is the nationality of the athlete with a time of 2:12.56?
CREATE TABLE table_name_80 (nationality VARCHAR, time VARCHAR)
SELECT nationality FROM table_name_80 WHERE time = "2:12.56"
What time did Sara Nordenstam get?
CREATE TABLE table_name_40 (time VARCHAR, name VARCHAR)
SELECT time FROM table_name_40 WHERE name = "sara nordenstam"
What nationality is Jessica Pengelly?
CREATE TABLE table_name_52 (nationality VARCHAR, name VARCHAR)
SELECT nationality FROM table_name_52 WHERE name = "jessica pengelly"
What league apps with 1 flt apps, 0 goals, and more than 1 league goals?
CREATE TABLE table_name_38 (league_apps VARCHAR, league_goals VARCHAR, flt_apps VARCHAR, total_goals VARCHAR)
SELECT league_apps FROM table_name_38 WHERE flt_apps = "1" AND total_goals > 0 AND league_goals > 1
What is the total number of league goals for Simon Charlton?
CREATE TABLE table_name_14 (league_goals VARCHAR, name VARCHAR)
SELECT COUNT(league_goals) FROM table_name_14 WHERE name = "simon charlton"
What was the place when the score was 65-70-72=207?
CREATE TABLE table_name_35 (place VARCHAR, score VARCHAR)
SELECT place FROM table_name_35 WHERE score = 65 - 70 - 72 = 207
What was the score for place 4?
CREATE TABLE table_name_21 (score VARCHAR, place VARCHAR)
SELECT score FROM table_name_21 WHERE place = "4"
Who scored 67-73-70=210?
CREATE TABLE table_name_93 (player VARCHAR, score VARCHAR)
SELECT player FROM table_name_93 WHERE score = 67 - 73 - 70 = 210
What is the lowest poles that have 0 as a win, 0 as the top 5, with 66th as the postion?
CREATE TABLE table_name_61 (poles INTEGER, position VARCHAR, wins VARCHAR, top_5 VARCHAR)
SELECT MIN(poles) FROM table_name_61 WHERE wins = 0 AND top_5 = 0 AND position = "66th"
Who was the music director in 1971 for the movie Kalyani?
CREATE TABLE table_name_7 (Music VARCHAR, year VARCHAR, movie__in_kannada__ VARCHAR)
SELECT Music AS director FROM table_name_7 WHERE year = 1971 AND movie__in_kannada__ = "kalyani"
Which county has a median family income of $50,227?
CREATE TABLE table_name_99 (county VARCHAR, median_family_income VARCHAR)
SELECT county FROM table_name_99 WHERE median_family_income = "$50,227"
What is the tournament when 2010 is not held?
CREATE TABLE table_name_86 (tournament VARCHAR)
SELECT tournament FROM table_name_86 WHERE 2010 = "not held"
What shows for 2009 when 2008 is A, 2012 is 1r, 2010 is q2, and 2011 is 2r?
CREATE TABLE table_name_98 (Id VARCHAR)
SELECT 2009 FROM table_name_98 WHERE 2008 = "a" AND 2012 = "1r" AND 2010 = "q2" AND 2011 = "2r"
What is the tournament when 2010 is q2, and 2009 is 1r?
CREATE TABLE table_name_93 (tournament VARCHAR)
SELECT tournament FROM table_name_93 WHERE 2010 = "q2" AND 2009 = "1r"
What is the tournament when 2007 is WTA Premier 5 tournaments?
CREATE TABLE table_name_26 (tournament VARCHAR)
SELECT tournament FROM table_name_26 WHERE 2007 = "wta premier 5 tournaments"
What is the tournament when 2012 is q2?
CREATE TABLE table_name_64 (tournament VARCHAR)
SELECT tournament FROM table_name_64 WHERE 2012 = "q2"
What shows for 2008 when 2010 is 138?
CREATE TABLE table_name_2 (Id VARCHAR)
SELECT 2008 FROM table_name_2 WHERE 2010 = "138"
Which country timed at 7:03.91?
CREATE TABLE table_name_55 (country VARCHAR, time VARCHAR)
SELECT country FROM table_name_55 WHERE time = "7:03.91"
What did Denmark time at?
CREATE TABLE table_name_87 (time VARCHAR, country VARCHAR)
SELECT time FROM table_name_87 WHERE country = "denmark"
What was the internet explorer % when firefox was 24.98%?
CREATE TABLE table_name_47 (internet_explorer VARCHAR, firefox VARCHAR)
SELECT internet_explorer FROM table_name_47 WHERE firefox = "24.98%"
What was the percentage of firefox was chrome was 23.90%
CREATE TABLE table_name_95 (firefox VARCHAR, chrome VARCHAR)
SELECT firefox FROM table_name_95 WHERE chrome = "23.90%"
What was the percentage of safari when internet explorer was 20.27%?
CREATE TABLE table_name_98 (safari VARCHAR, internet_explorer VARCHAR)
SELECT safari FROM table_name_98 WHERE internet_explorer = "20.27%"
What was the firefox % was chrome was 25.08%?
CREATE TABLE table_name_86 (firefox VARCHAR, chrome VARCHAR)
SELECT firefox FROM table_name_86 WHERE chrome = "25.08%"
What was the percentage of safari when firefox was 24.66%
CREATE TABLE table_name_10 (safari VARCHAR, firefox VARCHAR)
SELECT safari FROM table_name_10 WHERE firefox = "24.66%"
Which label released on February 18, 2009?
CREATE TABLE table_name_77 (label VARCHAR, date VARCHAR)
SELECT label FROM table_name_77 WHERE date = "february 18, 2009"
When did Avex Entertainment release a CD?
CREATE TABLE table_name_22 (date VARCHAR, format VARCHAR, label VARCHAR)
SELECT date FROM table_name_22 WHERE format = "cd" AND label = "avex entertainment"
When did Hollywood Records release a digital download?
CREATE TABLE table_name_87 (date VARCHAR, label VARCHAR, format VARCHAR)
SELECT date FROM table_name_87 WHERE label = "hollywood records" AND format = "digital download"
What kind of edition was released September 23, 2008 from the United States?
CREATE TABLE table_name_69 (edition VARCHAR, date VARCHAR, region VARCHAR)
SELECT edition FROM table_name_69 WHERE date = "september 23, 2008" AND region = "united states"
What format was released April 16, 2009?
CREATE TABLE table_name_55 (format VARCHAR, date VARCHAR)
SELECT format FROM table_name_55 WHERE date = "april 16, 2009"
What's the call sign if the branding is 1062 DXKI Koronadal?
CREATE TABLE table_name_6 (call_sign VARCHAR, branding VARCHAR)
SELECT call_sign FROM table_name_6 WHERE branding = "1062 dxki koronadal"
What's the branding for frequency 1233khz?
CREATE TABLE table_name_5 (branding VARCHAR, frequency VARCHAR)
SELECT branding FROM table_name_5 WHERE frequency = "1233khz"
What's the call sign that has 20kw of power?
CREATE TABLE table_name_17 (call_sign VARCHAR, power__kw_ VARCHAR)
SELECT call_sign FROM table_name_17 WHERE power__kw_ = "20kw"
What's the location when the branding is 1116 DXAS Zamboanga?
CREATE TABLE table_name_89 (location VARCHAR, branding VARCHAR)
SELECT location FROM table_name_89 WHERE branding = "1116 dxas zamboanga"
What's the location of the 1197khz frequency?
CREATE TABLE table_name_22 (location VARCHAR, frequency VARCHAR)
SELECT location FROM table_name_22 WHERE frequency = "1197khz"
What's the frequency of the call sign DYFR with 10KW of power?
CREATE TABLE table_name_50 (frequency VARCHAR, power__kw_ VARCHAR, call_sign VARCHAR)
SELECT frequency FROM table_name_50 WHERE power__kw_ = "10kw" AND call_sign = "dyfr"
What is Hungary's highest Rank?
CREATE TABLE table_name_38 (rank INTEGER, country VARCHAR)
SELECT MAX(rank) FROM table_name_38 WHERE country = "hungary"
What is the Notes of the Country with a Rank of 4?
CREATE TABLE table_name_31 (notes VARCHAR, rank VARCHAR)
SELECT notes FROM table_name_31 WHERE rank = 4
What country had a Time of 6:14.84?
CREATE TABLE table_name_14 (country VARCHAR, time VARCHAR)
SELECT country FROM table_name_14 WHERE time = "6:14.84"
Which Nationality has a Lane of 5, and a Time of 7:08.04?
CREATE TABLE table_name_36 (nationality VARCHAR, lane VARCHAR, time VARCHAR)
SELECT nationality FROM table_name_36 WHERE lane = 5 AND time = "7:08.04"
Which Heat has a Rank of 8?
CREATE TABLE table_name_16 (heat INTEGER, rank VARCHAR)
SELECT MAX(heat) FROM table_name_16 WHERE rank = 8
Which Season has Finals of out of playoffs.?
CREATE TABLE table_name_88 (season VARCHAR, finals VARCHAR)
SELECT season FROM table_name_88 WHERE finals = "out of playoffs."
What's Albufeira's assist/pass?
CREATE TABLE table_name_22 (assist_pass VARCHAR, location VARCHAR)
SELECT assist_pass FROM table_name_22 WHERE location = "albufeira"
What's the lineup when the assist/pass was Unassisted?
CREATE TABLE table_name_42 (lineup VARCHAR, assist_pass VARCHAR)
SELECT lineup FROM table_name_42 WHERE assist_pass = "unassisted"
What date was the result 3-1 in Hague?
CREATE TABLE table_name_13 (date VARCHAR, result VARCHAR, location VARCHAR)
SELECT date FROM table_name_13 WHERE result = "3-1" AND location = "hague"
what is the total when the rank is total and the silver is less than 10?
CREATE TABLE table_name_35 (total INTEGER, rank VARCHAR, silver VARCHAR)
SELECT SUM(total) FROM table_name_35 WHERE rank = "total" AND silver < 10
what is the least silver when gold is 0?
CREATE TABLE table_name_93 (silver INTEGER, gold INTEGER)
SELECT MIN(silver) FROM table_name_93 WHERE gold < 0
what is the total silver when total is 30 and bronze is more than 10?
CREATE TABLE table_name_85 (silver VARCHAR, total VARCHAR, bronze VARCHAR)
SELECT COUNT(silver) FROM table_name_85 WHERE total = 30 AND bronze > 10
what is the total when bronze is more than 1, nation is hong kong (hkg) and gold is less than 3?
CREATE TABLE table_name_37 (total INTEGER, gold VARCHAR, bronze VARCHAR, nation VARCHAR)
SELECT SUM(total) FROM table_name_37 WHERE bronze > 1 AND nation = "hong kong (hkg)" AND gold < 3
The driver in class A with 125 laps is in what position?
CREATE TABLE table_name_92 (position VARCHAR, class VARCHAR, laps VARCHAR)
SELECT position FROM table_name_92 WHERE class = "a" AND laps = 125
Peter Hopwood has how many laps in all?
CREATE TABLE table_name_53 (laps VARCHAR, entrant VARCHAR)
SELECT COUNT(laps) FROM table_name_53 WHERE entrant = "peter hopwood"
For what class is the laps 66?
CREATE TABLE table_name_65 (class VARCHAR, laps VARCHAR)
SELECT class FROM table_name_65 WHERE laps = 66
What is the number of matches with an average larger than 6.33, with a rank of 1?
CREATE TABLE table_name_78 (matches INTEGER, average VARCHAR, rank VARCHAR)
SELECT SUM(matches) FROM table_name_78 WHERE average > 6.33 AND rank = 1
What is the total when matches is less than 3, and rank is smaller than 2?
CREATE TABLE table_name_41 (total INTEGER, matches VARCHAR, rank VARCHAR)
SELECT MIN(total) FROM table_name_41 WHERE matches < 3 AND rank < 2
What is the average when the tally is 3–11, with more than 4 matches??
CREATE TABLE table_name_27 (average VARCHAR, tally VARCHAR, matches VARCHAR)
SELECT COUNT(average) FROM table_name_27 WHERE tally = "3–11" AND matches > 4
What rank has an average of 6.33?
CREATE TABLE table_name_23 (rank INTEGER, average VARCHAR)
SELECT AVG(rank) FROM table_name_23 WHERE average = 6.33
What is the average number of laps with a dnf pos.?
CREATE TABLE table_name_6 (laps INTEGER, pos VARCHAR)
SELECT AVG(laps) FROM table_name_6 WHERE pos = "dnf"
What is the lowest Rank for a Guam Player?
CREATE TABLE table_name_77 (rank INTEGER, country VARCHAR)
SELECT MIN(rank) FROM table_name_77 WHERE country = "guam"
What is the Rank of the Guam Player?
CREATE TABLE table_name_83 (rank INTEGER, country VARCHAR)
SELECT AVG(rank) FROM table_name_83 WHERE country = "guam"
Which Week has a Result of l 20–13, and an Attendance larger than 49,598?
CREATE TABLE table_name_8 (week INTEGER, result VARCHAR, attendance VARCHAR)
SELECT MAX(week) FROM table_name_8 WHERE result = "l 20–13" AND attendance > 49 OFFSET 598
How many weeks have an Opponent of at san francisco 49ers, and an Attendance smaller than 34,354?
CREATE TABLE table_name_12 (week VARCHAR, opponent VARCHAR, attendance VARCHAR)
SELECT COUNT(week) FROM table_name_12 WHERE opponent = "at san francisco 49ers" AND attendance < 34 OFFSET 354
Which Result has an Opponent of washington redskins?
CREATE TABLE table_name_3 (result VARCHAR, opponent VARCHAR)
SELECT result FROM table_name_3 WHERE opponent = "washington redskins"
What week did the dallas cowboys play?
CREATE TABLE table_name_78 (week INTEGER, opponent VARCHAR)
SELECT SUM(week) FROM table_name_78 WHERE opponent = "dallas cowboys"
Name the average React of the Time smaller than 20.05 in jamaica with a Lane larger than 5?
CREATE TABLE table_name_53 (react INTEGER, lane VARCHAR, time VARCHAR, nationality VARCHAR)
SELECT AVG(react) FROM table_name_53 WHERE time < 20.05 AND nationality = "jamaica" AND lane > 5
Which Fencing Victories (pts) has a Shooting Score (pts) of 187 (1180) and a Total smaller than 5640? Question 1
CREATE TABLE table_name_61 (fencing_victories__pts_ VARCHAR, shooting_score__pts_ VARCHAR, total VARCHAR)
SELECT fencing_victories__pts_ FROM table_name_61 WHERE shooting_score__pts_ = "187 (1180)" AND total < 5640
Which Equestrian Time (pts) has an Athlete of omnia fakhry ( egy )?
CREATE TABLE table_name_3 (equestrian_time__pts_ VARCHAR, athlete VARCHAR)
SELECT equestrian_time__pts_ FROM table_name_3 WHERE athlete = "omnia fakhry ( egy )"
Which Shooting Score (pts) has a Total larger than 5464 and a Athlete of heather fell ( gbr )?
CREATE TABLE table_name_7 (shooting_score__pts_ VARCHAR, total VARCHAR, athlete VARCHAR)
SELECT shooting_score__pts_ FROM table_name_7 WHERE total > 5464 AND athlete = "heather fell ( gbr )"
Which Fencing Victories (pts) that has a Equestrian Time (pts) of 67.88 (1144)?
CREATE TABLE table_name_78 (fencing_victories__pts_ VARCHAR, equestrian_time__pts_ VARCHAR)
SELECT fencing_victories__pts_ FROM table_name_78 WHERE equestrian_time__pts_ = "67.88 (1144)"
Which Fencing Victories (pts) has a Total of 5640?
CREATE TABLE table_name_68 (fencing_victories__pts_ VARCHAR, total VARCHAR)
SELECT fencing_victories__pts_ FROM table_name_68 WHERE total = 5640