question
stringlengths
12
244
sql
stringlengths
22
468
What was Collingwood's score at the home match against Richmond?
SELECT Home team score FROM table WHERE Away team = richmond
What is the lowest number of laps with a grid larger than 24?
SELECT MIN Laps FROM table WHERE Grid > 24
For Jo Siffert, what was the highest grid with the number of laps above 12?
SELECT MAX Grid FROM table WHERE Driver = jo siffert AND Laps > 12
What is the average number of laps when Gerhard Berger is the driver?
SELECT AVG Laps FROM table WHERE Driver = gerhard berger
What is the name of the constructor who has more than 50 laps and a grid of 7?
SELECT Constructor FROM table WHERE Laps > 50 AND Grid = 7
What is the title of the episode with a production code of ad1b04?
SELECT Title FROM table WHERE Production code = ad1b04
Name the time for event of tfc 21
SELECT Time FROM table WHERE Event = tfc 21
What sport has a Gold larger than 0, and a Silver of 2?
SELECT Sport FROM table WHERE Gold > 0 AND Silver = 2
What is the lowest Bronze that has a Total larger than 18 and a Silver smaller than 143?
SELECT MIN Bronze FROM table WHERE Total > 18 AND Sport = total AND Silver < 143
How many total Silver has a Bronze larger than 19 and a Total smaller than 125?
SELECT SUM Silver FROM table WHERE Bronze > 19 AND Total < 125
What is the highest total Bronze larger than 10, Silver larger than 28, and a Gold of 58?
SELECT MAX Total FROM table WHERE Bronze > 10 AND Silver > 28 AND Gold = 58
What is the lowest Total that has a Gold larger than 0, Silver smaller than 4, Sport of football, and a Bronze larger than 1?
SELECT MIN Total FROM table WHERE Gold > 0 AND Silver < 4 AND Sport = football AND Bronze > 1
what is the time/retired when the grid is 9?
SELECT Time/Retired FROM table WHERE Grid = 9
what is the number of laps when the driver is ron flockhart?
SELECT COUNT Laps FROM table WHERE Driver = ron flockhart
What Engine has a Power of 114hp (85kw)?
SELECT Engine FROM table WHERE Power = 114hp (85kw)
What Torque has an AMC Power Tech I6 Engine?
SELECT Torque FROM table WHERE Engine = amc power tech i6
What Displacement has 185hp (138kw) Power o
SELECT Displacement FROM table WHERE Power = 185hp (138kw)
What venue features collingwood as the home side?
SELECT Venue FROM table WHERE Home team = collingwood
What's the attendance numbers for veterans stadium?
SELECT Attendance FROM table WHERE Game site = veterans stadium
What is the name of the school that has a player named Michael Dunigan?
SELECT School FROM table WHERE Player = michael dunigan
Name the religion for Former Experience of commissioner of health and assumed office before 2005
SELECT Religion FROM table WHERE Assumed Office < 2005 AND Former Experience = commissioner of health
Tell me the loewst assume office for madeleine bordallo
SELECT MIN Assumed Office FROM table WHERE Name = madeleine bordallo
Which team had a game of 82?
SELECT Team FROM table WHERE Game = 82
How many people attended the game at Junction Oval?
SELECT Crowd FROM table WHERE Venue = junction oval
What was the score for Boston's Home game that had Gerber as the decision?
SELECT Score FROM table WHERE Decision = gerber AND Home = boston
What was the record for the game on March 25?
SELECT Record FROM table WHERE Date = march 25
Who was the Decision at Anaheim's home game?
SELECT Decision FROM table WHERE Home = anaheim
Who is the driver of the chassis that is tg183b tg184?
SELECT Driver FROM table WHERE Chassis = tg183b tg184
What was the engine belonging to Pierluigi Martini with a Tyre of P?
SELECT Engine FROM table WHERE Tyres = p AND Driver = pierluigi martini
What was the featured in Engine through rounds 10-13?
SELECT Engine FROM table WHERE Rounds = 10-13
Nigel Mansell was the driver in what Entrant?
SELECT Entrant FROM table WHERE Driver = nigel mansell
What Date does the Name (location) Belyanitsky, Ivanovo, and Balino have?
SELECT Date FROM table WHERE Name (location) = belyanitsky, ivanovo, and balino
What day did North Melbourne play as the home team?
SELECT Date FROM table WHERE Home team = north melbourne
Who was the away team at Arden Street Oval?
SELECT Away team FROM table WHERE Venue = arden street oval
What is the long-term capital gain rate when the long-term gain on commercial buildings is 25% and long term gain on collectibles is 28% while short-term capital gain rate is 33%?
SELECT Long-term capital gain rate FROM table WHERE Long-term gain on commercial buildings* = 25% AND Long-term gain on collectibles = 28% AND Short-term capital gain rate = 33%
What is long-term gain for commercial buildings when long-term gain on collectible sis 28% and ordinary income rate is 35%?
SELECT Long-term gain on commercial buildings* FROM table WHERE Long-term gain on collectibles = 28% AND Ordinary income rate = 35%
What is the ordinary income rate when short-term capital gain rate is 28%?
SELECT Ordinary income rate FROM table WHERE Short-term capital gain rate = 28%
What is the long-term gain for commercial buildings with a short-term capital gain rate of 15%?
SELECT Long-term gain on commercial buildings* FROM table WHERE Short-term capital gain rate = 15%
What is short-term capital gain rate with long-term gain on collectibles at 15%?
SELECT Short-term capital gain rate FROM table WHERE Long-term gain on collectibles = 15%
What long-term gain for collectibles coincides with ordinary income rate 15%?
SELECT Long-term gain on collectibles FROM table WHERE Ordinary income rate = 15%
What is the Decile with a State Authority and a roll of 120?
SELECT SUM Decile FROM table WHERE Authority = state AND Roll = 120
What is the highest Roll of Orere School with a Decile less than 8 with a State Authority?
SELECT MAX Roll FROM table WHERE Decile < 8 AND Authority = state AND Name = orere school
Which venue has an Away team score of 10.11 (71)?
SELECT Venue FROM table WHERE Away team score = 10.11 (71)
What date has a Home team score of 11.18 (84)?
SELECT Date FROM table WHERE Home team score = 11.18 (84)
What home team score has a Away team of melbourne?
SELECT Home team score FROM table WHERE Away team = melbourne
What away team is the home team richmond?
SELECT Away team FROM table WHERE Home team = richmond
When Giancarlo Fisichella was the Driver and there were less than 52 Laps, what was the highest Grid?
SELECT MAX Grid FROM table WHERE Driver = giancarlo fisichella AND Laps < 52
Which Constructor has a Grid less than 17, Laps under 52, and Olivier Panis as the Driver?
SELECT Constructor FROM table WHERE Grid < 17 AND Laps < 52 AND Driver = olivier panis
Which 2006 cfl draft pick played college ball at Idaho state?
SELECT Pick # FROM table WHERE College = idaho state
What position did the CFL player drafted out of college of toronto in 2007 play?
SELECT Position FROM table WHERE College = toronto
What was the Date of Death of the person whose Date of Birth was 28 May 1371?
SELECT Date of death FROM table WHERE Date of birth = 28 may 1371
What was the Reign of the person whose Date of Birth was 22 March 1459?
SELECT Reign FROM table WHERE Date of birth = 22 march 1459
Tell me the average year with a record of 33-33
SELECT AVG Year FROM table WHERE Record = 33-33
Name the total number of years for a 39-31 record
SELECT COUNT Year FROM table WHERE Record = 39-31
Name the least year for gene hassell manager and 6th finish
SELECT MIN Year FROM table WHERE Manager = gene hassell AND Finish = 6th
Name the finish for a 39-31 record
SELECT Finish FROM table WHERE Record = 39-31
What is the lowest goal difference for the club ud alzira, with a played larger than 38?
SELECT MIN Goal Difference FROM table WHERE Club = ud alzira AND Played > 38
What is the goal difference sum that has goals against smaller than 33, draws larger than 13?
SELECT SUM Goal Difference FROM table WHERE Goals against < 33 AND Draws > 13
Name the transfer fee for damia
SELECT Transfer fee FROM table WHERE Name = damia
Name the moving to with a transfer fee of free with a transfer status for rodri
SELECT Moving to FROM table WHERE Transfer fee = free AND Status = transfer AND Name = rodri
When was the game played at the Western Oval venue?
SELECT Date FROM table WHERE Venue = western oval
What is the home team score for the team that played an away game at North Melbourne?
SELECT Home team score FROM table WHERE Away team = north melbourne
What is the livery of the locomotive with a serial number 83-1010?
SELECT Livery FROM table WHERE Serial No = 83-1010
What is the livery on the locomotive with a serial number 83-1011?
SELECT Livery FROM table WHERE Serial No = 83-1011
What is the locomotive with a standard gauge and a serial number of 83-1015?
SELECT Locomotive FROM table WHERE Gauge = standard AND Serial No = 83-1015
What is the date of entered service for the locomotive with a broad gauge and a serial no of 83-1018?
SELECT Entered service FROM table WHERE Gauge = broad AND Serial No = 83-1018
What was the venue on October 16, 1996?
SELECT Venue FROM table WHERE Date = october 16, 1996
What's the score at the October 30, 1996 1998 fifa world cup qualification with a result of win?
SELECT Score FROM table WHERE Result = win AND Competition = 1998 fifa world cup qualification AND Date = october 30, 1996
When was the friendship cup?
SELECT Date FROM table WHERE Competition = friendship cup
What is the smallest number for Cars per Set built in 1977-1979 larger than 32?
SELECT MIN Cars per Set FROM table WHERE Year Built = 1977-1979 AND Number > 32
What unit has cars per set larger than 9 built in 1982?
SELECT Unit Numbers. FROM table WHERE Cars per Set > 9 AND Year Built = 1982
What is the largest number of cars per set that is less than 9?
SELECT MAX Number FROM table WHERE Cars per Set < 9
What year was the class 253 larger than 18 built?
SELECT Year Built FROM table WHERE Class = class 253 AND Number > 18
What is the margin for the Masters Tournament (2) championship?
SELECT Margin FROM table WHERE Championship = masters tournament (2)
How many years had 54 holes and a 2 shot lead?
SELECT COUNT Year FROM table WHERE 54 holes = 2 shot lead
What is the round of 54 holes in which Phil Mickelson was the runner-up?
SELECT 54 holes FROM table WHERE Runner(s)-up = phil mickelson
What is the championship when the margin was 2 strokes, there were 54 holes with a 1 shot lead, and the runner-up was David Duval?
SELECT Championship FROM table WHERE Margin = 2 strokes AND 54 holes = 1 shot lead AND Runner(s)-up = david duval
What is the home team of the April 14 game?
SELECT Home FROM table WHERE Date = april 14
What is the date of the game with Detroit as the visitor team?
SELECT Date FROM table WHERE Visitor = detroit
How many vieweres for the episode with a share of 1, a Rating larger than 0.7000000000000001, and a Rank (#) of 100/102?
SELECT Viewers (m) FROM table WHERE Share = 1 AND Rating > 0.7000000000000001 AND Rank (#) = 100/102
Name the lead tpt for bass of kevin tomanka and alto 1 of alan moffett
SELECT Lead Tpt FROM table WHERE Bass = kevin tomanka AND Alto 1 = alan moffett
What was the crowd size at the moorabbin oval venue?
SELECT COUNT Crowd FROM table WHERE Venue = moorabbin oval
What was the home team score in the game where the away team scored 11.8 (74)?
SELECT Home team score FROM table WHERE Away team score = 11.8 (74)
What did the home team score against the away team collingwood?
SELECT Home team score FROM table WHERE Away team = collingwood
what is the 1-letter for the amino acid asparagine?
SELECT 1-Letter FROM table WHERE Amino Acid = asparagine
what is the side-chain polarity for the amino acid with the 1-letter v?
SELECT Side-chain polarity FROM table WHERE 1-Letter = v
What is the side-chain charge (ph 7.4) for the amino acid with the 1-letter p?
SELECT Side-chain charge (pH 7.4) FROM table WHERE 1-Letter = p
What was home team North Melbourne's opponents score?
SELECT Away team score FROM table WHERE Home team = north melbourne
What was Melbourne's score as the home team?
SELECT Home team score FROM table WHERE Home team = melbourne
Who was the away team at Junction Oval?
SELECT Away team FROM table WHERE Venue = junction oval
What is the USCA that's Total is smaller than 14, with 1 Joint Music Award, MRHMA of 2, and RTHK of 3?
SELECT USCA FROM table WHERE Total < 14 AND Joint Music Award = 1 AND MRHMA = 2 AND RTHK = 3
What is the Total with a Joint Music Award of 1, RTHK of 4, and USCA of 4?
SELECT Total FROM table WHERE Joint Music Award = 1 AND RTHK = 4 AND USCA = 4
How many Joint Music Awards were there with a RTHK of 1, in a Year before 2006?
SELECT Joint Music Award FROM table WHERE Year < 2006 AND RTHK = 1
How many Joint Music Awards are there when the Total is larger than 18, in a Year after 2007?
SELECT Joint Music Award FROM table WHERE Total > 18 AND Year > 2007
Which lane did the athlete swim in who had a semi-final time of 49.19?
SELECT MIN LANE FROM table WHERE SEMI = 49.19
Which species is male?
SELECT Species FROM table WHERE Gender = male
What was the home teams score at Junction Oval?
SELECT Home team score FROM table WHERE Venue = junction oval
What President has a Presidency greater than 7?
SELECT President FROM table WHERE Presidency > 7
What is the highest Presidency that Took Office after 1974 and Left Office in 1998?
SELECT MAX Presidency FROM table WHERE Left office = 1998 AND Took office > 1974
What is the Took Office Date of the Presidency that Left Office Incumbent?
SELECT SUM Took office FROM table WHERE Left office = incumbent