question
stringlengths 12
244
| sql
stringlengths 22
468
|
---|---|
What lowest games have a Goal Ratio of 0, and Goals smaller than 0? | SELECT MIN Games FROM table WHERE Goal Ratio = 0 AND Goals < 0 |
How many debuts in Europe have less than 76 goals, more than 151 games, and a rank greater than 5? | SELECT COUNT Debut in Europe FROM table WHERE Goals < 76 AND Games > 151 AND Rank > 5 |
What is the average points of the Ferrari 1512 Chassis after 1965? | SELECT AVG Points FROM table WHERE Chassis = ferrari 1512 AND Year > 1965 |
What is the Chassis of the Cooper Car Company after 1965 when the engine was a Maserati v12? | SELECT Chassis FROM table WHERE Year > 1965 AND Team = cooper car company AND Engine = maserati v12 |
Which location had a round of 3, and an Opponent of matt horwich? | SELECT Location FROM table WHERE Round < 3 AND Opponent = matt horwich |
What was the time of sportfight 10? | SELECT Time FROM table WHERE Event = sportfight 10 |
Which opponent had a time of 0:29? | SELECT Opponent FROM table WHERE Time = 0:29 |
What number has the builder ruston hornsby, the date 1961, and the name Topsy? | SELECT COUNT Number FROM table WHERE Builder = ruston hornsby AND Date = 1961 AND Name = topsy |
What is the number with the builder hunslet and a works number greater than 822? | SELECT COUNT Number FROM table WHERE Builder = hunslet AND Works number > 822 |
What was the score of the March 14 game? | SELECT Score FROM table WHERE Date = march 14 |
What was the score for the December 11 game against the Ottawa Senators? | SELECT Score FROM table WHERE Visitor = ottawa senators AND Date = december 11 |
Name the project with length overall being 25 and name of levante | SELECT Project FROM table WHERE Length overall in meters (without bowsprit) = 25 AND Name = levante |
Name the sum of Hull number with portugal destination | SELECT SUM Hull No. FROM table WHERE Destination = portugal |
Name the sum of hull number for italy and year more than 1999 | SELECT SUM Hull No. FROM table WHERE Destination = italy AND Year > 1999 |
Give me the result for a format saying album with 1994 as the year. | SELECT Result(s) FROM table WHERE Format(s) = album AND Year = 1994 |
List the Award Descriptions for the year of 1989. | SELECT Award Description(s) FROM table WHERE Year = 1989 |
What is on at 9:30 on the channel of dancing with the stars? | SELECT 9:30 FROM table WHERE 8:30 = dancing with the stars |
What is on at 7:30 when k-ville is on at 9:00 on that channel? | SELECT 7:30 FROM table WHERE 9:00 = k-ville |
What is on at 8:30 when occupation double is on at 7:00 at that channel? | SELECT 8:30 FROM table WHERE 7:00 = occupation double |
What is on at 8:30 when etalk is on at 7:00 on that channel? | SELECT 8:30 FROM table WHERE 7:00 = etalk |
What is on at 8:00 when etalk is on at 7:00? | SELECT 8:00 FROM table WHERE 7:00 = etalk |
What was the score of the game played on August 5? | SELECT Score FROM table WHERE Date = august 5 |
On what date was the Blue Jays record 60-56? | SELECT Date FROM table WHERE Record = 60-56 |
Tell me the name for first elected more than 1988 and district of mason | SELECT Name FROM table WHERE First elected > 1988 AND District = mason |
Name the party with first elected more than 1999 and position of supervisor for john foust | SELECT Party FROM table WHERE First elected > 1999 AND Position = supervisor AND Name = john foust |
Name the total number of first elected for dranesville | SELECT COUNT First elected FROM table WHERE District = dranesville |
What year was the venue at Sydney Cricket Ground, and the opponent was Parramatta Eels? | SELECT COUNT Year FROM table WHERE Venue = sydney cricket ground AND Opponent = parramatta eels |
What was the competition in 1978? | SELECT Competition FROM table WHERE Year = 1978 |
What year was the average attendance 80,388? | SELECT AVG Year FROM table WHERE Attendance = 80,388 |
What was the score with the opponent being New Zealand Warriors? | SELECT Score FROM table WHERE Opponent = new zealand warriors |
Which 1st Party has an election in 1847? | SELECT 1st Party FROM table WHERE Election = 1847 |
Which 1st Party has an election in 1865? | SELECT 1st Party FROM table WHERE Election = 1865 |
Which 1st Party has a 2nd Member of constituency abolished? | SELECT 1st Party FROM table WHERE 2nd Member = constituency abolished |
Which 1st Member has an election in 1880 and a liberal 1st Party? | SELECT 1st Member FROM table WHERE 1st Party = liberal AND Election = 1880 |
Which 1st Member has an election in 1859 and a conservative 2nd Party? | SELECT 1st Member FROM table WHERE 2nd Party = conservative AND Election = 1859 |
What was the average number of points with bonus pts less than 31 with the rider dennis gavros? | SELECT AVG Total Points FROM table WHERE Rider = dennis gavros AND Bonus Pts < 31 |
How many total matches involving dennis gavros had total points less than 167? | SELECT COUNT Matches FROM table WHERE Rider = dennis gavros AND Total Points < 167 |
What is the smallest number of matches with Bonus Pts of 19 and Total Points greater than 421? | SELECT MIN Matches FROM table WHERE Bonus Pts = 19 AND Total Points > 421 |
Which category earlier than 2006 has Bart Brentjens as rider 2? | SELECT Category FROM table WHERE Date < 2006 AND Rider 2 = bart brentjens |
How many dates does the ladies category correspond to Rothaus-Cube? | SELECT COUNT Date FROM table WHERE Category = ladies AND Team = rothaus-cube |
Which category has a team of Cannondale Vredestein? | SELECT Category FROM table WHERE Team = cannondale vredestein |
What is the qual with a rank 9? | SELECT Qual FROM table WHERE Rank = 9 |
What is the finish in 1956? | SELECT Finish FROM table WHERE Year = 1956 |
What is the finish with 200 laps and a start of 3? | SELECT Finish FROM table WHERE Laps = 200 AND Start = 3 |
What is the qual with 200 laps and a rank of 27? | SELECT Qual FROM table WHERE Laps = 200 AND Rank = 27 |
What is the rank with a 14 finish? | SELECT Rank FROM table WHERE Finish = 14 |
When did Deng Xuan first win Women's singles? | SELECT MIN Year FROM table WHERE Women's singles = deng xuan |
When did Julie Still first win Women's singles? | SELECT MIN Year FROM table WHERE Women's singles = julie still |
What is the lowest cuts made of the Masters tournament, which had a top-25 less than 0? | SELECT MIN Cuts made FROM table WHERE Tournament = masters tournament AND Top-25 < 0 |
What is the highest number of wins a tournament with 1 cuts made, a top-25 less than 1, and less than 2 events has? | SELECT MAX Wins FROM table WHERE Cuts made = 1 AND Top-25 < 1 AND Events < 2 |
What is the average number of events the Masters tournament, which has more than 0 top-25, has? | SELECT AVG Events FROM table WHERE Tournament = masters tournament AND Top-25 > 0 |
What is the total number of top-25 a tournament with less than 2 events has? | SELECT COUNT Top-25 FROM table WHERE Events < 2 |
Who won Women's doubles when Nikhil Kanetkar won Men's singles? | SELECT Women's doubles FROM table WHERE Men's singles = nikhil kanetkar |
Who won Women's doubles when Zen Yaqiong won Women's singles? | SELECT Women's doubles FROM table WHERE Women's singles = zen yaqiong |
What was the date of the game that had a loss of Gott (2-7)? | SELECT Date FROM table WHERE Loss = gott (2-7) |
Who was the opponent at the game when the record was 54-58? | SELECT Opponent FROM table WHERE Record = 54-58 |
What was the score of the game when the record was 59-65? | SELECT Score FROM table WHERE Record = 59-65 |
Who was the opponent at the game that had a loss of Caldwell (10-11)? | SELECT Opponent FROM table WHERE Loss = caldwell (10-11) |
Which opponent had a time of 1:26? | SELECT Opponent FROM table WHERE Time = 1:26 |
What was the date of the game with the Kansas City Royals when the Blue Jays record was 18-12? | SELECT Date FROM table WHERE Opponent = royals AND Record = 18-12 |
Which catalogue is from the UK region, and is on vinyl, and was dated in 1986? | SELECT Catalogue FROM table WHERE Region = uk AND Format = vinyl AND Date = 1986 |
What region has a bronze label and a catalogue of 202 876-270? | SELECT Region FROM table WHERE Label = bronze AND Catalogue = 202 876-270 |
Which label is from the Germany region? | SELECT Label FROM table WHERE Region = germany |
What label has brol 34531 as it's catalogue? | SELECT Label FROM table WHERE Catalogue = brol 34531 |
Which label has UK for its region, is on a CD, and is dated from 1986? | SELECT Label FROM table WHERE Region = uk AND Date = 1986 AND Format = cd |
Which catalogue has essential, castle music as it's label? | SELECT Catalogue FROM table WHERE Label = essential, castle music |
What's the period of a rock album released in 1973? | SELECT Period active FROM table WHERE Release-year of first charted record = 1973 AND Genre = rock |
Name the pick number for bill atessis | SELECT Pick # FROM table WHERE Name = bill atessis |
Name the total number of overall for defensive tackle | SELECT COUNT Overall FROM table WHERE Position = defensive tackle |
What is the 2012-list rank of a country with the lowest 2012-list rank out of all the countries with a 2010-list rank better than 13, a 2009-list rank of 0, a 2008-list rank lower than 4? | SELECT MAX 2012-list FROM table WHERE 2010-list < 13 AND 2009-list = 0 AND 2008-list > 4 |
Which engine has daimler benz ag as an entrant? | SELECT Engine FROM table WHERE Entrant = daimler benz ag |
In which years was the to par +6? | SELECT Year(s) won FROM table WHERE To par = +6 |
In 1991, what was the lowest total? | SELECT MIN Total FROM table WHERE Year(s) won = 1991 |
What are the total lanes that have a rank larger than 22? | SELECT SUM Lane FROM table WHERE Rank > 22 |
Which one has a rank bigger than 2, lane of 1, and is from Hong Kong? | SELECT Name FROM table WHERE Rank > 2 AND Lane = 1 AND Nationality = hong kong |
What rank is from Japan, has a lane smaller than 7 and a heat smaller than 3? | SELECT SUM Rank FROM table WHERE Nationality = japan AND Lane < 7 AND Heat < 3 |
What was Jim Hoff's sum of losses and a wins smaller than 12? | SELECT SUM Losses FROM table WHERE Manager = jim hoff AND Wins < 12 |
What was the average of games that were one in 1978 that were smaller than 141? | SELECT AVG Wins FROM table WHERE Years = 1978 AND Games < 141 |
What was the sum of Richie Hebner winning games that were smaller 34? | SELECT SUM Games FROM table WHERE Manager = richie hebner AND Wins < 34 |
What was the average of wins with manager George Scherger smaller than 3 and losses smaller than 1? | SELECT AVG Wins FROM table WHERE Games < 3 AND Manager = george scherger AND Losses < 1 |
When was the golden slipper race? | SELECT Date FROM table WHERE Race = golden slipper |
In which races did the jockey weigh less than 55.5 kg? | SELECT Race FROM table WHERE Weight (kg) < 55.5 |
What was the result of the Todman stakes race at rosehill? | SELECT Result FROM table WHERE Venue = rosehill AND Race = todman stakes |
What Country has Player Ky Laffoon? | SELECT Country FROM table WHERE Player = ky laffoon |
What Player is from the Country United States and Money ($) of 356? | SELECT Player FROM table WHERE Country = united states AND Money ( $ ) = 356 |
What Player has a To par of +1 and the Score 75-70-71-73=289? | SELECT Player FROM table WHERE To par = +1 AND Score = 75-70-71-73=289 |
What was the outcome for the Rome 2, Italy tournament? | SELECT Outcome FROM table WHERE Tournament = rome 2, italy |
What was the outcome of the match opponents in the final of Marius C膬lug膬ru Ciprian Petre Porumb? | SELECT Outcome FROM table WHERE Opponents in the final = marius c膬lug膬ru ciprian petre porumb |
How many golds have a Total of 11, and a Bronze smaller than 3? | SELECT SUM Gold FROM table WHERE Total = 11 AND Bronze < 3 |
How many golds have a Bronze of 0, a Total larger than 1, a Nation of chad, and a Silver larger than 0? | SELECT SUM Gold FROM table WHERE Bronze = 0 AND Total > 1 AND Nation = chad AND Silver > 0 |
What is the smallest silver with a Gold of 1, and a Nation of lithuania? | SELECT MIN Silver FROM table WHERE Gold = 1 AND Nation = lithuania |
What is the total bronze with a Gold larger than 1, a Rank of 2, and a Silver smaller than 12? | SELECT COUNT Bronze FROM table WHERE Gold > 1 AND Rank = 2 AND Silver < 12 |
Which Visiting Team is on december 23? | SELECT Visiting Team FROM table WHERE Date = december 23 |
Which Host Team has Final Score of 42-23? | SELECT Host Team FROM table WHERE Final Score = 42-23 |
When did Final Score of 31-7 happen? | SELECT Date FROM table WHERE Final Score = 31-7 |
What was the score of the Blue Jays game when their record was 75-68 and the attendance was larger than 33,736? | SELECT Score FROM table WHERE Attendance > 33,736 AND Record = 75-68 |
Which Tournament in 2010 also has Grand Slam tournaments in 2011 | SELECT 2010 FROM table WHERE 2011 = grand slam tournaments |
What was the average attendance when the New York Mets were opponents with a record of 51-33? | SELECT AVG Attendance FROM table WHERE Opponent = new york mets AND Record = 51-33 |
What visiting team played on October 18? | SELECT Visiting Team FROM table WHERE Date = october 18 |
What visiting team played at 3com park on October 7? | SELECT Visiting Team FROM table WHERE Stadium = 3com park AND Date = october 7 |