question
stringlengths
12
244
sql
stringlengths
22
468
When the driver peter gethin has a grid less than 25, what is the average number of laps?
SELECT AVG Laps FROM table WHERE Driver = peter gethin AND Grid < 25
When the driver mike hailwood has a grid greater than 12 and a Time/Retired of + 2 laps, what is the average number of laps?
SELECT AVG Laps FROM table WHERE Time/Retired = + 2 laps AND Driver = mike hailwood AND Grid > 12
Which team was the home team when playing South Melbourne?
SELECT Home team score FROM table WHERE Away team = south melbourne
What did the home team when they played Richmond?
SELECT Home team score FROM table WHERE Away team = richmond
What was the crowd number when Hawthorn was the away team?
SELECT MAX Crowd FROM table WHERE Away team = hawthorn
What is the stage reached for venue edmonton green?
SELECT Stage Reached FROM table WHERE Venue = edmonton green
What is the average round for Club team of garmisch-partenkirchen riessersee sc (germany 2)?
SELECT AVG Round FROM table WHERE Club team = garmisch-partenkirchen riessersee sc (germany 2)
What richmond player played against st kilda?
SELECT Player FROM table WHERE Opponent = st kilda AND Team = richmond
What player played in 2000?
SELECT Player FROM table WHERE Year = 2000
What year for geelong player john roberts?
SELECT Year FROM table WHERE Opponent = geelong AND Player = john roberts
What's the authority when the roll is 40?
SELECT Authority FROM table WHERE Roll = 40
What's the authority when the roll is less than 234 for the massey east area?
SELECT Authority FROM table WHERE Roll < 234 AND Area = massey east
What's the roll for summerland primary when decile is over 6?
SELECT Roll FROM table WHERE Decile > 6 AND Name = summerland primary
What is the name where the delivered date is 1839/08?
SELECT Name FROM table WHERE Delivered = 1839/08
What is the Original U.S. air-date for the Original Canadian air-date of december 9, 2007?
SELECT Original U.S. air-date FROM table WHERE Original Canadian air-date = december 9, 2007
What is the Original Canadian air-date that was directed by Michael Tolkin?
SELECT Original Canadian air-date FROM table WHERE Director = michael tolkin
What is the name of the author of " jerry was a man "?
SELECT Original story author FROM table WHERE Title = " jerry was a man "
What was the Original Canadian air-date for the episode directed by mark rydell?
SELECT Original Canadian air-date FROM table WHERE Director = mark rydell
Which home team faced an away team that scored 8.9 (57)?
SELECT Home team FROM table WHERE Away team score = 8.9 (57)
Which home team's venue is junction oval?
SELECT Home team FROM table WHERE Venue = junction oval
Which venue was melbourne the away team of?
SELECT Venue FROM table WHERE Away team = melbourne
What was the home teams score against the away team footscray?
SELECT Home team score FROM table WHERE Away team = footscray
What is the average long that Ramon Richardson played and an average greater than 5.5?
SELECT AVG Long FROM table WHERE Player = ramon richardson AND Avg. > 5.5
Which has and average less than 3 and the lowest yards?
SELECT MIN Yards FROM table WHERE Avg. < 3
What is the average rec that is greater than 10 and has 40 yards?
SELECT AVG Rec. FROM table WHERE Yards = 40 AND Avg. > 10
What was the high assists for game 31?
SELECT High assists FROM table WHERE Game = 31
What team played in game 39?
SELECT Team FROM table WHERE Game = 39
How many people attended game 42?
SELECT Location Attendance FROM table WHERE Game = 42
What is the highest Shooting Total with a Bronze less than 0?
SELECT MAX Total FROM table WHERE Sport = shooting AND Bronze < 0
What is the lowest Silver in the Total Sport has less than 1 Gold and more than 1 Bronze?
SELECT MIN Silver FROM table WHERE Bronze > 1 AND Sport = total AND Gold < 1
What is the football Bronze with more than 1 Silver?
SELECT AVG Bronze FROM table WHERE Sport = football AND Silver > 1
With 1 Gold, more than 2 Bronze and Total greater than 1, what is the Silver?
SELECT AVG Silver FROM table WHERE Total > 1 AND Gold = 1 AND Bronze > 2
With more than 1 Gold and Silver and Total Sport, what is the Total?
SELECT AVG Total FROM table WHERE Silver > 1 AND Sport = total AND Gold > 1
What year does robin buck go 44 laps?
SELECT Year FROM table WHERE Distance/Duration = 44 laps AND Driver = robin buck
How many years does Team wal-mart / tide participate?
SELECT COUNT Year FROM table WHERE Team = wal-mart / tide
Which score has a Result of 11–0?
SELECT Score FROM table WHERE Result = 11–0
Which result has a Score of 1–1?
SELECT Result FROM table WHERE Score = 1–1
Which score has a Result of 11–0?
SELECT Score FROM table WHERE Result = 11–0
What is the score of the game with an 11-32-11 record?
SELECT Score FROM table WHERE Record = 11-32-11
What is the home team of the game where New Jersey was the visitor team and the record was 11-35-12?
SELECT Home FROM table WHERE Visitor = new jersey AND Record = 11-35-12
What is the visitor team of the game with Chicago as the home team?
SELECT Visitor FROM table WHERE Home = chicago
What is the score of the game on February 27 with New Jersey as the visitor team?
SELECT Score FROM table WHERE Visitor = new jersey AND Date = february 27
What is the home team of the game on February 3?
SELECT Home FROM table WHERE Date = february 3
Who is the visitor team of the game where Buffalo was the home team?
SELECT Visitor FROM table WHERE Home = buffalo
What driver has grid number 18?
SELECT Driver FROM table WHERE Grid = 18
What is the time or retired time for timo glock with under 70 laps and a grid number greater than 15?
SELECT Time/Retired FROM table WHERE Laps < 70 AND Grid > 15 AND Driver = timo glock
Kecamatan Bogor Timur has more than 6 villages, what is the area in kmΒ²?
SELECT SUM Area in kmΒ² FROM table WHERE Original name = kecamatan bogor timur AND Number of settlements and villages > 6
There are less than 11 settlements in Kecamatan Bogor Tengah, what is the area in kmΒ²?
SELECT SUM Area in kmΒ² FROM table WHERE Original name = kecamatan bogor tengah AND Number of settlements and villages < 11
Luxembourg received how many gold medals?
SELECT AVG Gold FROM table WHERE Nation = luxembourg
what is the sum of tonnage when the type of ship is twin screw ro-ro motorship and the date entered service is 11 february 1983?
SELECT SUM Tonnage FROM table WHERE Type of Ship = twin screw ro-ro motorship AND Date entered service = 11 february 1983
what is the ships name that is a twin screw ro-ro motorship and entered service on 11 february 1983?
SELECT Ship's name FROM table WHERE Type of Ship = twin screw ro-ro motorship AND Date entered service = 11 february 1983
what is the least tonnage for the ship(s) that entered service on 11 february 1983?
SELECT MIN Tonnage FROM table WHERE Date entered service = 11 february 1983
what is the name of the ship that was withdrawn from service on 25 march 1986?
SELECT Ship's name FROM table WHERE Date withdrawn = 25 march 1986
what is the tonnage of the ship koningin juliana?
SELECT Tonnage FROM table WHERE Ship's name = koningin juliana
What's the sum of gold where silver is more than 2 and the total is 12?
SELECT SUM Gold FROM table WHERE Silver > 2 AND Total = 12
What's the lowest gold with a total of 4 and less than 2 silver for liechtenstein?
SELECT MIN Gold FROM table WHERE Total = 4 AND Nation = liechtenstein AND Silver < 2
What's the total number of gold where the total is less than 23 and the rank is over 10?
SELECT COUNT Gold FROM table WHERE Total < 23 AND Rank > 10
What's the sum of total where the rank is over 9 and the gold is less than 1?
SELECT COUNT Total FROM table WHERE Rank > 9 AND Gold < 1
What was the attendance number for the Timberwolves game?
SELECT SUM Location Attendance FROM table WHERE Team = timberwolves
What did the team score when playing at home with a score of 13.8 (86)?
SELECT Home team score FROM table WHERE Away team score = 13.8 (86)
What was the smallest crowd at home with a score of 15.8 (98)?
SELECT MIN Crowd FROM table WHERE Home team score = 15.8 (98)
What is the combined of Crowd when richmond played at home?
SELECT COUNT Crowd FROM table WHERE Home team = richmond
What did the team score when playing against an away team with a score of 13.8 (86)?
SELECT Home team score FROM table WHERE Away team score = 13.8 (86)
What opponent has a result of 3–6, 6–2, 4–6?
SELECT Opponent FROM table WHERE Result = 3–6, 6–2, 4–6
When was the 1991 world group I with the opponent of Li Fang?
SELECT Date FROM table WHERE Edition = 1991 world group i AND Opponent = li fang
On July 15, 1984 what surface was used?
SELECT Surface FROM table WHERE Date = july 15, 1984
For what round was the opponent mercedes paz with a result of 4–6, 6–1, 6–3?
SELECT Round FROM table WHERE Opponent = mercedes paz AND Result = 4–6, 6–1, 6–3
What surface was used on July 17, 1983?
SELECT Surface FROM table WHERE Date = july 17, 1983
What was the result on October 8, 1985?
SELECT Result FROM table WHERE Date = october 8, 1985
Name the highest pick number for PI GP more than 55
SELECT MAX Pick # FROM table WHERE Pl GP > 55
Name the least RD number that has PI GP more than 0 and pick # more than 51
SELECT MIN Rd # FROM table WHERE Pl GP > 0 AND Pick # > 51
What day did Footscray play as the away team?
SELECT Date FROM table WHERE Away team = footscray
What was Hawthorn's away teams opponents score?
SELECT Away team score FROM table WHERE Home team = hawthorn
What was the attendance of april 17?
SELECT SUM Attendance FROM table WHERE Date = april 17
What was the loss of the Mariners game when they had a record of 21-34?
SELECT Loss FROM table WHERE Record = 21-34
Who did the Mariners play when they had a record of 33-45?
SELECT Opponent FROM table WHERE Record = 33-45
What was the loss of the Mariners game when they had a record of 22-35?
SELECT Loss FROM table WHERE Record = 22-35
What was the record for the game attended by 35,614 spectators?
SELECT Record FROM table WHERE Attendance = 35,614
What is the record for April 8?
SELECT Record FROM table WHERE Date = april 8
What was the attendance for the game that has a record of 1-1?
SELECT Attendance FROM table WHERE Record = 1-1
What is the record for the game with an attendance of 35,305?
SELECT Record FROM table WHERE Attendance = 35,305
what is the grid when the driver is louis rosier and the laps is more than 78?
SELECT MIN Grid FROM table WHERE Driver = louis rosier AND Laps > 78
what is the time/retired when the driver is toulo de graffenried?
SELECT Time/Retired FROM table WHERE Driver = toulo de graffenried
what is the laps when the driver is tony rolt and the grid is less than 10?
SELECT SUM Laps FROM table WHERE Driver = tony rolt AND Grid < 10
what is the time/retired when the constructor is maserati and the laps is 90?
SELECT Time/Retired FROM table WHERE Constructor = maserati AND Laps = 90
What is the average Attendance at Venue A on 16 October 2004?
SELECT AVG Attendance FROM table WHERE Venue = a AND Date = 16 october 2004
What is the lowest Attendance when Middlesbrough played at Venue A?
SELECT MIN Attendance FROM table WHERE Opponent = middlesbrough AND Venue = a
Who was the home team when the away team scored 14.21 (105)?
SELECT Home team score FROM table WHERE Away team score = 14.21 (105)
Who was the sponsor for the bill introduced February 28, 2005 with cosponsors less than 200?
SELECT Sponsor(s) FROM table WHERE # of cosponsors < 200 AND Date introduced = february 28, 2005
What year was Herself nominated at the MTV Movie Awards?
SELECT MAX Year FROM table WHERE Nominated work = herself AND Event = mtv movie awards
What is the average amount of spectators when Essendon played as the home team?
SELECT AVG Crowd FROM table WHERE Home team = essendon
What did the away team score at MCG?
SELECT Away team score FROM table WHERE Venue = mcg
What did the home team score when playing against Collingwood?
SELECT Home team score FROM table WHERE Away team = collingwood
Where was the game when Geelong was the away team?
SELECT Venue FROM table WHERE Away team = geelong
What team was the away team at Arden Street Oval?
SELECT Away team FROM table WHERE Venue = arden street oval
What in Xenia's Diameter in km, with a latitude of 14 and a longitude of 249.4?
SELECT COUNT Diameter (km) FROM table WHERE Latitude < 14 AND Name = xenia AND Longitude > 249.4
What is the latitude for a crater with a diameter of 12.8 km and a longitude of 208?
SELECT AVG Latitude FROM table WHERE Diameter (km) < 12.8 AND Longitude < 208
Who was the Runner(s)-up in the race with a winning score of 67-66-65-69=267?
SELECT Runner(s)-up FROM table WHERE Winning score = 67-66-65-69=267
When was the Masters Tournament?
SELECT Date FROM table WHERE Tournament = masters tournament
What is the margin of victory in the race where Justin Rose was the runner-up?
SELECT Margin of victory FROM table WHERE Runner(s)-up = justin rose