question
stringlengths 12
244
| sql
stringlengths 22
468
|
|---|---|
Which Arena has a Date of october 10?
|
SELECT Arena FROM table WHERE Date = october 10
|
Which Attendance has a Score of 4–3, and Points smaller than 5?
|
SELECT MAX Attendance FROM table WHERE Score = 4–3 AND Points < 5
|
Which Attendance has an Arena of arrowhead pond of anaheim, and Points smaller than 5?
|
SELECT Attendance FROM table WHERE Arena = arrowhead pond of anaheim AND Points < 5
|
How much Attendance has an Arena of arrowhead pond of anaheim, and Points of 5?
|
SELECT SUM Attendance FROM table WHERE Arena = arrowhead pond of anaheim AND Points = 5
|
How much 1969 has a 1967 smaller than 0.73, and a 1964 larger than 0.07?
|
SELECT COUNT 1969 FROM table WHERE 1967 < 0.73 AND 1964 > 0.07
|
Which 1964 has a Country of united states, and a 1969 smaller than 7.3?
|
SELECT MIN 1964 FROM table WHERE Country = united states AND 1969 < 7.3
|
Which 1965 has a 1962 of 0.35000000000000003, and a 1967 smaller than 0.53?
|
SELECT MIN 1965 FROM table WHERE 1962 = 0.35000000000000003 AND 1967 < 0.53
|
What is Bev Risman's Cross Code Debut?
|
SELECT Cross Code Debut FROM table WHERE Player = bev risman
|
What is the Date of RL Test v Wales Int'l Debut?
|
SELECT Date FROM table WHERE Int'l Debut = rl test v wales
|
What is the Player with a Cross Code Debut of RL Test GB v France?
|
SELECT Player FROM table WHERE Cross Code Debut = rl test gb v france
|
In what Year is Keith Smith's Cross Code Debut RL Test v Wales?
|
SELECT Year FROM table WHERE Cross Code Debut = rl test v wales AND Player = keith smith
|
What is the Date of the Int'l Debut of 1967?
|
SELECT Date FROM table WHERE Year = 1967
|
What is the Player in the Int'l Debut of 1974?
|
SELECT Player FROM table WHERE Year = 1974
|
What lane has a time of 24.83 and a heat less than 11?
|
SELECT SUM Lane FROM table WHERE Time = 24.83 AND Heat < 11
|
What is the total number of heat for Chinyere Pigot?
|
SELECT COUNT Heat FROM table WHERE Name = chinyere pigot
|
What is the name for lane 1, from Mauritius?
|
SELECT Name FROM table WHERE Lane = 1 AND Nationality = mauritius
|
Who won in 1988 with a total less than 287?
|
SELECT Player FROM table WHERE Total < 287 AND Year(s) won = 1988
|
What country is Larry Mize from?
|
SELECT Country FROM table WHERE Player = larry mize
|
What is the lowest number of bronze medals for a nation with fewer than 1 total medal?
|
SELECT MIN Bronze FROM table WHERE Total < 1
|
What team is Frank Hulbert on?
|
SELECT Team FROM table WHERE Rider = frank hulbert
|
What was Martin Geiger's rank?
|
SELECT Rank FROM table WHERE Rider = martin geiger
|
What was Tom Silver's rank?
|
SELECT Rank FROM table WHERE Rider = tom silver
|
Who was the player with a debut of age 18 v plymouth , 14 august 2012, and born in Portsmouth?
|
SELECT Player FROM table WHERE Debut = age 18 v plymouth , 14 august 2012 AND Born = portsmouth
|
Where was the player whose Current Club Elfsborg born?
|
SELECT Born FROM table WHERE Current Club = elfsborg
|
What is the debut for the person born in Poole?
|
SELECT Debut FROM table WHERE Born = poole
|
What is the club for Sam Magri?
|
SELECT Current Club FROM table WHERE Player = sam magri
|
What is the name of the manager of the Atlético Baleares?
|
SELECT Manager FROM table WHERE Current Club = atlético baleares
|
Who was the best blocker for the year that has a League Champion of queens of pain, and a C.A.N.T.S.L.E.E.P. Award of chassis crass (brooklyn)?
|
SELECT Best Blocker FROM table WHERE League Champion = queens of pain AND C.A.N.T.S.L.E.E.P. Award = chassis crass (brooklyn)
|
Who was the rookie of the year for the year that had the Brooklyn Bombshells as the league champion?
|
SELECT Rookie of the Year FROM table WHERE League Champion = brooklyn bombshells
|
What was the latest year that has a Rookie of the Year of omg wtf (brooklyn) and League Champion of bronx gridlock?
|
SELECT MAX Year FROM table WHERE League Champion = bronx gridlock AND Rookie of the Year = omg wtf (brooklyn)
|
Which Arena has Points larger than 28, and a Date of december 14?
|
SELECT Arena FROM table WHERE Points > 28 AND Date = december 14
|
How many Points have an Arena of bell centre?
|
SELECT COUNT Points FROM table WHERE Arena = bell centre
|
How much Attendance has a Loss of divis (0–3–0), and Points smaller than 38?
|
SELECT SUM Attendance FROM table WHERE Loss = divis (0–3–0) AND Points < 38
|
With a 1st run of 53.300 (7), and greater than 21 total, what is the average rank?
|
SELECT AVG Rank FROM table WHERE 1st run = 53.300 (7) AND Total > 21
|
What 2nd run has a less than 6 rank, and 3 as the total?
|
SELECT 2nd run FROM table WHERE Rank < 6 AND Total = 3
|
When the 3rd run is 36.490 (3) what is the 2nd run?
|
SELECT 2nd run FROM table WHERE 3rd run = 36.490 (3)
|
What is the sum number of year when Call of Duty 4: Modern Warfare was the game?
|
SELECT COUNT Year FROM table WHERE Game = call of duty 4: modern warfare
|
What is the earliest year when action was the genre?
|
SELECT MIN Year FROM table WHERE Genre = action
|
What is the smallest year when Ubisoft Montreal was the developer (s)?
|
SELECT MIN Year FROM table WHERE Developer(s) = ubisoft montreal
|
What is the latest year when Call of Duty 4: Modern Warfare was the game?
|
SELECT MAX Year FROM table WHERE Game = call of duty 4: modern warfare
|
Who was Lieutenant Governor to the governor that left office on January 14, 1929?
|
SELECT Lieutenant Governor FROM table WHERE Left office = january 14, 1929
|
Which governor took office on January 8, 1877?
|
SELECT Governor FROM table WHERE Took office = january 8, 1877
|
Who was lieutenant governor to the governor that left office on October 16, 2000?
|
SELECT Lieutenant Governor FROM table WHERE Left office = october 16, 2000
|
How many terms did the governor that left office on August 4, 1825 serve?
|
SELECT Terms FROM table WHERE Left office = august 4, 1825
|
On what date did the Democratic governor that had Wallace Crossley as lieutenant governor take office?
|
SELECT Took office FROM table WHERE Party = democratic AND Lieutenant Governor = wallace crossley
|
Which governor had William Henry Ashley as lieutenant governor?
|
SELECT Governor FROM table WHERE Lieutenant Governor = william henry ashley
|
Which IHSAA Class has a School of shakamak?
|
SELECT IHSAA Class FROM table WHERE School = shakamak
|
Which County has a School of bloomfield?
|
SELECT County FROM table WHERE School = bloomfield
|
How much Enrollment has a School of shakamak?
|
SELECT COUNT Enrollment FROM table WHERE School = shakamak
|
Which IHSAA Class has a Mascot of bulldogs?
|
SELECT IHSAA Class FROM table WHERE Mascot = bulldogs
|
What's the 1996 if 1986 has a 1R?
|
SELECT 1996 FROM table WHERE 1986 = 1r
|
What's the 1986 if 1991 has a QF and 1998 has a 3R?
|
SELECT 1986 FROM table WHERE 1991 = qf AND 1998 = 3r
|
What's the 1997 if 1993 has a 1R, 1995 has a 3R, and 1999 has a 1R?
|
SELECT 1997 FROM table WHERE 1999 = 1r AND 1995 = 3r AND 1993 = 1r
|
What's the 1994 if 1995 has a 1R?
|
SELECT 1994 FROM table WHERE 1995 = 1r
|
What's the tournament when 1992 is A?
|
SELECT Tournament FROM table WHERE 1992 = a
|
What's the 1997 when 1992 is QF, 1995 is 1R, and 1999 is 1R?
|
SELECT 1997 FROM table WHERE 1999 = 1r AND 1992 = qf AND 1995 = 1r
|
What's the most league cup apps for Jimmy Lawson having 0 league cup goals?
|
SELECT MAX League Cup Apps FROM table WHERE League Cup Goals = 0 AND Name = jimmy lawson
|
What's the total goals for Alan Sweeney having 0 FA Cup goals and fewer than 0 League Cup apps?
|
SELECT AVG Total Goals FROM table WHERE FA Cup Goals = 0 AND Name = alan sweeney AND League Cup Apps < 0
|
What's the total number of league cup apps when the league goals were less than 0?
|
SELECT COUNT League Cup Apps FROM table WHERE League Goals < 0
|
Where was the September 3 game?
|
SELECT Location FROM table WHERE Date = september 3
|
Which game was on September 12?
|
SELECT Game FROM table WHERE Date = september 12
|
What is cork's rank?
|
SELECT Rank FROM table WHERE County = cork
|
How many totals does cork have whose rank is larger than 2?
|
SELECT SUM Total FROM table WHERE County = cork AND Rank > 2
|
Which Matches have a Tally of 1-38?
|
SELECT Matches FROM table WHERE Tally = 1-38
|
How many silver medals did spain have when they had more than 0 bronze medals and less than 54 total medals?
|
SELECT Silver FROM table WHERE Bronze > 0 AND Total < 54 AND Nation = spain
|
What was the highest number of gold medals when there were 0 silver medals?
|
SELECT MAX Gold FROM table WHERE Silver < 0
|
What's Brazil's rank when it has notes of R?
|
SELECT COUNT Rank FROM table WHERE Notes = r AND Country = brazil
|
What rank was the premier Sir John See?
|
SELECT COUNT Rank: FROM table WHERE Premier: = sir john see
|
Which Peak Position has a Date of 10 june 1998?
|
SELECT Peak Position FROM table WHERE Date = 10 june 1998
|
What Report is on June 3, 2000?
|
SELECT Report FROM table WHERE Date = june 3, 2000
|
What is the Report on November 15, 2000?
|
SELECT Report FROM table WHERE Date = november 15, 2000
|
What is the Score on October 7, 2000?
|
SELECT Score FROM table WHERE Date = october 7, 2000
|
What is the figure for Santo Domingo, Dominican for the world record in the clean & jerk?
|
SELECT Santo Domingo , Dominican FROM table WHERE World record = clean & jerk
|
What is the 98kg for Santo Domingo, Domincan on 1 October 2006?
|
SELECT 98kg FROM table WHERE Santo Domingo , Dominican = 1 october 2006
|
What is the FIPS code for the municipality that has an area of 114.76 sq mi (297.23 sq km) and had a 2010 population of less than 166,327?
|
SELECT AVG FIPS code FROM table WHERE Area = 114.76 sq mi (297.23 sq km) AND Population (2010) < 166,327
|
What is the FIPS code for the municipality that has an area of 58.60 sq mi (151.77 sq km) and had a 2010 population smaller than 166,327?
|
SELECT COUNT FIPS code FROM table WHERE Population (2010) < 166,327 AND Area = 58.60 sq mi (151.77 sq km)
|
In what year was Yauco, which had over 42,043 people in 2010, founded?
|
SELECT AVG Founded FROM table WHERE Municipality = yauco AND Population (2010) > 42,043
|
Which Result has an Attendance larger than 38,354, and a Date of october 23, 1988?
|
SELECT Result FROM table WHERE Attendance > 38,354 AND Date = october 23, 1988
|
What is the attendance for a week smaller than 9 with a result of L 38-20?
|
SELECT MAX Attendance FROM table WHERE Result = l 38-20 AND Week < 9
|
Can you tell me the School that has the IHSAA Class of a, and the Enrollment 08-09 off 244?
|
SELECT School FROM table WHERE IHSAA Class = a AND Enrollment 08-09 = 244
|
Can you tell me the County that has the Location of shelbyville?
|
SELECT County FROM table WHERE Location = shelbyville
|
How many Deaths have a Fate of damaged, and a Tonnage (GRT) smaller than 4,917?
|
SELECT COUNT Deaths FROM table WHERE Fate = damaged AND Tonnage ( GRT ) < 4,917
|
Which Tonnage has a Fate of sunk, and Deaths smaller than 17, and a Date of 16 november 1940?
|
SELECT Tonnage ( GRT ) FROM table WHERE Fate = sunk AND Deaths < 17 AND Date = 16 november 1940
|
How much tonnage has a Fate of sunk, and a Flag of great britain, and a Date of 26 september 1940, and Deaths of 2?
|
SELECT SUM Tonnage ( GRT ) FROM table WHERE Fate = sunk AND Flag = great britain AND Date = 26 september 1940 AND Deaths = 2
|
Which tonnage has a Date of 26 september 1940, and a Ship Name of ashantian?
|
SELECT MIN Tonnage ( GRT ) FROM table WHERE Date = 26 september 1940 AND Ship Name = ashantian
|
What is the highest lane for Brazil, ranked less than 8?
|
SELECT MAX Lane FROM table WHERE Country = brazil AND Rank < 8
|
What is the total population with less than 789 males?
|
SELECT COUNT Total Population FROM table WHERE Male < 789
|
What is the lowest female number of the hiroo 1-chōme district, which has more than 1,666 households?
|
SELECT MIN Female FROM table WHERE District = hiroo 1-chōme AND Number of Households > 1,666
|
What is the highest number of males where there are 1,202 females and more than 1,127 households?
|
SELECT MAX Male FROM table WHERE Female = 1,202 AND Number of Households > 1,127
|
What is the total number of females where the total population is less than 2,195?
|
SELECT COUNT Female FROM table WHERE Total Population < 2,195
|
What was the outcome when the partner was Iryna Bremond?
|
SELECT Outcome FROM table WHERE Partner = iryna bremond
|
What tournament had a Score of 6–3, 2–6, [10–8]?
|
SELECT Tournament FROM table WHERE Score = 6–3, 2–6, [10–8]
|
Who was the partner when the surface was clay, and outcome was runner-up, with a score of 4–6, 1–6?
|
SELECT Partner FROM table WHERE Surface = clay AND Outcome = runner-up AND Score = 4–6, 1–6
|
What is the rank of Manuel Cortina Martínez?
|
SELECT Rank FROM table WHERE Athletes = manuel cortina martínez
|
What is the rank if the person with a time of 1:40.626?
|
SELECT SUM Rank FROM table WHERE Time = 1:40.626
|
What is the rank of the person with a time of 1:44.757?
|
SELECT MAX Rank FROM table WHERE Time = 1:44.757
|
What is the rank of Israel?
|
SELECT MAX Rank FROM table WHERE Country = israel
|
What is the name of the athlete from Myanmar?
|
SELECT Athletes FROM table WHERE Country = myanmar
|
What are the notes for the person ranked larger than 2, and a time of 1:48.179?
|
SELECT Notes FROM table WHERE Rank > 2 AND Time = 1:48.179
|
What is the lowest Chorley with a 6 Preston and a 4 for West Lancashire?
|
SELECT MIN Chorley FROM table WHERE Preston = 6 AND West Lancashire < 4
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.