question_id
int64 24.2k
80.3k
| table_id
stringlengths 8
14
| question
stringlengths 12
244
| sql
stringlengths 33
482
|
|---|---|---|---|
80,020
|
2-12518301-2
|
What is the smallest number of matches with Bonus Pts of 19 and Total Points greater than 421?
|
SELECT MIN("Matches") FROM "2-12518301-2" WHERE "Bonus Pts" = 19.0 AND "Total Points" > 421.0;
|
80,021
|
2-12498437-2
|
Which category earlier than 2006 has Bart Brentjens as rider 2?
|
SELECT "Category" FROM "2-12498437-2" WHERE "Date" < 2006.0 AND "Rider 2" = 'Bart Brentjens';
|
80,022
|
2-12498437-2
|
How many dates does the ladies category correspond to rothaus-cube?
|
SELECT COUNT("Date") FROM "2-12498437-2" WHERE "Category" = 'ladies' AND "Team" = 'rothaus-cube';
|
80,023
|
2-12498437-2
|
Which category has a team of Cannondale Vredestein?
|
SELECT "Category" FROM "2-12498437-2" WHERE "Team" = 'Cannondale Vredestein';
|
80,024
|
2-1252110-1
|
What is the qual with a rank 9?
|
SELECT "Qual" FROM "2-1252110-1" WHERE "Rank" = '9';
|
80,025
|
2-1252110-1
|
What is the finish in 1956?
|
SELECT "Finish" FROM "2-1252110-1" WHERE "Year" = '1956';
|
80,026
|
2-1252110-1
|
What is the finish with 200 laps and a start of 3?
|
SELECT "Finish" FROM "2-1252110-1" WHERE "Laps" = 200.0 AND "Start" = '3';
|
80,027
|
2-1252110-1
|
What is the qual with 200 laps and a rank of 27?
|
SELECT "Qual" FROM "2-1252110-1" WHERE "Laps" = 200.0 AND "Rank" = '27';
|
80,028
|
2-1252110-1
|
What is the rank with a 14 finish?
|
SELECT "Rank" FROM "2-1252110-1" WHERE "Finish" = '14';
|
80,029
|
2-12275551-1
|
When did Deng Xuan first win Women's singles?
|
SELECT MIN("Year") FROM "2-12275551-1" WHERE "Women's singles" = 'Deng Xuan';
|
80,030
|
2-12275551-1
|
When did Julie Still first win Women's singles?
|
SELECT MIN("Year") FROM "2-12275551-1" WHERE "Women's singles" = 'Julie Still';
|
80,031
|
2-12884908-3
|
What is the lowest cuts made of the masters tournament, which had a top-25 less than 0?
|
SELECT MIN("Cuts made") FROM "2-12884908-3" WHERE "Tournament" = 'masters tournament' AND "Top-25" < 0.0;
|
80,032
|
2-12884908-3
|
What is the highest number of wins a tournament with 1 cuts made, a top-25 less than 1, and less than 2 events has?
|
SELECT MAX("Wins") FROM "2-12884908-3" WHERE "Cuts made" = 1.0 AND "Top-25" < 1.0 AND "Events" < 2.0;
|
80,033
|
2-12884908-3
|
What is the average number of events the masters tournament, which has more than 0 top-25, has?
|
SELECT AVG("Events") FROM "2-12884908-3" WHERE "Tournament" = 'masters tournament' AND "Top-25" > 0.0;
|
80,034
|
2-12884908-3
|
What is the total number of top-25 a tournament with less than 2 events has?
|
SELECT COUNT("Top-25") FROM "2-12884908-3" WHERE "Events" < 2.0;
|
80,035
|
2-12282998-1
|
Who won Women's doubles when Nikhil Kanetkar won Men's singles?
|
SELECT "Women's doubles" FROM "2-12282998-1" WHERE "Men's singles" = 'Nikhil Kanetkar';
|
80,036
|
2-12282998-1
|
Who won Women's doubles when Zen Yaqiong won Women's singles?
|
SELECT "Women's doubles" FROM "2-12282998-1" WHERE "Women's singles" = 'Zen Yaqiong';
|
80,037
|
2-12207717-6
|
What was the date of the game that had a loss of Gott (2-7)?
|
SELECT "Date" FROM "2-12207717-6" WHERE "Loss" = 'Gott (2-7)';
|
80,038
|
2-12207717-6
|
Who was the opponent at the game when the record was 54-58?
|
SELECT "Opponent" FROM "2-12207717-6" WHERE "Record" = '54-58';
|
80,039
|
2-12207717-6
|
What was the score of the game when the record was 59-65?
|
SELECT "Score" FROM "2-12207717-6" WHERE "Record" = '59-65';
|
80,040
|
2-12207717-6
|
Who was the opponent at the game that had a loss of Caldwell (10-11)?
|
SELECT "Opponent" FROM "2-12207717-6" WHERE "Loss" = 'Caldwell (10-11)';
|
80,041
|
2-1330308-2
|
Which opponent had a time of 1:26?
|
SELECT "Opponent" FROM "2-1330308-2" WHERE "Time" = '1:26';
|
80,042
|
2-12207430-3
|
What was the date of the game with the Kansas City Royals when the Blue Jays record was 18-12?
|
SELECT "Date" FROM "2-12207430-3" WHERE "Opponent" = 'Royals' AND "Record" = '18-12';
|
80,043
|
2-1235762-2
|
Which catalogue is from the UK region, and is on vinyl, and was dated in 1986?
|
SELECT "Catalogue" FROM "2-1235762-2" WHERE "Region" = 'UK' AND "Format" = 'vinyl' AND "Date" = '1986';
|
80,044
|
2-1235762-2
|
What region has a Bronze label and a catalogue of 202 876-270?
|
SELECT "Region" FROM "2-1235762-2" WHERE "Label" = 'Bronze' AND "Catalogue" = '202 876-270';
|
80,045
|
2-1235762-2
|
Which label is from the Germany region?
|
SELECT "Label" FROM "2-1235762-2" WHERE "Region" = 'Germany';
|
80,046
|
2-1235762-2
|
What label has BROL 34531 as it's catalogue?
|
SELECT "Label" FROM "2-1235762-2" WHERE "Catalogue" = 'BROL 34531';
|
80,047
|
2-1235762-2
|
Which label has UK for its region, is on a CD, and is dated from 1986?
|
SELECT "Label" FROM "2-1235762-2" WHERE "Region" = 'UK' AND "Date" = '1986' AND "Format" = 'CD';
|
80,048
|
2-1235762-2
|
Which catalogue has Essential, Castle Music as it's label?
|
SELECT "Catalogue" FROM "2-1235762-2" WHERE "Label" = 'Essential, Castle Music';
|
80,049
|
2-1291598-3
|
What's the period of a Rock album released in 1973?
|
SELECT "Period active" FROM "2-1291598-3" WHERE "Release-year of first charted record" = 1973.0 AND "Genre" = 'Rock';
|
80,050
|
2-13312898-19
|
Name the pick number for Bill Atessis
|
SELECT "Pick #" FROM "2-13312898-19" WHERE "Name" = 'Bill Atessis';
|
80,051
|
2-13312898-19
|
Name the total number of overall for defensive tackle
|
SELECT COUNT("Overall") FROM "2-13312898-19" WHERE "Position" = 'defensive tackle';
|
80,052
|
2-12794433-2
|
What is the 2012-list rank of a country with the lowest 2012-list rank out of all the countries with a 2010-list rank better than 13, a 2009-list rank of 0, a 2008-list rank lower than 4?
|
SELECT MAX("2012-list") FROM "2-12794433-2" WHERE "2010-list" < 13.0 AND "2009-list" = 0.0 AND "2008-list" > 4.0;
|
80,053
|
2-1228210-1
|
Which engine has Daimler Benz AG as an entrant?
|
SELECT "Engine" FROM "2-1228210-1" WHERE "Entrant" = 'Daimler Benz AG';
|
80,054
|
2-12333215-2
|
In which years was the to par +6?
|
SELECT "Year(s) won" FROM "2-12333215-2" WHERE "To par" = '+6';
|
80,055
|
2-12333215-2
|
In 1991, what was the lowest total?
|
SELECT MIN("Total") FROM "2-12333215-2" WHERE "Year(s) won" = '1991';
|
80,056
|
2-12594788-2
|
What are the total lanes that have a rank larger than 22?
|
SELECT SUM("Lane") FROM "2-12594788-2" WHERE "Rank" > 22.0;
|
80,057
|
2-12594788-2
|
Which one has a rank bigger than 2, lane of 1, and is from Hong Kong?
|
SELECT "Name" FROM "2-12594788-2" WHERE "Rank" > 2.0 AND "Lane" = 1.0 AND "Nationality" = 'Hong Kong';
|
80,058
|
2-12594788-2
|
What rank is from japan, has a lane smaller than 7 and a heat smaller than 3?
|
SELECT SUM("Rank") FROM "2-12594788-2" WHERE "Nationality" = 'japan' AND "Lane" < 7.0 AND "Heat" < 3.0;
|
80,059
|
2-12558310-2
|
What was jim hoff's sum of losses and a wins smaller than 12?
|
SELECT SUM("Losses") FROM "2-12558310-2" WHERE "Manager" = 'jim hoff' AND "Wins" < 12.0;
|
80,060
|
2-12558310-2
|
What was the average of games that were one in 1978 that were smaller than 141?
|
SELECT AVG("Wins") FROM "2-12558310-2" WHERE "Years" = '1978' AND "Games" < 141.0;
|
80,061
|
2-12558310-2
|
What was the sum of richie hebner winning games that were smaller 34?
|
SELECT SUM("Games") FROM "2-12558310-2" WHERE "Manager" = 'richie hebner' AND "Wins" < 34.0;
|
80,062
|
2-12558310-2
|
What was the average of wins with manager george scherger smaller than 3 and losses smaller than 1?
|
SELECT AVG("Wins") FROM "2-12558310-2" WHERE "Games" < 3.0 AND "Manager" = 'george scherger' AND "Losses" < 1.0;
|
80,063
|
2-1284347-1
|
When was the Golden Slipper race?
|
SELECT "Date" FROM "2-1284347-1" WHERE "Race" = 'Golden Slipper';
|
80,064
|
2-1284347-1
|
In which races did the jockey weigh less than 55.5 kg?
|
SELECT "Race" FROM "2-1284347-1" WHERE "Weight (kg)" < 55.5;
|
80,065
|
2-1284347-1
|
What was the result of the Todman Stakes race at Rosehill?
|
SELECT "Result" FROM "2-1284347-1" WHERE "Venue" = 'Rosehill' AND "Race" = 'Todman Stakes';
|
80,066
|
2-12925308-1
|
What Country has Player Ky Laffoon?
|
SELECT "Country" FROM "2-12925308-1" WHERE "Player" = 'Ky Laffoon';
|
80,067
|
2-12925308-1
|
What Player is from the Country United States and Money ($) of 356?
|
SELECT "Player" FROM "2-12925308-1" WHERE "Country" = 'United States' AND "Money ( $ )" = 356.0;
|
80,068
|
2-12925308-1
|
What Player has a To par of +1 and the Score 75-70-71-73=289?
|
SELECT "Player" FROM "2-12925308-1" WHERE "To par" = '+1' AND "Score" = '75-70-71-73=289';
|
80,069
|
2-12259697-8
|
What was the outcome for the Rome 2, Italy tournament?
|
SELECT "Outcome" FROM "2-12259697-8" WHERE "Tournament" = 'Rome 2, Italy';
|
80,070
|
2-12259697-8
|
What was the outcome of the match opponents in the final of Marius Călugăru Ciprian Petre Porumb?
|
SELECT "Outcome" FROM "2-12259697-8" WHERE "Opponents in the final" = 'Marius Călugăru Ciprian Petre Porumb';
|
80,071
|
2-12402019-3
|
How many golds have a Total of 11, and a Bronze smaller than 3?
|
SELECT SUM("Gold") FROM "2-12402019-3" WHERE "Total" = 11.0 AND "Bronze" < 3.0;
|
80,072
|
2-12402019-3
|
How many golds have a Bronze of 0, a Total larger than 1, a Nation of chad, and a Silver larger than 0?
|
SELECT SUM("Gold") FROM "2-12402019-3" WHERE "Bronze" = 0.0 AND "Total" > 1.0 AND "Nation" = 'chad' AND "Silver" > 0.0;
|
80,073
|
2-12402019-3
|
What is the smallest silver with a Gold of 1, and a Nation of Lithuania?
|
SELECT MIN("Silver") FROM "2-12402019-3" WHERE "Gold" = 1.0 AND "Nation" = 'Lithuania';
|
80,074
|
2-12402019-3
|
What is the total bronze with a Gold larger than 1, a Rank of 2, and a Silver smaller than 12?
|
SELECT COUNT("Bronze") FROM "2-12402019-3" WHERE "Gold" > 1.0 AND "Rank" = 2.0 AND "Silver" < 12.0;
|
80,075
|
2-13193466-15
|
Which Visiting Team is on December 23?
|
SELECT "Visiting Team" FROM "2-13193466-15" WHERE "Date" = 'December 23';
|
80,076
|
2-13193466-15
|
Which Host Team has Final Score of 42-23?
|
SELECT "Host Team" FROM "2-13193466-15" WHERE "Final Score" = '42-23';
|
80,077
|
2-13193466-15
|
When did Final Score of 31-7 happen?
|
SELECT "Date" FROM "2-13193466-15" WHERE "Final Score" = '31-7';
|
80,078
|
2-12206211-7
|
What was the score of the Blue Jays game when their record was 75-68 and the attendance was larger than 33736?
|
SELECT "Score" FROM "2-12206211-7" WHERE "Attendance" > 33736.0 AND "Record" = '75-68';
|
80,079
|
2-12509095-13
|
Which Tournament in 2010 also has Grand Slam Tournaments in 2011
|
SELECT "2010" FROM "2-12509095-13" WHERE "2011" = 'Grand Slam Tournaments';
|
80,080
|
2-12635188-4
|
What was the average attendance when the New York Mets were opponents with a record of 51-33?
|
SELECT AVG("Attendance") FROM "2-12635188-4" WHERE "Opponent" = 'New York Mets' AND "Record" = '51-33';
|
80,081
|
2-13193466-16
|
What visiting team played on October 18?
|
SELECT "Visiting Team" FROM "2-13193466-16" WHERE "Date" = 'October 18';
|
80,082
|
2-13193466-16
|
What visiting team played at 3Com Park on October 7?
|
SELECT "Visiting Team" FROM "2-13193466-16" WHERE "Stadium" = '3Com Park' AND "Date" = 'October 7';
|
80,083
|
2-13193466-16
|
Which host team won on a final scoreline of 13-10?
|
SELECT "Host Team" FROM "2-13193466-16" WHERE "Final Score" = '13-10';
|
80,084
|
2-13193466-16
|
In what stadium did a game result in a final scoreline reading 27-34?
|
SELECT "Stadium" FROM "2-13193466-16" WHERE "Final Score" = '27-34';
|
80,085
|
2-13193466-16
|
In the game in which the Jacksonville Jaguars were hosts, what was the name of the visiting team?
|
SELECT "Visiting Team" FROM "2-13193466-16" WHERE "Host Team" = 'Jacksonville Jaguars';
|
80,086
|
2-13193466-16
|
Which visiting team wound up with a final score of 18-40?
|
SELECT "Visiting Team" FROM "2-13193466-16" WHERE "Final Score" = '18-40';
|
80,087
|
2-13258851-2
|
Name the sum of attendacne for 16 weeks
|
SELECT SUM("Attendance") FROM "2-13258851-2" WHERE "Week" = 16.0;
|
80,088
|
2-13258851-2
|
Name the result for week less than 7 and game sites of Los Angeles Memorial Coliseum
|
SELECT "Result" FROM "2-13258851-2" WHERE "Week" < 7.0 AND "Game site" = 'Los Angeles Memorial Coliseum';
|
80,089
|
2-13258851-2
|
Name the result for week 7
|
SELECT "Result" FROM "2-13258851-2" WHERE "Week" = 7.0;
|
80,090
|
2-13237088-24
|
How many yards lost by the player with more gained than 51 and average/g of 3.6?
|
SELECT COUNT("Loss") FROM "2-13237088-24" WHERE "Avg/G" = '3.6' AND "Gain" > 51.0;
|
80,091
|
2-13237088-24
|
What are the gains for the player with average of 26.8 and lost yard fewer than 13?
|
SELECT SUM("Gain") FROM "2-13237088-24" WHERE "Avg/G" = '26.8' AND "Loss" < 13.0;
|
80,092
|
2-12824918-2
|
When did Mathieu play against Flavio Cipolla?
|
SELECT "Date" FROM "2-12824918-2" WHERE "Opponent in the Final" = 'Flavio Cipolla';
|
80,093
|
2-12824918-2
|
Which tournament had a final score of 6–3, 6–2?
|
SELECT "Tournament" FROM "2-12824918-2" WHERE "Score in the Final" = '6–3, 6–2';
|
80,094
|
2-12824918-2
|
On which surface did Mathieu play against Antonio Veić?
|
SELECT "Surface" FROM "2-12824918-2" WHERE "Opponent in the Final" = 'Antonio Veić';
|
80,095
|
2-12824918-2
|
When did Mathieu play against Antonio Veić?
|
SELECT "Date" FROM "2-12824918-2" WHERE "Opponent in the Final" = 'Antonio Veić';
|
80,096
|
2-12824918-2
|
When did Mathieu play against Andrey Golubev?
|
SELECT "Date" FROM "2-12824918-2" WHERE "Opponent in the Final" = 'Andrey Golubev';
|
80,097
|
2-12204442-1
|
What opened with a drop height of 272feet?
|
SELECT "Opened" FROM "2-12204442-1" WHERE "Drop height*" = '272feet';
|
80,098
|
2-12204442-1
|
What was the speed of 200feet Giant Drop attraction?
|
SELECT "Speed" FROM "2-12204442-1" WHERE "Model" = 'Giant Drop' AND "Drop height*" = '200feet';
|
80,099
|
2-12204442-1
|
What park opened in 1999?
|
SELECT "Park" FROM "2-12204442-1" WHERE "Opened" = '1999';
|
80,100
|
2-13242342-5
|
Name the record for Detroit and decision of Denis
|
SELECT "Record" FROM "2-13242342-5" WHERE "Home" = 'Detroit' AND "Decision" = 'Denis';
|
80,101
|
2-13242342-5
|
Name the average attendance with Dallas visitor
|
SELECT AVG("Attendance") FROM "2-13242342-5" WHERE "Visitor" = 'Dallas';
|
80,102
|
2-12819742-4
|
How close to par was Tom Kite when he played?
|
SELECT "To par" FROM "2-12819742-4" WHERE "Player" = 'Tom Kite';
|
80,103
|
2-12819742-4
|
Which of the countries showed a score of 71-72=143?
|
SELECT "Country" FROM "2-12819742-4" WHERE "Score" = '71-72=143';
|
80,104
|
2-12819742-4
|
Which country watch Tom Watson at T9 score 72-72=144?
|
SELECT "Country" FROM "2-12819742-4" WHERE "Place" = 'T9' AND "Score" = '72-72=144' AND "Player" = 'Tom Watson';
|
80,105
|
2-12819742-4
|
What was thE final scorE whEn thE playEr was an E to par?
|
SELECT "Score" FROM "2-12819742-4" WHERE "To par" = 'E';
|
80,106
|
2-12857517-1
|
What is the name of the team that has 307 attempts?
|
SELECT "Team" FROM "2-12857517-1" WHERE "Attempts" = '307';
|
80,107
|
2-12857517-1
|
What is the name of the team that has 1,317 attempts?
|
SELECT "Team" FROM "2-12857517-1" WHERE "Attempts" = '1,317';
|
80,108
|
2-12857517-1
|
What year was 2,242 yards achieved?
|
SELECT "Year" FROM "2-12857517-1" WHERE "Yards" = '2,242';
|
80,109
|
2-12857517-1
|
Which team has a 59.8% completion rate?
|
SELECT "Team" FROM "2-12857517-1" WHERE "Completion %" = '59.8%';
|
80,110
|
2-1226496-1
|
Which year has has a Engine of maserati straight-6?
|
SELECT COUNT("Year") FROM "2-1226496-1" WHERE "Engine" = 'maserati straight-6';
|
80,111
|
2-1226496-1
|
What is the Point of Chassis of Lancia D50 in 1954
|
SELECT "Points" FROM "2-1226496-1" WHERE "Chassis" = 'Lancia D50' AND "Year" = 1954.0;
|
80,112
|
2-12280777-3
|
What is on at 8:00 before the 9:00 showing of Chuck?
|
SELECT "8:00" FROM "2-12280777-3" WHERE "9:00" = 'Chuck';
|
80,113
|
2-12280777-3
|
What show comes on at 9:00 on the channel that shows The Insider at 7:00?
|
SELECT "9:00" FROM "2-12280777-3" WHERE "7:00" = 'The Insider';
|
80,114
|
2-12280777-3
|
On the channel with The Biggest Loser at 8:00, what's on at 7:30?
|
SELECT "7:30" FROM "2-12280777-3" WHERE "8:00" = 'The Biggest Loser';
|
80,115
|
2-12280777-3
|
What's on at 7:30 before the 9:00 showing of The Tudors?
|
SELECT "7:30" FROM "2-12280777-3" WHERE "9:00" = 'The Tudors';
|
80,116
|
2-12280777-3
|
If Gossip Girl is on at 7:30, what shows at 9:00?
|
SELECT "9:00" FROM "2-12280777-3" WHERE "7:30" = 'Gossip Girl';
|
80,117
|
2-12898654-11
|
What is the match total for a score over 299 and under 412 innings?
|
SELECT SUM("Matches") FROM "2-12898654-11" WHERE "High Score" = '299' AND "Innings" < 412.0;
|
80,118
|
2-12898654-11
|
What is the high run total associated with a high score of 385 and under 407 innings?
|
SELECT MAX("Runs") FROM "2-12898654-11" WHERE "High Score" = '385' AND "Innings" < 407.0;
|
80,119
|
2-12483185-2
|
Which 2nd leg has a 1st leg of 1-1 and is Team 1 Djoliba AC?
|
SELECT "2nd leg" FROM "2-12483185-2" WHERE "1st leg" = '1-1' AND "Team 1" = 'Djoliba AC';
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.