question
stringlengths
12
244
sql
stringlengths
22
468
Which class has a year prior to 2011 and audi r15 tdi as the chassis?
SELECT Class FROM table WHERE Year < 2011 AND Chassis = audi r15 tdi
Which engine has a year later than 2006 and 60 as the points?
SELECT Engine FROM table WHERE Year > 2006 AND Points = 60
How many years has an engine of audi 3.6l turbo v8 and 1st as the rank with an audi r8r as the chassis?
SELECT COUNT Year FROM table WHERE Engine = audi 3.6l turbo v8 AND Rank = 1st AND Chassis = audi r8r
Which entrant has 25th as the rank?
SELECT Entrant FROM table WHERE Rank = 25th
What is the average year Rich Beem had a to par less than 17?
SELECT AVG Year won FROM table WHERE Player = rich beem AND To par < 17
What is the earliest year won with a total bigger than 156?
SELECT MIN Year won FROM table WHERE Total > 156
What is the total for Bob Tway for the year won before 2002 with a to par bigger than 7?
SELECT COUNT Total FROM table WHERE Year won < 2002 AND Player = bob tway AND To par > 7
What is the to par for Paul Azinger from the United States after 1986 for a total bigger than 145?
SELECT COUNT To par FROM table WHERE Country = united states AND Year won > 1986 AND Player = paul azinger AND Total > 145
What is the earliest year won Paul Azinger had with a to par higher than 5?
SELECT MIN Year won FROM table WHERE Player = paul azinger AND To par > 5
What is the year won by Australia with a to par bigger than 16?
SELECT COUNT Year won FROM table WHERE Country = australia AND To par > 16
What is the Lifespan when the Representative is Theodore F. Kluttz?
SELECT Lifespan FROM table WHERE Representative = theodore f. kluttz
What week's game had a result of l 35–37?
SELECT Week FROM table WHERE Result = l 35–37
What year was trio brdeact wind allass the entrant?
SELECT Year FROM table WHERE Entrant = trio brdeact wind allass
What is the year when kurtis kraft 500f was the chassis?
SELECT SUM Year FROM table WHERE Chassis = kurtis kraft 500f
What is the earliest year when the points were more than 0?
SELECT MIN Year FROM table WHERE Points > 0
What's the school name in Balclutha that has a Decile of 7 and a roll larger than 186?
SELECT Name FROM table WHERE Area = balclutha AND Decile < 7 AND Roll > 186
Which school in Balclutha has a roll smaller than 55?
SELECT Name FROM table WHERE Area = balclutha AND Roll < 55
When has winnipeg jets with a Score of 4–6?
SELECT Date FROM table WHERE Home = winnipeg jets AND Score = 4–6
When is Edmonton Oilers in?
SELECT Date FROM table WHERE Home = edmonton oilers
What is the Score that has a Winnipeg Jets as Visitor on april 7?
SELECT Score FROM table WHERE Visitor = winnipeg jets AND Date = april 7
What is the Score on April 6?
SELECT Score FROM table WHERE Date = april 6
When has a Record of 1–0?
SELECT Date FROM table WHERE Record = 1–0
What is the LLWS when the Year is 2003?
SELECT LLWS FROM table WHERE Year = 2003
What is the earliest Year when the City is Peabody?
SELECT MIN Year FROM table WHERE City = peabody
What is the total number of Years when the LLWS is 4th place, and when the City is Westport?
SELECT COUNT Year FROM table WHERE LLWS = 4th place AND City = westport
What team has Pony as the kit manufacturer and Gary Mabbutt as the captain?
SELECT Team FROM table WHERE Kit manufacturer = pony AND Captain = gary mabbutt
Who is the manager 1 for Leeds United?
SELECT Manager 1 FROM table WHERE Team = leeds united
What is the team with a Pony kit manufacturer and Julian Dicks as the captain?
SELECT Team FROM table WHERE Kit manufacturer = pony AND Captain = julian dicks
What team has a kit manufacturer of Umbro and Eric Cantona as captain?
SELECT Team FROM table WHERE Kit manufacturer = umbro AND Captain = eric cantona
Who is the manager 1 with Puma as the kit manufacturer and Puma as the shirt sponsor?
SELECT Manager 1 FROM table WHERE Kit manufacturer = puma AND Shirt sponsor = puma
What is the kit manufacturer with Walkers as the shirt sponsor?
SELECT Kit manufacturer FROM table WHERE Shirt sponsor = walkers
Name the average points for dallara 3087 lola t88/50 and year before 1988
SELECT AVG Points FROM table WHERE Chassis = dallara 3087 lola t88/50 AND Year < 1988
Name the sum of points for 1992
SELECT SUM Points FROM table WHERE Year = 1992
Name the points for year more than 1987
SELECT Points FROM table WHERE Year > 1987
Name the year for points less than 20 and chassis of dallara 3087
SELECT Year FROM table WHERE Points < 20 AND Chassis = dallara 3087
What is the most apps that a has a total season and 3 goals?
SELECT MAX Apps FROM table WHERE Season = total AND Goals > 3
What is the final number of apps with 2 goals?
SELECT COUNT Apps FROM table WHERE Goals = 2
What date did the episode with a weekly ranking of 14 air?
SELECT Airdate FROM table WHERE BBC One Weekly Ranking = 14
What is the total number of total viewers with a share of 18.8% and a weekly ranking under 16?
SELECT COUNT Total Viewers FROM table WHERE Share = 18.8% AND BBC One Weekly Ranking < 16
Who has 37 grids?
SELECT Rider FROM table WHERE Grid = 37
What is the average grid with more than 23 laps?
SELECT AVG Grid FROM table WHERE Laps > 23
What is the average grid with more than 23 laps?
SELECT AVG Grid FROM table WHERE Laps > 23
What is the average decile for te puru school?
SELECT AVG Decile FROM table WHERE Name = te puru school
What is the total decile with an Area of whitianga, and a Roll smaller than 835?
SELECT SUM Decile FROM table WHERE Area = whitianga AND Roll < 835
Which name has an Area of kennedy bay?
SELECT Name FROM table WHERE Area = kennedy bay
Which years have a Decile larger than 4, and an Area of thames?
SELECT Years FROM table WHERE Decile > 4 AND Area = thames
Which Authority has a Decile smaller than 6, and an Area of opoutere?
SELECT Authority FROM table WHERE Decile < 6 AND Area = opoutere
Which gender has Years of 1–8, an Authority of state, a Roll less than 184, and a Name of matatoki school?
SELECT Gender FROM table WHERE Years = 1–8 AND Authority = state AND Roll < 184 AND Name = matatoki school
What was the tournament that resulted in a winning score of –4 (71-72-72-69=284)?
SELECT Tournament FROM table WHERE Winning score = –4 (71-72-72-69=284)
What was the winning score of the event where Brian Kamm was the runner-up?
SELECT Winning score FROM table WHERE Runner(s)-up = brian kamm
Who was the runner-up for the event that ended with a winning score of –15 (66-67-70-70=273)?
SELECT Runner(s)-up FROM table WHERE Winning score = –15 (66-67-70-70=273)
On what date was the Nike Colorado Classic held?
SELECT Date FROM table WHERE Tournament = nike colorado classic
What was the winning score of the Buy.com Siouxland Open?
SELECT Winning score FROM table WHERE Tournament = buy.com siouxland open
What is the total with lower than rank 8, and higher than 27.6 score and 13.8 difficulty?
SELECT MIN Total FROM table WHERE Rank > 8 AND Routine score > 27.6 AND Difficulty score = 13.8
What is the average medal total of the country who had 0 silver medals and participated in less than 15 games?
SELECT AVG Total FROM table WHERE Games < 15 AND Silver < 0
What is the least Points with Chassis of forti fg01b forti fg03, and a year less than 1996?
SELECT MIN Points FROM table WHERE Chassis = forti fg01b forti fg03 AND Year < 1996
What is the lowest year for an engine of ford zetec-r v8, and points greater than 0?
SELECT MIN Year FROM table WHERE Engine = ford zetec-r v8 AND Points > 0
What are the average points for an engine of ford zetec-r v8?
SELECT AVG Points FROM table WHERE Engine = ford zetec-r v8
Name the years for elsthorpe school
SELECT Years FROM table WHERE Name = elsthorpe school
Name the total number of roll for st joseph's school when decile is less than 5
SELECT COUNT Roll FROM table WHERE Name = st joseph's school AND Decile < 5
Name the years for porangahau school
SELECT Years FROM table WHERE Area = porangahau AND Name = porangahau school
Name the gender for elsthorpe school
SELECT Gender FROM table WHERE Name = elsthorpe school
Name the drivers for chassis of season cancelled
SELECT Drivers FROM table WHERE Chassis = season cancelled
Name the teams for third points of season cancelled
SELECT Teams FROM table WHERE Third (points) = season cancelled
Name the engine with rounds of 11 and teams of 25
SELECT Engine FROM table WHERE Rounds = 11 AND Teams = 25
What was the score for the loss of McDowell (12-7)?
SELECT Score FROM table WHERE Loss = mcdowell (12-7)
What was the score for the game with an attendance greater than 33,658 and a record of 73-66?
SELECT Score FROM table WHERE Attendance > 33,658 AND Record = 73-66
What is the total laps for the year 2011?
SELECT SUM Laps FROM table WHERE Year = 2011
Which team is in 9th place?
SELECT Class Pos. FROM table WHERE Pos. = 9th
What is the total of the Divison that is from the country Serbia and Montenegro with apps smaller than 12 with more goals than 0?
SELECT SUM Division FROM table WHERE Country = serbia and montenegro AND Apps < 12 AND Goals > 0
What is the total number of goals that the Partizan team from the country of serbia had that was larger than 1?
SELECT SUM Goals FROM table WHERE Team = partizan AND Country = serbia AND Division > 1
What year was the Honda ra168e 1.5 v6 t engine used?
SELECT Year FROM table WHERE Engine = honda ra168e 1.5 v6 t
What tyres were used with the mp4/14 chassis?
SELECT Tyres FROM table WHERE Chassis = mp4/14
How many tickets were there sold/available in Barcelona?
SELECT Tickets Sold / Available FROM table WHERE City = barcelona
How many tickets were sold/available when the gross revenue (2011) was $366,916?
SELECT Tickets Sold / Available FROM table WHERE Gross Revenue (2011) = $366,916
How many tickets were sold/available when the gross revenue (2011) was $5,948,390?
SELECT Tickets Sold / Available FROM table WHERE Gross Revenue (2011) = $5,948,390
What was the gross revenue (1986) when there were tickets sold/available of 24,000 / 24,000 (100%)?
SELECT Gross Revenue (1986) FROM table WHERE Tickets Sold / Available = 24,000 / 24,000 (100%)
What was the score in the 1st leg when Stade d'Abidjan was Team 2?
SELECT 1st leg FROM table WHERE Team 2 = stade d'abidjan
What was the aggregate score that had Union Douala as Team 1?
SELECT Agg. FROM table WHERE Team 1 = union douala
What was the 2nd leg score of the aggregate score of 4-9?
SELECT 2nd leg FROM table WHERE Agg. = 4-9
Who was Team 2 when Stationery Stores was Team 1?
SELECT Team 2 FROM table WHERE Team 1 = stationery stores
Which Team 1 has an aggregate score of 1-1 1?
SELECT Team 1 FROM table WHERE Agg. = 1-1 1
Can you tell me the Chassis that has the Year of 1977?
SELECT Chassis FROM table WHERE Year = 1977
Can you tell me the Entrant that has the Chassis of march 742, and the Year larger than 1974?
SELECT Entrant FROM table WHERE Chassis = march 742 AND Year > 1974
Can you tell me the Chassis that has the Entrant of trivellato racing team?
SELECT Chassis FROM table WHERE Entrant = trivellato racing team
Can you tell me the Chassis that has the Points of 13, and the Year of 1975, and the Entrant of scuderia citta del mille?
SELECT Chassis FROM table WHERE Points = 13 AND Year = 1975 AND Entrant = scuderia citta del mille
What is the lowest value of a team with revenue less than 374 and a debt of 84%?
SELECT MIN Value ($M) FROM table WHERE Revenue ($M) < 374 AND Debt as %of value = 84
What is the highest operating income that change by 2% and is less than $1,036m?
SELECT MAX Operating income($m) FROM table WHERE % change on year = 2 AND Value ($M) < 1,036
Which team did they play on September 19?
SELECT Opponent FROM table WHERE Date = september 19
What's the FCC info with a Frequency MHz thats smaller than 91.9 and has a CIty of license of Dansville, NY?
SELECT FCC info FROM table WHERE Frequency MHz < 91.9 AND City of license = dansville, ny
What's the FCC info with a Frequency MHz thats smaller than 100.3 and a City of License as Lowville, NY?
SELECT FCC info FROM table WHERE Frequency MHz < 100.3 AND City of license = lowville, ny
What's the Call sign with a Frequency MHz thats smaller than 95.9 and an ERP W of 10?
SELECT Call sign FROM table WHERE Frequency MHz < 95.9 AND ERP W = 10
What is listed as the highest ERP W with a Call sign of W262AC?
SELECT MAX ERP W FROM table WHERE Call sign = w262ac
What's the sum of ERP W with a Frequency MHz that larger than 97.7?
SELECT COUNT ERP W FROM table WHERE Frequency MHz > 97.7
What was the score of the game played on September 9?
SELECT Score FROM table WHERE Date = september 9
Name the overall record for indian river
SELECT Overall Record FROM table WHERE School = indian river
What was E.J. "Dutch" Harrison's lowest To Par?
SELECT MIN To par FROM table WHERE Player = e.j. "dutch" harrison
How much money was won for the game with a score of 74-76-71-71=292?
SELECT Money ( $ ) FROM table WHERE Score = 74-76-71-71=292
What country was the player from with a score of 70-79-74-68=291?
SELECT Country FROM table WHERE Score = 70-79-74-68=291
When To par was less than 2, what was the score?
SELECT Score FROM table WHERE To par < 2