question
stringlengths
12
244
sql
stringlengths
22
468
Tell me the highest PI GP with pick # greater than 159 and reg GP more than 0
SELECT MAX Pl GP FROM table WHERE Pick # > 159 AND Reg GP > 0
In the match where the home team scored 9.13 (67) what was the crowd attendance?
SELECT Crowd FROM table WHERE Home team score = 9.13 (67)
In the match where south melbourne was the away team, who was the home team?
SELECT Home team FROM table WHERE Away team = south melbourne
What was the date of the match where the home team scored 14.13 (97)
SELECT Date FROM table WHERE Home team score = 14.13 (97)
Which Team 2 faced Team 1 from Barcelona?
SELECT Team 2 FROM table WHERE Team 1 = barcelona
Which first leg had Galatasaray as Team 1?
SELECT 1st leg FROM table WHERE Team 1 = galatasaray
What was the name of the Event with a time of 2:19?
SELECT Event FROM table WHERE Time = 2:19
Where was match which had Joe Lauzon as an opponent?
SELECT Location FROM table WHERE Opponent = joe lauzon
What is the name of the building that was the tallest from 1990–1997 in Frankfurt?
SELECT Name FROM table WHERE City = frankfurt AND Years as tallest = 1990–1997
For a height less than 122 meters, what is the greatest height in feet?
SELECT MAX Height (ft) FROM table WHERE Height (m) < 122
How high was the highest building in feet in the city of cologne?
SELECT MAX Height (ft) FROM table WHERE City = cologne
What is the smallest height (ft) of a building in Frankfurt with a height (m) of 257 and less than 55 floors?
SELECT MIN Height (ft) FROM table WHERE City = frankfurt AND Height (m) = 257 AND Floors < 55
What is the height in meters for a building in Frankfurt that is 850 feet tall?
SELECT Height (m) FROM table WHERE City = frankfurt AND Height (ft) = 850
What is the mintage of the coin with a Toronto Maple Leafs theme and an issue price below 24.95?
SELECT Mintage FROM table WHERE Theme = toronto maple leafs AND Issue Price < 24.95
What was Collingwood's score in their away game?
SELECT Away team score FROM table WHERE Away team = collingwood
Where did Geelong play as the away team?
SELECT Venue FROM table WHERE Away team = geelong
On what date was the I Dessau Autobahnspinne race?
SELECT Date FROM table WHERE Race Name = i dessau autobahnspinne
Who was the winning driver in the Sachsenring circuit?
SELECT Winning driver FROM table WHERE Circuit = sachsenring
Where is Terry Mills from?
SELECT Hometown FROM table WHERE Player = terry mills
When is the Mexican grand prix?
SELECT Date FROM table WHERE Race = mexican grand prix
The person with a Height of 6-8 went to which School?
SELECT School FROM table WHERE Height = 6-8
What College did Player Dorian Finney-Smith play for?
SELECT College FROM table WHERE Player = dorian finney-smith
Which Player has a height of 6-10, and went to College at LSU?
SELECT Player FROM table WHERE Height = 6-10 AND College = lsu
Which School did Player Tyrone Johnson attend?
SELECT School FROM table WHERE Player = tyrone johnson
Which School did Player Tyrone Johnson attend?
SELECT School FROM table WHERE Player = tyrone johnson
Who had the time of 1:23.32.41?
SELECT Rider FROM table WHERE Time = 1:23.32.41
What is the time of the rider who has a rank smaller than 8 and speed of 104.567mph?
SELECT Time FROM table WHERE Rank < 8 AND Speed = 104.567mph
What is the home team at the Junction Oval venue?
SELECT Home team FROM table WHERE Venue = junction oval
What is the date where the away team is Richmond?
SELECT Date FROM table WHERE Away team = richmond
What is the largest crowd where the home team scored 17.13 (115)?
SELECT MAX Crowd FROM table WHERE Home team score = 17.13 (115)
What day did the away team score 10.16 (76)?
SELECT Date FROM table WHERE Away team score = 10.16 (76)
Name the circuit when the fastest lap was john surtees and the winning driver was john surtees.
SELECT Circuit FROM table WHERE Fastest lap = john surtees AND Winning driver = john surtees
Name the winning driver with circuit of monza
SELECT Winning driver FROM table WHERE Circuit = monza
Name the pole position for 8 september
SELECT Pole position FROM table WHERE Date = 8 september
Name the winning driver for belgian grand prix
SELECT Winning driver FROM table WHERE Race = belgian grand prix
Name the circuit for italian grand prix
SELECT Circuit FROM table WHERE Race = italian grand prix
How many grid numbers were there for the driver Giancarlo Fisichella?
SELECT COUNT Grid FROM table WHERE Driver = giancarlo fisichella
What is the mean number of laps for the constructor Ferrari when the time/retired was fuel pressure?
SELECT AVG Laps FROM table WHERE Constructor = ferrari AND Time/Retired = fuel pressure
What is the grid when the driver was Michael Schumacher?
SELECT Grid FROM table WHERE Driver = michael schumacher
How many laps had a grid number of 7?
SELECT SUM Laps FROM table WHERE Grid = 7
Which lap number had a grid number of less than 17 when the driver was Giancarlo Fisichella?
SELECT COUNT Laps FROM table WHERE Grid < 17 AND Driver = giancarlo fisichella
Name the winning driver for circuit of monza
SELECT Winning driver FROM table WHERE Circuit = monza
Tell me the date for jody scheckter being the fastest lap at the french grand prix
SELECT Date FROM table WHERE Fastest lap = jody scheckter AND Race = french grand prix
Name the date for circuit of interlagos
SELECT Date FROM table WHERE Circuit = interlagos
What was the event for vinny magalhães?
SELECT Event FROM table WHERE Opponent = vinny magalhães
What was the date for renato ferreira?
SELECT Date FROM table WHERE Opponent = renato ferreira
What was the event with leonardo chocolate in 2009?
SELECT Event FROM table WHERE Date = 2009 AND Opponent = leonardo chocolate
What was the result for the opponent being gerardi rinaldi in 2009?
SELECT Result FROM table WHERE Date = 2009 AND Opponent = gerardi rinaldi
What is the away team that has a score of 10.9 (69)?
SELECT Away team FROM table WHERE Away team score = 10.9 (69)
The home team has a score of 12.9 (81) what is the score of the away team?
SELECT Away team score FROM table WHERE Home team score = 12.9 (81)
Tell me the eastern #1 for week of 5
SELECT EASTERN #1 FROM table WHERE Week = 5
Tell me the eastern #2 for western #2 of oakland
SELECT Eastern #2 FROM table WHERE Western #2 = oakland
Tell me the wekk for eastern #2 of houston
SELECT Week FROM table WHERE Eastern #2 = houston
How many people attended the game when the away team scored 10.11 (71)?
SELECT SUM Crowd FROM table WHERE Away team score = 10.11 (71)
Which home team had a crowd larger than 20,822 at VFL Park?
SELECT Home team FROM table WHERE Crowd > 20,822 AND Venue = vfl park
Which home team played against the away team Carlton?
SELECT Home team FROM table WHERE Away team = carlton
Where was the game played where the home team was Collingwood?
SELECT Venue FROM table WHERE Home team = collingwood
What is the home score with a crowd larger than 25,603?
SELECT Home team score FROM table WHERE Crowd > 25,603
What is the date of the home team from South Melbourne?
SELECT Date FROM table WHERE Home team = south melbourne
What is the score of the away team with the home team Fitzroy?
SELECT Away team score FROM table WHERE Home team = fitzroy
What venue did the away team footscray play at?
SELECT Venue FROM table WHERE Away team = footscray
When the home team scored 8.8 (56), what team were they playing?
SELECT Away team FROM table WHERE Home team score = 8.8 (56)
When melbourne was the away team, what was the lowest crowd turnout they had?
SELECT MIN Crowd FROM table WHERE Away team = melbourne
Which away team plays at the venue glenferrie oval?
SELECT Away team FROM table WHERE Venue = glenferrie oval
When the home team scored 11.15 (81), what did the Away team score?
SELECT Away team score FROM table WHERE Home team score = 11.15 (81)
Tell me the lowest 2005 for 2010 less than 21 for 2009 being 19
SELECT MIN 2005 FROM table WHERE 2009 = 19 AND 2010 < 21
Name the total number of 2010 for when 2009 is less than 14, 2008 is less than 15 and 2005 is 3
SELECT COUNT 2010 FROM table WHERE 2009 < 14 AND 2008 < 15 AND 2005 = 3
Name the average 2008 for beijing and 2005 more than 2
SELECT AVG 2008 FROM table WHERE Year = beijing AND 2005 > 2
Name the lowest 2008 for guizhou when 2005 is less than 31
SELECT MIN 2008 FROM table WHERE Year = guizhou AND 2005 < 31
Name the sum of 2010 for 2000 of 17 and 2005 more than 16
SELECT SUM 2010 FROM table WHERE 2000 = 17 AND 2005 > 16
What is the total of crowd at Venue of mcg?
SELECT SUM Crowd FROM table WHERE Venue = mcg
What is the smallest crowd with a Home team score of 7.10 (52)?
SELECT MIN Crowd FROM table WHERE Home team score = 7.10 (52)
Which date has a Home team score of 6.12 (48)?
SELECT Date FROM table WHERE Home team score = 6.12 (48)
Which away team has a score of 11.17 (83)?
SELECT Away team FROM table WHERE Away team score = 11.17 (83)
Tell me the number of regions with an area of 58.81
SELECT COUNT Region FROM table WHERE Area (km 2 ) = 58.81
what is the rank when the bronze is less than 0?
SELECT COUNT Rank FROM table WHERE Bronze < 0
what is the highest rank when the bronze is less than 1 and the total is less than 1?
SELECT MAX Rank FROM table WHERE Bronze < 1 AND Total < 1
what is the lowest amount of silver when the gold is less than 0?
SELECT MIN Silver FROM table WHERE Gold < 0
what is the average number of gold when the rank is more than 5?
SELECT AVG Gold FROM table WHERE Rank > 5
what is the highest amount of silver when gold is 0 for soviet union?
SELECT MAX Silver FROM table WHERE Gold = 0 AND Nation = soviet union
What position does adam rachel play?
SELECT Position FROM table WHERE Player = adam rachel
What player has over 1 first apperance and over 32 first team goals?
SELECT Player FROM table WHERE First-Team Appearances > 1 AND First-Team Goals = 32
What is the average speed for ships before 1974 with over 1.73 passengers?
SELECT AVG Speed FROM table WHERE Year < 1974 AND Passengers > 1.73
How many vessels are named aqua jewel?
SELECT COUNT Vessels FROM table WHERE Ship name = aqua jewel
How many districts in Baltimore City does Cheryl Glenn dictate?
SELECT COUNT District FROM table WHERE Place of Birth = baltimore city AND Delegate = cheryl glenn
Which party belongs to district 41, and is delegated by Jill P. Carter?
SELECT Party FROM table WHERE District = 41 AND Delegate = jill p. carter
Where was the place of birth for the delegate who took office after 1982, delegates a district smaller than 43 and belongs to a Health and Government operations committee?
SELECT Place of Birth FROM table WHERE Took Office > 1982 AND District < 43 AND Committee = health and government operations
Where was the delegate belonging to the Judiciary committee of district 43 born?
SELECT Place of Birth FROM table WHERE Committee = judiciary AND District = 43
What is the largest district for delegate Cheryl Glenn, that she had taken after 2006?
SELECT MAX District FROM table WHERE Delegate = cheryl glenn AND Took Office > 2006
What is the average Viewers (m) for "aka", with a Rating larger than 3.3?
SELECT AVG Viewers (m) FROM table WHERE Episode = "aka" AND Rating > 3.3
What is the highest placing for marie mcneil / robert mccall, with less than 168.58?
SELECT MAX Placings FROM table WHERE Name = marie mcneil / robert mccall AND Points < 168.58
What was the date of the Mavericks home game?
SELECT Date FROM table WHERE Home = mavericks
What is the highest displacement value for the R Fwd Auto Phase1?
SELECT MAX Displacement (cc) FROM table WHERE Model = r fwd auto phase1
What was the top crowd when the team scored 12.15 (87) at home?
SELECT MAX Crowd FROM table WHERE Home team score = 12.15 (87)
What team played at lake oval while away?
SELECT Away team FROM table WHERE Venue = lake oval
What is the combined of Crowd that has a Home team which scored 12.15 (87)?
SELECT SUM Crowd FROM table WHERE Home team score = 12.15 (87)
What is the combined of Crowd that has an away team which scored 19.15 (129)?
SELECT SUM Crowd FROM table WHERE Away team score = 19.15 (129)
Name the number of silver when gold is less than 1 and bronze is 0 when total is less than 2
SELECT COUNT Silver FROM table WHERE Gold < 1 AND Bronze = 0 AND Total < 2
What is the traffic direction of 70th street?
SELECT Traffic direction FROM table WHERE Street = 70th street
What is the traffic direction of 64th street with 2nd avenue to the west and 1 lane?
SELECT Traffic direction FROM table WHERE West = 2nd avenue AND # of lanes = 1 AND Street = 64th street