question_id
int64
24.2k
80.3k
table_id
stringlengths
8
14
question
stringlengths
12
244
sql
stringlengths
33
482
24,520
1-10470082-4
Who is the director of the episode whom Scott Peters is the writer?
SELECT "Director" FROM "1-10470082-4" WHERE "Writer" = 'Scott Peters';
24,521
1-10470082-4
Who is the villain in episode #7?
SELECT "Villains" FROM "1-10470082-4" WHERE "#" = 7.0;
24,522
1-10470082-8
Who wrote episode #1 in season 7?
SELECT COUNT("Writer") FROM "1-10470082-8" WHERE "#" = 1.0;
24,523
1-10470082-8
When did the episode written by Jim Morris air?
SELECT "US air date" FROM "1-10470082-8" WHERE "Writer" = 'Jim Morris';
24,524
1-10527215-3
What was Datsun Twin 200's fastest lap?
SELECT "Fastest Lap" FROM "1-10527215-3" WHERE "Name" = 'Datsun Twin 200';
24,525
1-10527215-3
In the Datsun Twin 200 race, what was the fastest lap?
SELECT "Fastest Lap" FROM "1-10527215-3" WHERE "Name" = 'Datsun Twin 200';
24,526
1-10527215-3
What's the report for the True Value 500?
SELECT "Report" FROM "1-10527215-3" WHERE "Name" = 'True Value 500';
24,527
1-10527215-3
What was Johnny Rutherford's fastest lap while Al Unser was the pole position?
SELECT "Fastest Lap" FROM "1-10527215-3" WHERE "Winning driver" = 'Johnny Rutherford' AND "Pole Position" = 'Al Unser';
24,528
1-10527215-3
What's the report on Penske Racing winning while the pole position was Al Unser?
SELECT COUNT("Report") FROM "1-10527215-3" WHERE "Pole Position" = 'Al Unser' AND "Winning team" = 'Penske Racing';
24,529
1-104858-1
Which countries have a scouting organization that was founded in 1926, and joined WOSM in 1930?
SELECT "Country" FROM "1-104858-1" WHERE "Year current Scouting organization joined WOSM" = '1930' AND "Year member organization was founded" = '1926';
24,530
1-104858-1
Does Venezuela admit only boys, only girls, or both?
SELECT "Admits boys/girls" FROM "1-104858-1" WHERE "Country" = 'Venezuela';
24,531
1-104858-1
Which organizations were founded in 1972, but became WOSM members until 1977?
SELECT "Name of member organization" FROM "1-104858-1" WHERE "Year member organization was founded" = '1972' AND "Year current Scouting organization joined WOSM" = '1977';
24,532
1-104858-1
Does The Scout Association of Hong Kong admit boys, girls, or both?
SELECT "Admits boys/girls" FROM "1-104858-1" WHERE "Name of member organization" = 'The Scout Association of Hong Kong';
24,533
1-104858-1
Does The Ghana Scout Association (founded in 1912) admit boys, girls, or both?
SELECT "Admits boys/girls" FROM "1-104858-1" WHERE "Year member organization was founded" = '1912' AND "Name of member organization" = 'The Ghana Scout Association';
24,534
1-10528691-4
What is the model number introduced May 1999?
SELECT MAX("Model") FROM "1-10528691-4" WHERE "Introduction" = 'May 1999';
24,535
1-10528691-4
What is the print resolution (FPI) for December 2002?
SELECT "Print resolution (DPI) Resolution is given in dots per inch (DPI)" FROM "1-10528691-4" WHERE "Introduction" = 'December 2002';
24,536
1-10528691-4
What is the maximum memory for the model discontinued in November 2001?
SELECT "Maximum memory" FROM "1-10528691-4" WHERE "Discontinued" = 'November 2001';
24,537
1-1053802-1
What is main presenters of La Granja?
SELECT "Main presenters" FROM "1-1053802-1" WHERE "Local title" = 'La Granja';
24,538
1-1053802-1
What is the main presenter of Bulgaria?
SELECT "Main presenters" FROM "1-1053802-1" WHERE "Region/country" = 'Bulgaria';
24,539
1-1053802-1
How many winners are there of Farma?
SELECT COUNT("Winners") FROM "1-1053802-1" WHERE "Local title" = 'Farma';
24,540
1-10556257-1
What is the most cup goals for seasson 1911-12?
SELECT MAX("Cup Goals") FROM "1-10556257-1" WHERE "Season" = '1911-12';
24,541
1-10556257-1
What is the league apps for season 1923-24?
SELECT "League Apps" FROM "1-10556257-1" WHERE "Season" = '1923-24';
24,542
1-10556257-1
What is the team for season 1911-12?
SELECT "Team" FROM "1-10556257-1" WHERE "Season" = '1911-12';
24,543
1-10566855-1
what's the minimum attendance with score  10.16 (76) – 9.22 (76)
SELECT MIN("Attendance") FROM "1-10566855-1" WHERE "Score" = '10.16 (76) – 9.22 (76)';
24,544
1-10566855-1
who's the premier with in 1970
SELECT "Premier" FROM "1-10566855-1" WHERE "Season" = 1970.0;
24,545
1-10566855-1
who are all the runner-up for premier in Richmond
SELECT "Runner-up" FROM "1-10566855-1" WHERE "Premier" = 'Richmond';
24,546
1-10566855-1
what is the minimum attendance with score 8.16 (64) – 8.12 (60)
SELECT MIN("Attendance") FROM "1-10566855-1" WHERE "Score" = '8.16 (64) – 8.12 (60)';
24,547
1-10568553-1
How many mileposts are there on Anne Street?
SELECT COUNT("Milepost") FROM "1-10568553-1" WHERE "Street Names" = 'Anne Street';
24,548
1-10568553-1
Which street is 12.2 miles long?
SELECT "Street Names" FROM "1-10568553-1" WHERE "Milepost" = '12.2';
24,549
1-10568553-1
Where does Route 24 intersect?
SELECT "Location" FROM "1-10568553-1" WHERE "Roads Intersected" = 'Route 24';
24,550
1-10568553-1
Where is milepost 12.8?
SELECT "Location" FROM "1-10568553-1" WHERE "Milepost" = '12.8';
24,551
1-1057262-1
What is the minimum amount for Wool for 2001-02?
SELECT MIN("2001-02") FROM "1-1057262-1" WHERE "Commodity" = 'Wool';
24,552
1-1057316-1
Who were the operational owners during the construction date of April 1892?
SELECT "Operational owner(s)" FROM "1-1057316-1" WHERE "Build date" = 'April 1892';
24,553
1-1057316-1
Where can you find Colorado and Southern Railway #9?
SELECT "Disposition" FROM "1-1057316-1" WHERE "Operational owner(s)" = 'Colorado and Southern Railway #9';
24,554
1-1057316-1
What is the wheel arrangement for the train in Riverdale, Georgia?
SELECT "Wheel arrangement ( Whyte notation )" FROM "1-1057316-1" WHERE "Disposition" = 'Riverdale, Georgia';
24,555
1-1057316-1
When was the train 2053 built?
SELECT "Build date" FROM "1-1057316-1" WHERE "Serial number" = '2053';
24,556
1-1057316-1
How many wheels does the train owned by Texas and New Orleans Railroad #319 have?
SELECT COUNT("Wheel arrangement ( Whyte notation )") FROM "1-1057316-1" WHERE "Operational owner(s)" = 'Texas and New Orleans Railroad #319';
24,557
1-10577579-3
Which college has the men's nickname of the Blazers?
SELECT "Institution" FROM "1-10577579-3" WHERE "Men’s Nickname" = 'Blazers';
24,558
1-10577579-3
Name the joined for the Wolfpack women's nickname
SELECT "Joined" FROM "1-10577579-3" WHERE "Women’s Nickname" = 'Wolfpack';
24,559
1-10577579-3
Name the left of the Lady Pilots.
SELECT "Left" FROM "1-10577579-3" WHERE "Women’s Nickname" = 'Lady Pilots';
24,560
1-10577579-3
Name the women's nickname when the enrollment is 1500 in Mobile, Alabama.
SELECT "Women’s Nickname" FROM "1-10577579-3" WHERE "Enrollment" = 1500.0 AND "Location" = 'Mobile, Alabama';
24,561
1-10577579-3
Which conference is in Jackson, Mississippi?
SELECT "Current Conference" FROM "1-10577579-3" WHERE "Location" = 'Jackson, Mississippi';
24,562
1-10577579-3
What is the men's nickname at the school that has the Lady Wildcats women's nickname?
SELECT "Men’s Nickname" FROM "1-10577579-3" WHERE "Women’s Nickname" = 'Lady Wildcats';
24,563
1-10577579-2
What is the Mens Nickname for the member location of Jacksonville, Florida?
SELECT "Mens Nickname" FROM "1-10577579-2" WHERE "Location" = 'Jacksonville, Florida';
24,564
1-10577579-2
What is the enrollment for the institution that was founded in 1866 and is a Private/(African Methodist) type?
SELECT MAX("Enrollment") FROM "1-10577579-2" WHERE "Founded" = 1866.0 AND "Type" = 'Private/(African Methodist)';
24,565
1-10577579-2
That is the year founded for the institution location of Nashville, Tennessee?
SELECT MIN("Founded") FROM "1-10577579-2" WHERE "Location" = 'Nashville, Tennessee';
24,566
1-10577579-2
What is the year the institution Tougaloo College joined?
SELECT "Joined" FROM "1-10577579-2" WHERE "Institution" = 'Tougaloo College';
24,567
1-10592536-8
What is the date of vacancy when the date of appointment is 28 November 2007 and replaced by is Alex McLeish?
SELECT "Date of vacancy" FROM "1-10592536-8" WHERE "Date of appointment" = '28 November 2007' AND "Replaced by" = 'Alex McLeish';
24,568
1-10592536-8
What is the date of appointment when the date of vacancy is 21 December 2007?
SELECT "Date of appointment" FROM "1-10592536-8" WHERE "Date of vacancy" = '21 December 2007';
24,569
1-10592536-8
Who replaced when team is Wigan Athletic?
SELECT "Replaced by" FROM "1-10592536-8" WHERE "Team" = 'Wigan Athletic';
24,570
1-10592536-8
What is the date of vacancy when the team is Manchester City and replaced by is Mark Hughes?
SELECT "Date of vacancy" FROM "1-10592536-8" WHERE "Team" = 'Manchester City' AND "Replaced by" = 'Mark Hughes';
24,571
1-10592536-8
What is the date of appointment when replaced by is Roy Hodgson?
SELECT "Date of appointment" FROM "1-10592536-8" WHERE "Replaced by" = 'Roy Hodgson';
24,572
1-10592536-8
Who replaced when position in table is Pre-season?
SELECT "Replaced by" FROM "1-10592536-8" WHERE "Position in table" = 'Pre-season';
24,573
1-1059743-1
How many games had a score value of 813.5 in post-season play?
SELECT COUNT("Play-off") FROM "1-1059743-1" WHERE "Points" = '813.5';
24,574
1-1059743-1
Did any team score games that totaled up to 860.5?
SELECT "Play-off" FROM "1-1059743-1" WHERE "Points" = '860.5';
24,575
1-10595672-1
What was the score of the game when the team reached a record of 6-9?
SELECT "Score" FROM "1-10595672-1" WHERE "Record" = '6-9';
24,576
1-10581768-2
What type institution is Point Park University
SELECT "Type" FROM "1-10581768-2" WHERE "Institution" = 'Point Park University';
24,577
1-10581768-2
How many institutions are located in Wilmore, Kentucky and Private
SELECT MAX("Founded") FROM "1-10581768-2" WHERE "Type" = 'Private' AND "Location" = 'Wilmore, Kentucky';
24,578
1-10581768-2
Point Park University is what type of institution
SELECT "Type" FROM "1-10581768-2" WHERE "Institution" = 'Point Park University';
24,579
1-10581768-2
how many founded dates are listed for Carlow University 1
SELECT COUNT("Founded") FROM "1-10581768-2" WHERE "Institution" = 'Carlow University 1';
24,580
1-10610087-6
Who wrote the episode titled "Black"?
SELECT "Written by" FROM "1-10610087-6" WHERE "Title" = '"Black"';
24,581
1-10610087-6
Who are the writers for the episode "Solo"?
SELECT "Written by" FROM "1-10610087-6" WHERE "Title" = '"Solo"';
24,582
1-10610087-3
what is the original air date of the episode no in season 9?
SELECT "Original air date" FROM "1-10610087-3" WHERE "No. in season" = 9.0;
24,583
1-10610087-3
What is the title of the episode written by Denis Leary, Peter Tolan and Evan Reilly?
SELECT "Title" FROM "1-10610087-3" WHERE "Written by" = 'Denis Leary, Peter Tolan and Evan Reilly';
24,584
1-10610087-3
How many episodes were titles "Voicemail"?
SELECT COUNT("Directed by") FROM "1-10610087-3" WHERE "Title" = '"Voicemail"';
24,585
1-10602294-1
When was Kamba active?
SELECT "Dates active" FROM "1-10602294-1" WHERE "Name" = 'Kamba';
24,586
1-10602294-1
What was the cyclone's pressure in the storm that death was equal to 95km/h (60mph)?
SELECT "Pressure" FROM "1-10602294-1" WHERE "Deaths" = '95km/h (60mph)';
24,587
1-10602294-1
What were the active dates for the storm that had 185km/h (115mph) deaths?
SELECT "Dates active" FROM "1-10602294-1" WHERE "Deaths" = '185km/h (115mph)';
24,588
1-10602294-1
What was the damage (usd) from the cyclones that measured 1003hPa (29.62inHg) pressure?
SELECT "Damage (USD)" FROM "1-10602294-1" WHERE "Pressure" = '1003hPa (29.62inHg)';
24,589
1-10621256-1
what's the average where high score is 120
SELECT "Average" FROM "1-10621256-1" WHERE "High Score" = 120.0;
24,590
1-10621256-1
what's the player where 50 is 2 and n/o is 0
SELECT "Player" FROM "1-10621256-1" WHERE "50" = 2.0 AND "N/O" = 0.0;
24,591
1-10621256-1
what's the player where inns is 21
SELECT "Player" FROM "1-10621256-1" WHERE "Inns" = 21.0;
24,592
1-106367-2
Which general election had a PQ majority and a 44.75% of the popular vote?
SELECT "General election" FROM "1-106367-2" WHERE "Result" = 'PQ majority' AND "% of popular vote" = '44.75%';
24,593
1-106367-2
What is the least number of candidates running were there when 80 seats were won?
SELECT MIN("# of candidates") FROM "1-106367-2" WHERE "# of seats won" = 80.0;
24,594
1-106367-2
How many seats were won in the election with 125 candidates?
SELECT COUNT("# of seats won") FROM "1-106367-2" WHERE "# of candidates" = 125.0;
24,595
1-10647639-1
How many weeks are there?
SELECT MAX("Week") FROM "1-10647639-1";
24,596
1-10647639-1
How many people attended the game against the Indianapolis Colts?
SELECT COUNT("Attendance") FROM "1-10647639-1" WHERE "Opponent" = 'Indianapolis Colts';
24,597
1-10647639-1
On December 16, 1985, all the records were what?
SELECT "Record" FROM "1-10647639-1" WHERE "Date" = 'December 16, 1985';
24,598
1-10646790-2
How many results are there for the 0-4 record?
SELECT COUNT("Result") FROM "1-10646790-2" WHERE "Record" = '0-4';
24,599
1-10646790-2
How many weeks are there that include the date October 11, 1969.
SELECT COUNT("Week") FROM "1-10646790-2" WHERE "Date" = 'October 11, 1969';
24,600
1-10646790-2
How many weeks are there that include the date November 9, 1969.
SELECT COUNT("Week") FROM "1-10646790-2" WHERE "Date" = 'November 9, 1969';
24,601
1-10646790-2
How many records are there at the War Memorial Stadium?
SELECT COUNT("Record") FROM "1-10646790-2" WHERE "Stadium" = 'War Memorial Stadium';
24,602
1-10646790-2
What was the minimum attendance on December 7, 1969?
SELECT MIN("Attendance") FROM "1-10646790-2" WHERE "Date" = 'December 7, 1969';
24,603
1-10647401-1
What week corresponds to the last one to be played at the Memorial Stadium?
SELECT MAX("Week") FROM "1-10647401-1" WHERE "Stadium" = 'Memorial Stadium';
24,604
1-10647401-1
In which stadium is the week 5 game played?
SELECT "Stadium" FROM "1-10647401-1" WHERE "Week" = 5.0;
24,605
1-10664957-2
In Penney's game what is the probability where the 1st player wins if the probability of a draw is 8.28% and the 2nd player chooses B BR?
SELECT "Probability 1st player wins" FROM "1-10664957-2" WHERE "Probability of a draw" = '8.28%' AND "2nd players choice" = 'B BR';
24,606
1-10664957-2
If the first player chooses RB B, what is the second player's choices?
SELECT "2nd players choice" FROM "1-10664957-2" WHERE "1st players choice" = 'RB B';
24,607
1-10664957-2
What is the probability where the second player wins where their choice is R RB and the first player has a 5.18% chance of winning?
SELECT "Probability 2nd player wins" FROM "1-10664957-2" WHERE "2nd players choice" = 'R RB' AND "Probability 1st player wins" = '5.18%';
24,608
1-10664957-2
What are the chances the first player will win if the 2nd player has an 80.11% chance of winning with the choice of R RB?
SELECT "Probability 1st player wins" FROM "1-10664957-2" WHERE "Probability 2nd player wins" = '80.11%' AND "2nd players choice" = 'R RB';
24,609
1-10664957-2
What are the chances that player 2 wins if player 1's choice is BB R?
SELECT "Probability 2nd player wins" FROM "1-10664957-2" WHERE "1st players choice" = 'BB R';
24,610
1-10664957-2
How high is the chance that player 1 wins if player 2 has an 88.29% chance of winning with the choice of R RB?
SELECT "Probability 1st player wins" FROM "1-10664957-2" WHERE "Probability 2nd player wins" = '88.29%' AND "2nd players choice" = 'R RB';
24,611
1-10650711-1
what is the nfl team where player is Thane Gash
SELECT "NFL Team" FROM "1-10650711-1" WHERE "Player" = 'Thane Gash';
24,612
1-10650711-1
what is the maximum pick # where player is Anthony Blaylock
SELECT MAX("Pick #") FROM "1-10650711-1" WHERE "Player" = 'Anthony Blaylock';
24,613
1-10650711-1
what's the nfl team where player is Clifford Charlton
SELECT "NFL Team" FROM "1-10650711-1" WHERE "Player" = 'Clifford Charlton';
24,614
1-10650711-1
what's the position where player is Anthony Blaylock
SELECT "Position" FROM "1-10650711-1" WHERE "Player" = 'Anthony Blaylock';
24,615
1-10650711-1
what is the minimum pick # where position is Defensive Tackle
SELECT MIN("Pick #") FROM "1-10650711-1" WHERE "Position" = 'Defensive Tackle';
24,616
1-1067441-1
Which province has a density of 971.4?
SELECT "Province" FROM "1-1067441-1" WHERE "Density" = '971.4';
24,617
1-1067441-1
What is Friesland's gdp per capita?
SELECT MIN("GDP per cap. (2003, in €)") FROM "1-1067441-1" WHERE "Province" = 'Friesland';
24,618
1-1067441-1
What is the area of the place that has a population density of 331.4?
SELECT MAX("Area (km²)") FROM "1-1067441-1" WHERE "Density" = '331.4';
24,619
1-1067441-1
Which province has a gdp of 38355€ million euros?
SELECT "Province" FROM "1-1067441-1" WHERE "GDP (2003, PPS in mil. € )" = 38355.0;