question
stringlengths
12
244
sql
stringlengths
22
468
What was the greatest Took Office dates that Left Office in 1998?
SELECT MAX Took office FROM table WHERE Left office = 1998
What is the average Laps for andrea de cesaris?
SELECT AVG Laps FROM table WHERE Driver = andrea de cesaris
What is the lowest Grid for jj lehto with over 51 laps?
SELECT MIN Grid FROM table WHERE Laps > 51 AND Driver = jj lehto
What is the average Grid that has a Time/Retired of +2 laps, and under 51 laps?
SELECT AVG Grid FROM table WHERE Time/Retired = +2 laps AND Laps < 51
What's the Home teams Venue near Victoria Park?
SELECT Home team FROM table WHERE Venue = victoria park
What is the Home team with a crowd relevant to footscray?
SELECT Crowd FROM table WHERE Home team = footscray
What is the team's record when they play nashville at home?
SELECT Record FROM table WHERE Home = nashville
What is the decision when they're at phoenix?
SELECT Decision FROM table WHERE Visitor = phoenix
What was the score in the Tournament of Frankfurt?
SELECT Score FROM table WHERE Tournament = frankfurt
Who was the winner in the Tournament of Graz-Seiersberg?
SELECT Winner FROM table WHERE Tournament = graz-seiersberg
Who earned third place when the winner was Paul Haarhuis?
SELECT Third Place FROM table WHERE Winner = paul haarhuis
what is the most laps with the time/retired is differential and the grid is more than 2?
SELECT MAX Laps FROM table WHERE Time/Retired = differential AND Grid > 2
what is the least laps when the grid is 5?
SELECT MIN Laps FROM table WHERE Grid = 5
On what date was Anniston Army Depot (SE Industrial Area) deleted?
SELECT Deleted FROM table WHERE Name = anniston army depot (se industrial area)
In what county is the entry that has a Construction Completed date of 07/19/2000 and a Listed date of 09/21/1984 located?
SELECT County FROM table WHERE Listed = 09/21/1984 AND Construction completed = 07/19/2000
On what date was Stauffer Chemical Company (Lemoyne Plant), which was listed on 09/21/1984, deleted?
SELECT Deleted FROM table WHERE Listed = 09/21/1984 AND Name = stauffer chemical company (lemoyne plant)
What was the Proposed date of the entry that has a CERCLIS ID of al0001058056?
SELECT Proposed FROM table WHERE CERCLIS ID = al0001058056
What first appeared in 1966 in the comic X-2-Y?
SELECT First Appearance FROM table WHERE Year = 1966 AND Name = x-2-y
Which baseball team is class AAA?
SELECT Team FROM table WHERE Sport = baseball AND Class = aaa
Where does Collingwood play their games?
SELECT Venue FROM table WHERE Away team = collingwood
Which position does Robert Nkemdiche play?
SELECT Position FROM table WHERE Player = robert nkemdiche
What is Reuben Foster's college?
SELECT College FROM table WHERE Player = reuben foster
Which position does the player from Muscle Shoals, Alabama play?
SELECT Position FROM table WHERE Hometown = muscle shoals, alabama
Which player is attending college at Virginia?
SELECT Player FROM table WHERE College = virginia
Which player attended Hoover High School?
SELECT Player FROM table WHERE School = hoover high school
What is the team's record on may 12 when they play the giants?
SELECT Record FROM table WHERE Opponent = giants AND Date = may 12
What is the attendance at the game where San Jose was the visitor on May 4?
SELECT Attendance FROM table WHERE Visitor = san jose AND Date = may 4
Who was the home team on the May 2 game?
SELECT Home FROM table WHERE Date = may 2
What is the decision of the game with more than 17,496 attendance on April 30?
SELECT Decision FROM table WHERE Attendance > 17,496 AND Date = april 30
What date is the crowd larger than 20,000?
SELECT Date FROM table WHERE Crowd > 20,000
Which away team has a score of more that 11.13 (79)
SELECT Away team FROM table WHERE Away team score = 11.13 (79)
What was the record when the score was 11-10?
SELECT Record FROM table WHERE Score = 11-10
What was the record when the attendance was 22,713?
SELECT Record FROM table WHERE Attendance = 22,713
What was the attendance at the game when the record was 49-61?
SELECT Attendance FROM table WHERE Record = 49-61
On what date was there a game in which the opponent was the Detroit Tigers, and the attendance was 38,639?
SELECT Date FROM table WHERE Opponent = detroit tigers AND Attendance = 38,639
What is the free sotware with the latest stable date version of 1.1?
SELECT Software FROM table WHERE Cost ( USD ) = free AND Latest stable date (version) = 1.1
Name the software with the latest stable date of 0.6.1
SELECT Software FROM table WHERE Latest stable date (version) = 0.6.1
Name the cost for latest stable date of online
SELECT Cost ( USD ) FROM table WHERE Latest stable date (version) = online
What is the birth place of the prime minister who served George V and entered office on 23 October 1922?
SELECT Birth Place FROM table WHERE Monarchs served = george v AND Entered office = 23 october 1922
To which political party did the prime minister who served under George V and was born in Manchester belong?
SELECT Political party FROM table WHERE Monarchs served = george v AND Birth Place = manchester
What date did the prime minister who entered office on 7 December 1916 leave office?
SELECT Left office FROM table WHERE Entered office = 7 december 1916
What monarch(s) did Stanley Baldwin (1st ministry) serve?
SELECT Monarchs served FROM table WHERE Name = stanley baldwin (1st ministry)
What is the date of the game played at rich stadium?
SELECT Date FROM table WHERE Game site = rich stadium
What college has Chito Victolero?
SELECT College FROM table WHERE Player = chito victolero
What college has Jojo Manalo?
SELECT College FROM table WHERE Player = jojo manalo
What is the pick number for the College of Perpetual help with the Coca-Cola Tigers as a PBA team?
SELECT COUNT Pick FROM table WHERE College = perpetual help AND PBA team = coca-cola tigers
What is the score of the game on May 5?
SELECT Score FROM table WHERE Date = may 5
What is the record of the game with 18,084 in attendance?
SELECT Record FROM table WHERE Attendance = 18,084
What is the record of the game on May 30?
SELECT Record FROM table WHERE Date = may 30
Who won third place in the Zurich Tournament?
SELECT Third Place FROM table WHERE Tournament = zurich
Who was the winner with a score of 7–6 (7–3) , 2–6, [10–6]?
SELECT Winner FROM table WHERE Score = 7–6 (7–3) , 2–6, [10–6]
Which tournament did Thomas Enqvist win?
SELECT Tournament FROM table WHERE Winner = thomas enqvist
Which tournament was Tim Henman the runner-up in?
SELECT Tournament FROM table WHERE Runner-up = tim henman
What is the venue where 153 runs were scored?
SELECT Venue FROM table WHERE Runs = 153
What is the partnership in the game with 166* runs and an opponent of Namibia?
SELECT Partnerships FROM table WHERE Versus = namibia AND Runs = 166*
What is the date of the game against South Africa and 2nd wickets?
SELECT Date FROM table WHERE Versus = south africa AND Wicket = 2nd
Who was the Away team that played at Carlton on 11 June 1966?
SELECT Away team FROM table WHERE Date = 11 june 1966 AND Home team = carlton
What was the smallest crowd at a home game of carlton?
SELECT MIN Crowd FROM table WHERE Home team = carlton
What's the title for year n.m.?
SELECT Title FROM table WHERE Year = n.m.
What is the language for translators ritah meltser and amatsyah porat?
SELECT Language FROM table WHERE Translator = ritah meltser and amatsyah porat
What's the fewest number of pages for the title al-jiniral fi matahatihi?
SELECT MIN Pages FROM table WHERE Title = al-jiniral fi matahatihi
What is the date for Zouave?
SELECT Date FROM table WHERE Name = zouave
What is the date where the tonnage is larger than 5,754 and the ship was sunk by U-305?
SELECT Date FROM table WHERE Tonnage (GRT) > 5,754 AND Sunk by = u-305
What is the date for the name of Granville?
SELECT Date FROM table WHERE Name = granville
What is the name of the ship sunk by U-305 on 17 March 1943?
SELECT Name FROM table WHERE Date = 17 march 1943 AND Sunk by = u-305
Which date's visitor was jazz, when the leading scorer was Mehmet Okur (22)?
SELECT Date FROM table WHERE Visitor = jazz AND Leading scorer = mehmet okur (22)
What Club has Fiba European Champion's Cup and an Italian Cup?
SELECT Club FROM table WHERE European Cup = fiba european champion's cup AND National Cup = italian cup
What European Cup is in Israeli Premier League?
SELECT European Cup FROM table WHERE National League = israeli premier league
Which season is Euroleague with Greek Cup?
SELECT Season FROM table WHERE European Cup = euroleague AND National Cup = greek cup
Which European Cup is in the 1990-91 season?
SELECT European Cup FROM table WHERE Season = 1990-91
Which European Cup is in the 2006-07 season?
SELECT European Cup FROM table WHERE Season = 2006-07
Which National League is in 1969-70 season?
SELECT National League FROM table WHERE Season = 1969-70
what is the right ascension (j2000) when the apparent magnitude is 13?
SELECT Right ascension ( J2000 ) FROM table WHERE Apparent magnitude = 13
what is the constellation when the right ascension (j2000) is 09h51m54.0s?
SELECT Constellation FROM table WHERE Right ascension ( J2000 ) = 09h51m54.0s
what is the lowest apparent magnitude when the object type is spiral galaxy, the constellation is leo minor and the ngc number is more than 3021?
SELECT MIN Apparent magnitude FROM table WHERE Object type = spiral galaxy AND Constellation = leo minor AND NGC number > 3021
Name the total number of Draws when goals for is 58 and losses is 12 when goal differences is less than 21
SELECT COUNT Draws FROM table WHERE Goals for = 58 AND Losses = 12 AND Goal Difference < 21
How many goals for where there when draws are less than 11, points of is 54+16 and goals against are less than 39?
SELECT COUNT Goals for FROM table WHERE Draws < 11 AND Points = 54+16 AND Goals against < 39
Name the total number of played when points of is 31-7, position is 16 and goals for is less than 35
SELECT COUNT Played FROM table WHERE Points = 31-7 AND Position = 16 AND Goals for < 35
Name the total number of goal difference when the position is more than 20
SELECT COUNT Goal Difference FROM table WHERE Position > 20
Name the sum of draws when the position is less than 17 and wins is less than 11
SELECT SUM Draws FROM table WHERE Position < 17 AND Wins < 11
what is the first season of current spell when the number of seasons is more than 72 and the position in 2012 4th?
SELECT SUM First season of current spell FROM table WHERE Number of seasons > 72 AND Position in 2012 = 4th
what is the most number of season when the position in 2012 10th and the first season of current spell after 2004?
SELECT MAX Number of seasons FROM table WHERE Position in 2012 = 10th AND First season of current spell > 2004
what is the position is 2012 when the last title is n/a and the first season is 2011?
SELECT Position in 2012 FROM table WHERE Last title = n/a AND First season = 2011
what is the last title when the titles is more than 12 and the position in 2012 is 7th
SELECT Last title FROM table WHERE Titles > 12 AND Position in 2012 = 7th
What is the rank number for a placing of 28.5 and a total less than 92.7?
SELECT COUNT Rank FROM table WHERE Placings = 28.5 AND Total < 92.7
What is the placing value for a total less than 96.07 in the United States?
SELECT Placings FROM table WHERE Total < 96.07 AND Nation = united states
What is the total for Rank 11?
SELECT COUNT Total FROM table WHERE Rank = 11
What is the sum of all total values for Switzerland?
SELECT SUM Total FROM table WHERE Nation = switzerland
What rank goes to a total of 92.7?
SELECT Rank FROM table WHERE Total = 92.7
Who has a rank great than 3 and a placing of 64?
SELECT Name FROM table WHERE Rank > 3 AND Placings = 64
How many Horizontal Bars have a Team of japan (jpn), and Parallel Bars smaller than 38.924?
SELECT COUNT Horizontal Bar FROM table WHERE Team = japan (jpn) AND Parallel Bars < 38.924
How many pommel Horses have Rings of 37.461, and a Total smaller than 229.507?
SELECT COUNT Pommel Horse FROM table WHERE Rings = 37.461 AND Total < 229.507
What is the sum of totals with a Vault of 38.437, and a Floor Exercise smaller than 37.524?
SELECT COUNT Total FROM table WHERE Vault = 38.437 AND Floor Exercise < 37.524
How many pommel horses have a Total smaller than 230.019, a Team of china (chn), and a Vault smaller than 38.437?
SELECT COUNT Pommel Horse FROM table WHERE Total < 230.019 AND Team = china (chn) AND Vault < 38.437
What is the title where the studio was RKO, the role was Dolly, and the year was later than 1943?
SELECT Title FROM table WHERE Year > 1943 AND Studio = rko AND Role = dolly
Who was the director for To Have and Have Not, earlier than 1945 with WB studio?
SELECT Director FROM table WHERE Studio = wb AND Year < 1945 AND Title = to have and have not
What year was The Horn Blows at Midnight, directed by Raoul Walsh?
SELECT AVG Year FROM table WHERE Director = raoul walsh AND Title = the horn blows at midnight
What title was directed by Raoul Walsh later than 1945?
SELECT Title FROM table WHERE Director = raoul walsh AND Year > 1945
What was the studio for The Hard Way in 1943?
SELECT Studio FROM table WHERE Year = 1943 AND Title = the hard way
Which team plays at Lake Oval?
SELECT Home team FROM table WHERE Venue = lake oval