question
stringlengths
12
244
sql
stringlengths
22
468
What away team plays at Victoria Park?
SELECT Away team FROM table WHERE Venue = victoria park
How many caps does stephen hoiles have?
SELECT SUM Caps FROM table WHERE Player = stephen hoiles
Which Date has a Home team of st kilda?
SELECT Date FROM table WHERE Home team = st kilda
Which Away team has an Away team score of 13.22 (100)?
SELECT Away team FROM table WHERE Away team score = 13.22 (100)
Which Venue has an Away team of footscray?
SELECT Venue FROM table WHERE Away team = footscray
Which Crowd has a Home team of geelong?
SELECT Crowd FROM table WHERE Home team = geelong
What is the most silver medals a team with 3 total medals and less than 1 bronze has?
SELECT MAX Silver FROM table WHERE Total = 3 AND Bronze < 1
What is the least amount of silver medals a team with less than 0 gold medals has?
SELECT MIN Silver FROM table WHERE Gold < 0
What is the most bronze a team with more than 2 silvers has?
SELECT MAX Bronze FROM table WHERE Silver > 2
What is the total amount of bronze medals a team with 1 gold and more than 3 silver medals has?
SELECT SUM Bronze FROM table WHERE Gold = 1 AND Silver > 3
What is the draw number that has 59 points?
SELECT AVG Draw FROM table WHERE Points = 59
What place for roger pontare?
SELECT Place FROM table WHERE Artist = roger pontare
What song has draw number less than 2?
SELECT Song FROM table WHERE Draw < 2
What was the attendance when Essendon played as the home team?
SELECT COUNT Crowd FROM table WHERE Home team = essendon
Who played the home team at Windy Hill?
SELECT Home team FROM table WHERE Venue = windy hill
What was the date of the game that had a decision of wall?
SELECT Date FROM table WHERE Decision = wall
What is the name of the circuit when Jack Brabham is in the pole position and Graham Hill has the fastest lap?
SELECT Circuit FROM table WHERE Pole position = jack brabham AND Fastest lap = graham hill
What race contains the Monaco circuit?
SELECT Race FROM table WHERE Circuit = monaco
What is the date of the race when Jack Brabham is in the pole position and the circuit is Spa-Francorchamps?
SELECT Date FROM table WHERE Pole position = jack brabham AND Circuit = spa-francorchamps
What is the name of the circuit when Phil Hill has the fastest lap?
SELECT Circuit FROM table WHERE Fastest lap = phil hill
What is the sum of every REG GP that Peter Andersson played as a pick# less than 143?
SELECT SUM Reg GP FROM table WHERE Player = peter andersson AND Pick # < 143
What is the total of PI GP played by Anton Rodin with a Reg GP less than 0?
SELECT COUNT Pl GP FROM table WHERE Player = anton rodin AND Reg GP < 0
What is the total pick# played by Anton Rodin with a Reg GP over 0?
SELECT COUNT Pick # FROM table WHERE Player = anton rodin AND Reg GP > 0
What is the lowest grid that has over 67 laps with stefan bellof driving?
SELECT MIN Grid FROM table WHERE Laps > 67 AND Driver = stefan bellof
How many laps have a grid under 14 and a time/retired of out of fuel?
SELECT SUM Laps FROM table WHERE Grid < 14 AND Time/Retired = out of fuel
Who drove the renault that went over 23 laps and had a grid under 11?
SELECT Driver FROM table WHERE Grid < 11 AND Constructor = renault AND Laps > 23
What is the average NGC number that has a Apparent magnitude greater than 14.2?
SELECT AVG NGC number FROM table WHERE Apparent magnitude > 14.2
What is the highest NGC number that has a Declination ( J2000 ) of °04′58″ and a Apparent magnitude larger than 7.3?
SELECT MAX NGC number FROM table WHERE Declination ( J2000 ) = °04′58″ AND Apparent magnitude > 7.3
What Constellation has a Object type of globular cluster and a NGC number of 5986?
SELECT Constellation FROM table WHERE Object type = globular cluster AND NGC number = 5986
For clubs that have 0 gold and less than 5 points, what is the average amount of bronze medals?
SELECT AVG Bronze FROM table WHERE Points < 5 AND Gold < 0
Club aik had over 9 small silver medals and more than 8 bronze medals, how many total points did they have?
SELECT AVG Points FROM table WHERE Small Silver > 9 AND Club = aik AND Bronze > 8
How many points did landskrona bois get when they were ranked below 18?
SELECT COUNT Points FROM table WHERE Club = landskrona bois AND Rank < 18
Who was the opponent for game 5?
SELECT Opponent FROM table WHERE Game = 5
Name the team for pick more than 30 and position of c with round more than 4
SELECT Team FROM table WHERE Pick > 30 AND Position = c AND Round > 4
What's the number of decimal digits when the total bits is more than 32 and the exponent is less than 15?
SELECT Number of decimal digits FROM table WHERE Total bits > 32 AND Exponent < 15
What's the total number of signicand with ~34.0 decimal digits and more than 128 total bits?
SELECT COUNT Significand FROM table WHERE Number of decimal digits = ~34.0 AND Total bits > 128
What's the sum of significand with ~34.0 decimal digits and an exponent bias larger than 16383?
SELECT SUM Significand FROM table WHERE Number of decimal digits = ~34.0 AND Exponent bias > 16383
What's the sum of sign with an exponent bias less than 1023, ~3.3 decimal digits, and less than 11 bits precision?
SELECT SUM Sign FROM table WHERE Exponent bias < 1023 AND Number of decimal digits = ~3.3 AND Bits precision < 11
What's the sum of sign with more than 53 bits precision, double extended (80-bit) type, and more than 80 total bits?
SELECT SUM Sign FROM table WHERE Bits precision > 53 AND Type = double extended (80-bit) AND Total bits > 80
What's the lowest bits precision when the total bits are less than 16?
SELECT MIN Bits precision FROM table WHERE Total bits < 16
How many years did the team that has a Singles win-Loss of 4-9 and first played before 1999?
SELECT SUM Years Played FROM table WHERE Singles Win-Loss = 4-9 AND First year played < 1999
What is the highest game number with a record of 12-8-1?
SELECT MAX Game FROM table WHERE Record = 12-8-1
What is the record when the decision was valiquette on November 23?
SELECT Record FROM table WHERE Decision = valiquette AND November = 23
I want the driver for Laps more than 8 and ferrari with Grid of 8
SELECT Driver FROM table WHERE Laps > 8 AND Constructor = ferrari AND Grid = 8
Which title has the Translation of vesoul?
SELECT Title FROM table WHERE Translation = vesoul
What was the orignal title for the winner and nominee, Breaking the Waves, in 1996 (11th)?
SELECT Original title FROM table WHERE Year = 1996 (11th) AND Winner and nominees = breaking the waves
What is the original title for the winner and nominees 'Secrets & Lies'?
SELECT Original title FROM table WHERE Winner and nominees = secrets & lies
The winner and nominee 'Hidden Agenda' is from which country?
SELECT Country FROM table WHERE Winner and nominees = hidden agenda
What is the total amount of freight produced of u28c?
SELECT Total produced FROM table WHERE Service = freight AND Builder’s Model = u28c
What is the build date for PRR Class gf30a?
SELECT Build date FROM table WHERE PRR Class = gf30a
What is the PRR class for wheel arrangement c-c and total less than 15?
SELECT PRR Class FROM table WHERE Wheel arrangement = c-c AND Total produced < 15
What was the model for PRR class of gf28a freight?
SELECT Builder’s Model FROM table WHERE Service = freight AND PRR Class = gf28a
Who got 189,524 votes?
SELECT Queens FROM table WHERE Manhattan = 189,524
Which owner has the frequency of 103.3 FM?
SELECT Owner FROM table WHERE Frequency = 103.3 fm
What is the call sign of the Classic Country Music station?
SELECT Call sign FROM table WHERE Format = classic country
Which owner has the call sign of KDSU?
SELECT Name FROM table WHERE Call sign = kdsu
What is the call sign for Thunder 106.1?
SELECT Call sign FROM table WHERE Name = thunder 106.1
Which owner has a Contemporary Christian music station on 97.9 FM?
SELECT Name FROM table WHERE Format = contemporary christian music AND Frequency = 97.9 fm
Who was the leading scorer in the game where the visiting team was the Pistons?
SELECT Leading scorer FROM table WHERE Visitor = pistons
How many people attended the game where the leading scorer was Tim Duncan (24), and the home team was the Spurs?
SELECT MIN Attendance FROM table WHERE Leading scorer = tim duncan (24) AND Home = spurs
What is the mean number of laps where Time/retired was a water leak and the grid number was bigger than 12?
SELECT AVG Laps FROM table WHERE Time/Retired = water leak AND Grid > 12
What is the mean number of laps when time/retired was spun off and the driver was Nick Heidfeld?
SELECT AVG Laps FROM table WHERE Time/Retired = spun off AND Driver = nick heidfeld
What is the sum grid number when the driver was Luciano Burti?
SELECT COUNT Grid FROM table WHERE Driver = luciano burti
Which constructor had a laps number bigger than 3 when the driver was Jarno Trulli?
SELECT Constructor FROM table WHERE Laps > 3 AND Driver = jarno trulli
Name the head of household for married filing jointly or qualified widow(er) being $137,051–$208,850
SELECT Head of Household FROM table WHERE Married Filing Jointly or Qualified Widow(er) = $137,051–$208,850
Name the married filing jointly or qualified widow(er) with head of household being $117,451–$190,200
SELECT Married Filing Jointly or Qualified Widow(er) FROM table WHERE Head of Household = $117,451–$190,200
Name the married filing separately for single of $0–$8,350
SELECT Married Filing Separately FROM table WHERE Single = $0–$8,350
Name the head of household that has married filing separately of $104,426–$186,475
SELECT Head of Household FROM table WHERE Married Filing Separately = $104,426–$186,475
Name the marginal ordinary income tax rate that has a head of household of $372,951+
SELECT Marginal Ordinary Income Tax Rate FROM table WHERE Head of Household = $372,951+
What is the point average for the game that has FGM-FGA of 11-28 and a number smaller than 7?
SELECT AVG Points FROM table WHERE FGM - FGA = 11-28 AND Number < 7
What is the lowest number of floors recorded for buildings built by Dubai Marriott Harbour Hotel & Suites?
SELECT MIN Floors FROM table WHERE Name = dubai marriott harbour hotel & suites
What is the name of the building housing more than 101 floors, that was built after 2006?
SELECT Name FROM table WHERE Year > 2006 AND Floors > 101
Which team played against the away team that scored 5.5 (35)?
SELECT Home team FROM table WHERE Away team score = 5.5 (35)
What was the crowd size on 4 july 1981, and a Away team of essendon?
SELECT Crowd FROM table WHERE Date = 4 july 1981 AND Away team = essendon
When did essendon play away?
SELECT Date FROM table WHERE Away team = essendon
Which category won the Sundance Film Festival award in 1998?
SELECT Category FROM table WHERE Result = won AND Year = 1998 AND Award = sundance film festival
Which award category was the film series The Wire nominated for after 2005?
SELECT Category FROM table WHERE Result = nominated AND Film or series = the wire AND Year > 2005
What was the result for the nominee for Outstanding Supporting Actress in a Drama Series in 2009?
SELECT Result FROM table WHERE Category = outstanding supporting actress in a drama series AND Year = 2009
When the home team scored 11.13 (79), what away team were they playing?
SELECT Away team FROM table WHERE Home team score = 11.13 (79)
When st kilda played as the away team, what date was that?
SELECT Date FROM table WHERE Away team = st kilda
What was the crowd total on the day the home team scored 12.12 (84)?
SELECT SUM Crowd FROM table WHERE Home team score = 12.12 (84)
On what date did Fitzroy play as the home team?
SELECT Date FROM table WHERE Home team = fitzroy
What date did the home team score 12.12 (84)?
SELECT Date FROM table WHERE Home team score = 12.12 (84)
How many points did the away team score in the game that the home team scored 14.25 (109)?
SELECT Away team score FROM table WHERE Home team score = 14.25 (109)
What is the sum of crowds that saw hawthorn at home?
SELECT SUM Crowd FROM table WHERE Home team = hawthorn
What away side scores 10.17 (77)?
SELECT Away team FROM table WHERE Away team score = 10.17 (77)
Who is the home side when the away side scores 10.17 (77)?
SELECT Home team FROM table WHERE Away team score = 10.17 (77)
Name the antonio thomas for Hikaru Sato of tanaka (8:09)
SELECT Antonio Thomas FROM table WHERE Hikaru Sato = tanaka (8:09)
Tell me the block A for antonio thomas of kondo (13:24)
SELECT Block A FROM table WHERE Antonio Thomas = kondo (13:24)
Name the minoru that has a hikaru sato of x and super crazy of yang (8:36)
SELECT Minoru FROM table WHERE Hikaru Sato = x AND Super Crazy = yang (8:36)
Atlanta was a visitor on December 8, what was their record?
SELECT Record FROM table WHERE Visitor = atlanta
Tell me the team which has matches of 13
SELECT Team FROM table WHERE Matches = 13
Tell me the sum of win % for drawn being larger than 35
SELECT SUM Win % FROM table WHERE Drawn > 35
Name the most win % for 13 drawn
SELECT MAX Win % FROM table WHERE Drawn = 13
Name the sum of drawn for 30 october 2006 and win % more than 43.2
SELECT SUM Drawn FROM table WHERE From = 30 october 2006 AND Win % > 43.2
Name the win % average from 22 april 2000 for drawn more than 1
SELECT AVG Win % FROM table WHERE From = 22 april 2000 AND Drawn > 1
Name the average lost for matches of 6
SELECT AVG Lost FROM table WHERE Matches = 6
What was the time recorded for grid 18?
SELECT Time/Retired FROM table WHERE Grid = 18
What catalogue has a track less than 16 and 2/3/56 recorded with a song titled Lawdy Miss Clawdy?
SELECT Catalogue FROM table WHERE Track < 16 AND Recorded = 2/3/56 AND Song Title = lawdy miss clawdy
What is the highest track for the song Rip it Up?
SELECT MAX Track FROM table WHERE Song Title = rip it up