question_id
int64
24.2k
80.3k
table_id
stringlengths
8
14
question
stringlengths
12
244
sql
stringlengths
33
482
24,820
1-11071897-1
What is the number of interregnum for duration 3 months, 6 days?
SELECT COUNT("Interregnum ended") FROM "1-11071897-1" WHERE "Duration" = '3 months, 6 days';
24,821
1-11075747-4
Who directed Episode 8?
SELECT "Directed by" FROM "1-11075747-4" WHERE "Episode #" = 8.0;
24,822
1-11075747-4
Who directed the episode called "Tell-Tale Heart"?
SELECT "Directed by" FROM "1-11075747-4" WHERE "Title" = '"Tell-Tale Heart"';
24,823
1-11075747-4
What was the original air date for Series 36?
SELECT "Original air date" FROM "1-11075747-4" WHERE "Series #" = 36.0;
24,824
1-11075747-4
Who wrote Series 38?
SELECT "Written by" FROM "1-11075747-4" WHERE "Series #" = 38.0;
24,825
1-1108394-24
What is the percentage for manhattan 45,901?
SELECT COUNT("%") FROM "1-1108394-24" WHERE "Manhattan" = '45,901';
24,826
1-1108394-24
Who won the 1973 democratic initial primary for queens of 19%?
SELECT "1973 Democratic initial primary" FROM "1-1108394-24" WHERE "Queens" = '19%';
24,827
1-1108394-24
What is the manhattan for richmond 35%?
SELECT "Manhattan" FROM "1-1108394-24" WHERE "Richmond [Staten Is.]" = '35%';
24,828
1-1108394-24
What is the queens where richmond staten is 42%?
SELECT "Queens" FROM "1-1108394-24" WHERE "Richmond [Staten Is.]" = '42%';
24,829
1-1108394-43
what's the party with brooklyn value of 51.0%
SELECT "party" FROM "1-1108394-43" WHERE "Brooklyn" = '51.0%';
24,830
1-1108394-43
what's the brooklyn with queens value of 16.8%
SELECT "Brooklyn" FROM "1-1108394-43" WHERE "Queens" = '16.8%';
24,831
1-1108394-43
what is the minimum total
SELECT MIN("Total") FROM "1-1108394-43";
24,832
1-1108394-43
what's the % with total value of 249887 and queens value of 6.8%
SELECT "%" FROM "1-1108394-43" WHERE "Total" = 249887.0 AND "Queens" = '6.8%';
24,833
1-11094950-1
Which teams were in the Central division and located in Livonia?
SELECT "Team" FROM "1-11094950-1" WHERE "Division" = 'Central' AND "Location" = 'Livonia';
24,834
1-11094950-1
Which teams are located in Highland Township?
SELECT "Team" FROM "1-11094950-1" WHERE "Location" = 'Highland Township';
24,835
1-11094950-1
What conference was the Churchill Chargers team in?
SELECT "Conference" FROM "1-11094950-1" WHERE "Team" = 'Churchill Chargers';
24,836
1-11111116-7
What was the titles of the episodes written by Ken LaZebnik?
SELECT "Title" FROM "1-11111116-7" WHERE "Written by" = 'Ken LaZebnik';
24,837
1-11111116-7
Who directed an episode that had 2.81 million U.S. viewers?
SELECT "Directed by" FROM "1-11111116-7" WHERE "U.S. viewers (million)" = '2.81';
24,838
1-11111116-7
What were the names of the episodes that had 3.02 million U.S. viewers?
SELECT "Title" FROM "1-11111116-7" WHERE "U.S. viewers (million)" = '3.02';
24,839
1-11111116-7
What were the original air dates of the episode named "Winds of War"?
SELECT "Original air date" FROM "1-11111116-7" WHERE "Title" = '"Winds of War"';
24,840
1-11111116-7
Who directed episodes that had 2.61 million U.S. viewers?
SELECT "Directed by" FROM "1-11111116-7" WHERE "U.S. viewers (million)" = '2.61';
24,841
1-11111116-8
How many millions of U.S. viewers watched "Brace for Impact"?
SELECT "U.S. viewers (million)" FROM "1-11111116-8" WHERE "Title" = '"Brace for Impact"';
24,842
1-11111116-8
How many millions of U.S. viewers watched the episode that first aired on March 31, 2013?
SELECT "U.S. viewers (million)" FROM "1-11111116-8" WHERE "Original air date" = 'March 31, 2013';
24,843
1-11111116-8
Who wrote the episodes that were viewed by 2.12 million viewers?
SELECT "Written by" FROM "1-11111116-8" WHERE "U.S. viewers (million)" = '2.12';
24,844
1-11111116-6
The episode written by Rebecca Dameron aired on what date?
SELECT "Original air date" FROM "1-11111116-6" WHERE "Written by" = 'Rebecca Dameron';
24,845
1-11111116-6
Which episode in the series drew 3.6 million U.S. viewers?
SELECT MIN("No. in series") FROM "1-11111116-6" WHERE "U.S. viewers (million)" = '3.6';
24,846
1-11111116-6
Who wrote the episode that aired on April 17, 2011?
SELECT "Written by" FROM "1-11111116-6" WHERE "Original air date" = 'April 17, 2011';
24,847
1-11111116-6
How many times did episode 79 originally air?
SELECT COUNT("Original air date") FROM "1-11111116-6" WHERE "No. in series" = 79.0;
24,848
1-11111116-6
How many millions of views in the country watched "Line of Departure"?
SELECT "U.S. viewers (million)" FROM "1-11111116-6" WHERE "Title" = '"Line of Departure"';
24,849
1-11148572-1
What is the name of the shield winner in which the mls cup winner and mls cup runner up is Colorado Rapids?
SELECT "MLS Cup Winner" FROM "1-11148572-1" WHERE "MLS Cup Runner-Up" = 'Colorado Rapids';
24,850
1-11148572-1
What is the name of the shield winner in which the mls cup winner and mls supporters shield runner up is Chivas USA?
SELECT "MLS Cup Winner" FROM "1-11148572-1" WHERE "MLS Supporters Shield Runner-Up" = 'Chivas USA';
24,851
1-11148572-1
who is the of the shield winnerin which the mls cup runner-up and mls cup winner is Real Salt Lake?
SELECT "MLS Cup Runner-Up" FROM "1-11148572-1" WHERE "MLS Cup Winner" = 'Real Salt Lake';
24,852
1-11148572-1
Which shield winner has the mls cup runner up and the season is 2000?
SELECT "MLS Cup Runner-Up" FROM "1-11148572-1" WHERE "Season" = 2000.0;
24,853
1-1112176-1
League apps (sub) maximum?
SELECT MAX("League Apps (Sub)") FROM "1-1112176-1";
24,854
1-1112176-1
When total goals is 11 what was the league apps (sub)?
SELECT MAX("League Apps (Sub)") FROM "1-1112176-1" WHERE "Total Goals" = 11.0;
24,855
1-11129123-1
Which city had the Charleston Area Convention Center as its callback location
SELECT "Audition City" FROM "1-11129123-1" WHERE "Callback Venue" = 'Charleston Area Convention Center';
24,856
1-11129123-1
When did the callbacks from Rancho Bernardo Inn air
SELECT "Episode Air Date" FROM "1-11129123-1" WHERE "Callback Venue" = 'Rancho Bernardo Inn';
24,857
1-11147852-1
The station located in Albuquerque has been owned since what year?
SELECT "Owned since" FROM "1-11147852-1" WHERE "City of license/Market" = 'Albuquerque';
24,858
1-11147852-1
What channels have stations that were affiliated in 2002?
SELECT "Channel TV ( DT )" FROM "1-11147852-1" WHERE "Year of affiliation" = '2002';
24,859
1-11147852-1
What market is KTFK-DT in?
SELECT "City of license/Market" FROM "1-11147852-1" WHERE "Station" = 'KTFK-DT';
24,860
1-11167610-1
what's the engine where performance is 0–100km/h: 10.5s, VMax km/h (mph)
SELECT "Engine" FROM "1-11167610-1" WHERE "Performance" = '0–100km/h: 10.5s, VMax km/h (mph)';
24,861
1-11167610-1
what's the turbo where trim is 2.0 20v
SELECT "Turbo" FROM "1-11167610-1" WHERE "Trim" = '2.0 20v';
24,862
1-11167610-1
what's the torque where performance is 0–100km/h: 7.5s auto, VMax: km/h (mph)
SELECT "Torque" FROM "1-11167610-1" WHERE "Performance" = '0–100km/h: 7.5s auto, VMax: km/h (mph)';
24,863
1-11167610-1
what's the transmission where turbo is Yes (Mitsubishi TD04-16t )
SELECT "Transmission" FROM "1-11167610-1" WHERE "Turbo" = 'Yes (Mitsubishi TD04-16t )';
24,864
1-11167610-1
what's the fuel delivery where power is hp (kW) @6500 rpm
SELECT "Fuel Delivery" FROM "1-11167610-1" WHERE "Power" = 'hp (kW) @6500 rpm';
24,865
1-11167610-1
" what's the engine with turbo being Yes (Mitsubishi TD04-15g ) "
SELECT "Engine" FROM "1-11167610-1" WHERE "Turbo" = 'Yes (Mitsubishi TD04-15g )';
24,866
1-11173827-1
What is the english title that has finale as 33 and peak as 42?
SELECT "English title" FROM "1-11173827-1" WHERE "Finale" = 33.0 AND "Peak" = 42.0;
24,867
1-11173827-1
What is the english title where the premiere is less than 30.0 and the finale is bigger than 36.0?
SELECT "English title" FROM "1-11173827-1" WHERE "Premiere" < 30.0 AND "Finale" > 36.0;
24,868
1-11173827-1
What is the rank of the chinese title 緣來自有機?
SELECT "Rank" FROM "1-11173827-1" WHERE "Chinese title" = '緣來自有機';
24,869
1-11173827-1
What amount is the number of hk viewers where chinese title is 十兄弟?
SELECT "HK viewers" FROM "1-11173827-1" WHERE "Chinese title" = '十兄弟';
24,870
1-11178271-1
What is the weekly rank with an air date is November 12, 2007?
SELECT "Weekly Rank" FROM "1-11178271-1" WHERE "Air Date" = 'November 12, 2007';
24,871
1-11178271-1
What is the air date of the episode "Blowback"?
SELECT "Air Date" FROM "1-11178271-1" WHERE "Episode" = '"Blowback"';
24,872
1-11178271-1
What is the lowest weekly rank with an air date of November 26, 2007?
SELECT MIN("Weekly Rank") FROM "1-11178271-1" WHERE "Air Date" = 'November 26, 2007';
24,873
1-11178271-1
What is the episode where 18-49 has a rating/share of 3.5/9
SELECT "Episode" FROM "1-11178271-1" WHERE "18–49 (Rating/Share)" = '3.5/9';
24,874
1-11178271-1
What is the viewers where the rating is 5.3?
SELECT "Viewers (m)" FROM "1-11178271-1" WHERE "Rating" = '5.3';
24,875
1-11178271-1
What is the 18-49 rating/share where the viewers is 5.61?
SELECT "18–49 (Rating/Share)" FROM "1-11178271-1" WHERE "Viewers (m)" = '5.61';
24,876
1-11206787-5
What is the highest of Balmoor/
SELECT "Highest" FROM "1-11206787-5" WHERE "Stadium" = 'Balmoor';
24,877
1-11206787-5
What is the number of capacity at Somerset Park?
SELECT COUNT("Capacity") FROM "1-11206787-5" WHERE "Stadium" = 'Somerset Park';
24,878
1-11206787-5
What is the minimum capacity where Airdrie United is?
SELECT MIN("Capacity") FROM "1-11206787-5" WHERE "Team" = 'Airdrie United';
24,879
1-11206787-5
What is the stadium for Alloa Athletic?
SELECT "Stadium" FROM "1-11206787-5" WHERE "Team" = 'Alloa Athletic';
24,880
1-11206787-5
What is the highest of Ayr United?
SELECT MIN("Highest") FROM "1-11206787-5" WHERE "Team" = 'Ayr United';
24,881
1-11206787-5
What is the average?
SELECT MIN("Average") FROM "1-11206787-5";
24,882
1-11190568-7
When are team Galway's dates of appointment?
SELECT "Date of appointment" FROM "1-11190568-7" WHERE "Team" = 'Galway';
24,883
1-11190568-7
When are the vacancy dates for outgoing manager Damien Fox?
SELECT "Date of vacancy" FROM "1-11190568-7" WHERE "Outgoing manager" = 'Damien Fox';
24,884
1-11190568-7
When is the date of vacancy of Davy FitzGerald being a replacement?
SELECT "Date of vacancy" FROM "1-11190568-7" WHERE "Replaced by" = 'Davy FitzGerald';
24,885
1-11190568-7
Which team has the outgoing manager John Meyler?
SELECT "Team" FROM "1-11190568-7" WHERE "Outgoing manager" = 'John Meyler';
24,886
1-11200856-1
How many times is 3 credits 180?
SELECT COUNT("1 credit") FROM "1-11200856-1" WHERE "3 credits" = 180.0;
24,887
1-11200856-1
What is the hand for 4 credits is 1600?
SELECT "Hand" FROM "1-11200856-1" WHERE "4 credits" = 1600.0;
24,888
1-11200856-1
How many 3 credits are there with 5 credits of 5?
SELECT COUNT("3 credits") FROM "1-11200856-1" WHERE "5 credits" = '5';
24,889
1-11200856-1
How many 4 credits is the hand Two pair?
SELECT COUNT("4 credits") FROM "1-11200856-1" WHERE "Hand" = 'Two pair';
24,890
1-11210576-3
What duration is listed for Christian de la Fuente?
SELECT "Duration" FROM "1-11210576-3" WHERE "Actor" = 'Christian de la Fuente';
24,891
1-11210576-3
What was the final episode for DEA Agent?
SELECT "Final Episode" FROM "1-11210576-3" WHERE "Position" = 'DEA Agent';
24,892
1-11207040-6
What days is Greenock Morton vacant?
SELECT "Date of vacancy" FROM "1-11207040-6" WHERE "Team" = 'Greenock Morton';
24,893
1-11207040-6
What are the dates of the outgoing manager Colin Hendry does appointments?
SELECT "Date of appointment" FROM "1-11207040-6" WHERE "Outgoing manager" = 'Colin Hendry';
24,894
1-11207040-6
What teams does Jim McInally manage?
SELECT "Team" FROM "1-11207040-6" WHERE "Outgoing manager" = 'Jim McInally';
24,895
1-11207040-6
What days are vacant that were replaced by John Brown?
SELECT "Date of vacancy" FROM "1-11207040-6" WHERE "Replaced by" = 'John Brown';
24,896
1-11206916-2
What manner of departure is listed with an appointment date of 13 March 2008
SELECT "Manner of departure" FROM "1-11206916-2" WHERE "Date of appointment" = '13 March 2008';
24,897
1-11206916-2
What is the date of appointment for outgoing manager Campbell Money
SELECT "Date of appointment" FROM "1-11206916-2" WHERE "Outgoing manager" = 'Campbell Money';
24,898
1-11207040-5
What is the lowest attendance that East End Park has ever had?
SELECT MIN("Lowest") FROM "1-11207040-5" WHERE "Stadium" = 'East End Park';
24,899
1-11207040-5
What team plays at Palmerston Park?
SELECT "Team" FROM "1-11207040-5" WHERE "Stadium" = 'Palmerston Park';
24,900
1-11207040-5
What is the lowest attandance recorded at Cappielow?
SELECT MIN("Lowest") FROM "1-11207040-5" WHERE "Stadium" = 'Cappielow';
24,901
1-11207040-5
What is the highest attendance at a game played by St. Johnstone?
SELECT MAX("Highest") FROM "1-11207040-5" WHERE "Team" = 'St. Johnstone';
24,902
1-11207040-5
What is the highest attandence at a Hamilton Academical game?
SELECT MIN("Highest") FROM "1-11207040-5" WHERE "Team" = 'Hamilton Academical';
24,903
1-11214772-1
who is the champion where semi-fiNAlist #2 is NA and location is Morrisville, NC
SELECT "Champion" FROM "1-11214772-1" WHERE "Semi-Finalist #2" = 'NA' AND "Location" = 'Morrisville, NC';
24,904
1-11214772-1
what's the score where year is 2007
SELECT "Score" FROM "1-11214772-1" WHERE "Year" = '2007';
24,905
1-11214772-1
what is the total number of semi-finalist #2 where runner-up is East Carolina
SELECT COUNT("Semi-Finalist #2") FROM "1-11214772-1" WHERE "Runner-Up" = 'East Carolina';
24,906
1-11214772-1
who is the semi-finalist #1 where runner-up is Elon University
SELECT "Semi-Finalist #1" FROM "1-11214772-1" WHERE "Runner-Up" = 'Elon University';
24,907
1-11214772-1
who is the runner-up where year is 2004 and champion is North Carolina State
SELECT "Runner-Up" FROM "1-11214772-1" WHERE "Year" = '2004' AND "Champion" = 'North Carolina State';
24,908
1-11214772-1
who is the runner-up where location is Ellenton, FL and year is 2004
SELECT "Runner-Up" FROM "1-11214772-1" WHERE "Location" = 'Ellenton, FL' AND "Year" = '2004';
24,909
1-11214212-1
what's the naturalisation by marriage with numer of jamaicans granted british citizenship being 3165
SELECT "Naturalisation by marriage" FROM "1-11214212-1" WHERE "Numer of Jamaicans granted British citizenship" = 3165.0;
24,910
1-11214212-1
how many numer of jamaicans granted british citizenship with naturalisation by marriage being 1060
SELECT COUNT("Numer of Jamaicans granted British citizenship") FROM "1-11214212-1" WHERE "Naturalisation by marriage" = 1060.0;
24,911
1-11214212-1
what's the naturalisation by marriage with regbeingtration of a minor child being 114
SELECT "Naturalisation by marriage" FROM "1-11214212-1" WHERE "Registration of a minor child" = 114.0;
24,912
1-11214212-1
what's the numer of jamaicans granted british citizenship with naturalisation by residence being 927
SELECT "Numer of Jamaicans granted British citizenship" FROM "1-11214212-1" WHERE "Naturalisation by residence" = 927.0;
24,913
1-11214212-1
what is the maximum year with registration of a minor child being 281
SELECT MAX("Year") FROM "1-11214212-1" WHERE "Registration of a minor child" = 281.0;
24,914
1-11220799-2
How many episodes had their first air date on March 6, 2008?
SELECT COUNT("Episode Titles") FROM "1-11220799-2" WHERE "First air date" = 'March 6, 2008';
24,915
1-11220799-2
What were the results of episodes with the first air date of March 6, 2008?
SELECT "Finish" FROM "1-11220799-2" WHERE "First air date" = 'March 6, 2008';
24,916
1-11230937-2
How many millions of viewers watched episode 15?
SELECT "U.S. viewers (millions)" FROM "1-11230937-2" WHERE "No. in season" = 15.0;
24,917
1-11230937-2
How many millions of viewers watched the "Throwing Heat" episode?
SELECT "U.S. viewers (millions)" FROM "1-11230937-2" WHERE "Title" = '"Throwing Heat"';
24,918
1-11230937-2
How many millions of viewers watched the episode directed by Anthony Hemingway?
SELECT "U.S. viewers (millions)" FROM "1-11230937-2" WHERE "Directed by" = 'Anthony Hemingway';
24,919
1-27303975-2
The Catalog number is 80809 what is the title?
SELECT "Title" FROM "1-27303975-2" WHERE "Catalog Number" = '80809';