question
stringlengths
12
244
sql
stringlengths
22
468
what is the location when the year is before 1979 and the result is 19-17?
SELECT Location FROM table WHERE Year < 1979 AND Result = 19-17
what is the result for 1970 at yankee stadium?
SELECT Result FROM table WHERE Year = 1970 AND Location = yankee stadium
what is the year when the location is yankee stadium and the result is 23-23
SELECT AVG Year FROM table WHERE Location = yankee stadium AND Result = 23-23
Which Scottish Cup has a League Cup of 95, and a Europe larger than 23?
SELECT MIN Scottish Cup FROM table WHERE League Cup = 95 AND Europe > 23
Which Total has a Name of eoin jess category:articles with hcards, and a Scottish Cup larger than 23?
SELECT MIN Total FROM table WHERE Name = eoin jess category:articles with hcards AND Scottish Cup > 23
Which Total has a Name of alex mcleish category:articles with hcards, and a League smaller than 494?
SELECT AVG Total FROM table WHERE Name = alex mcleish category:articles with hcards AND League < 494
Which League Cup has a Scottish Cup larger than 69?
SELECT SUM League Cup FROM table WHERE Scottish Cup > 69
Which Scottish Cup has a League smaller than 561, Years of 1989–1995 1997–2001, and Europe smaller than 11?
SELECT COUNT Scottish Cup FROM table WHERE League < 561 AND Years = 1989–1995 1997–2001 AND Europe < 11
What is the highest pick of the houston oilers NFL club, which has a round greater than 10?
SELECT MAX Pick FROM table WHERE NFL Club = houston oilers AND Round > 10
What is the round of the new york jets NFL club?
SELECT Round FROM table WHERE NFL Club = new york jets
What is the sum of the round of the new york jets NFL club, which has a pick less than 166?
SELECT SUM Round FROM table WHERE NFL Club = new york jets AND Pick < 166
WHAT IS THE 2012 PERFORMANCE FOR THE MADRID MASTERS?
SELECT 2012 FROM table WHERE Tournament = madrid masters
WHAT IS THE 2011 PERFORMANCE FOR TOURNAMENTS PLAYED?
SELECT 2011 FROM table WHERE Tournament = tournaments played
WHAT IS THE 2010 PERFORMANCE THAT HAD 2009 0F 0, AND FINALS TOURNAMENT?
SELECT 2010 FROM table WHERE 2009 = 0 AND Tournament = finals
WHAT IS THE 2009 PERFORMANCE FOR TOURNAMENTS PLAYED?
SELECT 2009 FROM table WHERE Tournament = tournaments played
Who were the scorers in round 3?
SELECT Scorers FROM table WHERE Round = round 3
What is the H/A in the semi-final round where oldham athletic were the opponents?
SELECT H / A FROM table WHERE Opponents = oldham athletic AND Round = semi-final
Who were the scorers in the semi-final round where oldham athletic were the opponents?
SELECT Scorers FROM table WHERE Opponents = oldham athletic AND Round = semi-final
Where was the tournament where the score was 1–6, 6–3, 3–6?
SELECT Tournament FROM table WHERE Score = 1–6, 6–3, 3–6
Who did thomaz bellucci play against when the score was 4–6, 6–4, 6–2?
SELECT Opponent FROM table WHERE Score = 4–6, 6–4, 6–2
What was the outcome of the tournament with Akiko Yonemura as a partner on a hard surface?
SELECT Outcome FROM table WHERE Surface = hard AND Partner = akiko yonemura
Which tournament has 1r in 2011, 1r in 2012, A in 2005, and 1r in 2010?
SELECT Tournament FROM table WHERE 2011 = 1r AND 2012 = 1r AND 2005 = a AND 2010 = 1r
What is the 2010 value with a 1r in 2012 and an A in 2005?
SELECT 2010 FROM table WHERE 2012 = 1r AND 2005 = a
What is the tournament with a 2r in 2009 and a 2r in 2010?
SELECT Tournament FROM table WHERE 2009 = 2r AND 2010 = 2r
What is the 2011 value of the 2012 grand slam tournaments?
SELECT 2011 FROM table WHERE 2012 = grand slam tournaments
What was the record after game 45?
SELECT Record FROM table WHERE Game = 45
What was the date of the game at the delta center when the record was 35-14?
SELECT Date FROM table WHERE Location/Attendance = delta center AND Record = 35-14
Who was the opponent, during the game at the location of keyarena at seattle center?
SELECT Opponent FROM table WHERE Location/Attendance = keyarena at seattle center
What is the label of release we are the rage with a cd format?
SELECT Label FROM table WHERE Format = cd AND Release = we are the rage
Who was the winning team before 1956 on October 21?
SELECT Winner FROM table WHERE Year < 1956 AND Date = october 21
Who was the loser when the New York Giants were the winners on November 14?
SELECT Loser FROM table WHERE Winner = new york giants AND Date = november 14
Who was the winner when the Philadelphia eagles were the losers after 1958 at Yankee Stadium?
SELECT Winner FROM table WHERE Loser = philadelphia eagles AND Location = yankee stadium AND Year > 1958
What location was the game with the result of 29-14?
SELECT Location FROM table WHERE Result = 29-14
What is the score of the wigan athletic home team?
SELECT Score FROM table WHERE Home team = wigan athletic
What is the away team with a 2 tie no.?
SELECT Away team FROM table WHERE Tie no = 2
What is the away team for the home team wigan athletic?
SELECT Away team FROM table WHERE Home team = wigan athletic
What is the score on 23 November 1983 with exeter city as the away team?
SELECT Score FROM table WHERE Date = 23 november 1983 AND Away team = exeter city
Who had the high assists when the record was 33–15?
SELECT High assists FROM table WHERE Record = 33–15
What date was the location attendance at&t center 18,797, and a game earlier than 57?
SELECT Date FROM table WHERE Location Attendance = at&t center 18,797 AND Game < 57
What player had the high assists when the Score was l 107–112 (ot)?
SELECT High assists FROM table WHERE Score = l 107–112 (ot)
What was the result when they played the Miami Dolphins with a crowd of 21,881?
SELECT Result FROM table WHERE Attendance > 21,881 AND Opponent = miami dolphins
Which company had a market value less than $5.59 billion, assets greater than $27.46 billion, and a rank above 39?
SELECT Name FROM table WHERE Market value (Bn.$) < 5.59 AND Rank > 39 AND Assets (Bn.$) > 27.46
How many ranks have assets of $70.74 billion and market value greater than $11.29 billion?
SELECT COUNT Rank FROM table WHERE Assets (Bn.$) = 70.74 AND Market value (Bn.$) > 11.29
What is the sum of revenue in Hong Kong with a rank greater than 42, less than $3.46 billion in assets, and greater than $0.17 billion in profits?
SELECT SUM Revenue (Bn.$) FROM table WHERE Assets (Bn.$) < 3.46 AND Headquarters = hong kong AND Profit (Bn.$) > 0.17 AND Rank > 42
What is the sum of revenue for the banking industry with a Forbes 2000 rank under 53?
SELECT SUM Revenue (Bn.$) FROM table WHERE Industry = banking AND Rank Forbes 2000 < 53
What is the highest number of gold medals when the silver is less than 0?
SELECT MAX Gold FROM table WHERE Silver < 0
What was the most Nepalis admitted when the number of Sri Lankans was more than 5,520, Bangladeshis was more than 2,715, and Pakistanis more than 139,574?
SELECT MAX Nepalis admitted FROM table WHERE Sri Lankans admitted > 5,520 AND Bangladeshis admitted > 2,715 AND Pakistanis admitted > 139,574
What were the fewest number of Sri Lankans admitted when more than 4,270 Bangladeshis and more than 4,986 Pakistanis were admitted?
SELECT MIN Sri Lankans admitted FROM table WHERE Bangladeshis admitted > 4,270 AND Pakistanis admitted > 4,986
How many Sri Lankans were admitted in 2004 when more than 594 Nepalis were admitted?
SELECT SUM Sri Lankans admitted FROM table WHERE Year = 2004 AND Nepalis admitted > 594
How many Bangladeshis were admitted when 714 Nepalis and 13,575 Pakistanis were admitted?
SELECT AVG Bangladeshis admitted FROM table WHERE Nepalis admitted = 714 AND Pakistanis admitted > 13,575
What was the most Nepalis admitted when fewer than 1,896 Bangladeshis were admitted?
SELECT MAX Nepalis admitted FROM table WHERE Bangladeshis admitted < 1,896
What is the frequency that the magazine issues that was first published on april 27, 2010?
SELECT Frequency FROM table WHERE First published = april 27, 2010
What was the type of the magazine that was named dengeki game appli?
SELECT Magazine type FROM table WHERE Title = dengeki game appli
What is the name of the video game magazine that was issued bimonthly?
SELECT Title FROM table WHERE Magazine type = video game AND Frequency = bimonthly
What was the parent magazine for the manga magazine, dengeki moeoh that was issued bimonthly?
SELECT Parent magazine FROM table WHERE Frequency = bimonthly AND Magazine type = manga AND Title = dengeki moeoh
What was the parent magazine of the magazine that was first published on december 16, 2004?
SELECT Parent magazine FROM table WHERE First published = december 16, 2004
WHAT IS THE OVERALL AVERAGE WITH A 22 PICK, FROM RICE COLLEGE, AND ROUND BIGGER THAN 10?
SELECT AVG Overall FROM table WHERE Pick = 22 AND College = rice AND Round > 10
WHAT POSITION HAS A 23 PICK?
SELECT Position FROM table WHERE Pick = 23
WHAT IS THE AVERAGE OVERALL WITH A ROUND LARGER THAN 9, AND RB POSITION?
SELECT AVG Overall FROM table WHERE Round > 9 AND Position = rb
WHAT IS THE TOTAL NUMBER WITH A ROUND BIGGER THAN 7 AND PICK OF 21?
SELECT COUNT Overall FROM table WHERE Round > 7 AND Pick = 21
WHAT POSITION IS 273?
SELECT Position FROM table WHERE Overall = 273
What is the lowest Stls, when Rebs is greater than 8.6?
SELECT MIN Stls FROM table WHERE Rebs > 8.6
What is the sum of Blks, when Stls is 1, and when Rebs is greater than 8.6?
SELECT SUM Blks FROM table WHERE Stls = 1 AND Rebs > 8.6
Which opponent played in game 3 before October 18?
SELECT Opponent FROM table WHERE October < 18 AND Game = 3
Which game was after October 24 and had a record of 6-2-1?
SELECT Game FROM table WHERE October > 24 AND Record = 6-2-1
What was the lowest pick for the kicker after round 12?
SELECT MIN Pick FROM table WHERE Round > 12 AND Position = kicker
How many picks had less than 11 rounds and a player of Charley Casey?
SELECT SUM Pick FROM table WHERE Round < 11 AND Player = charley casey
How many rounds had a position of kicker?
SELECT SUM Round FROM table WHERE Position = kicker
Which position had a pick larger than 80 and Walt Mainer as a player?
SELECT Position FROM table WHERE Pick > 80 AND Player = walt mainer
What is the score of the match with deportes savio as the away team?
SELECT Score FROM table WHERE Away = deportes savio
What is the total attendance of the match with a 1:2 score?
SELECT COUNT Attendance FROM table WHERE Score = 1:2
What is the home team of the match on 21 September 2008 with an attendance less than 2248 and a 2:0 score?
SELECT Home FROM table WHERE Attendance < 2248 AND Score = 2:0 AND Date = 21 september 2008
What is the highest attendance of the match with a 2:0 score and vida as the away team?
SELECT MAX Attendance FROM table WHERE Score = 2:0 AND Away = vida
What is the score of the home team olimpia?
SELECT Score FROM table WHERE Home = olimpia
What is the score of the match with an attendance of 2248?
SELECT Score FROM table WHERE Attendance = 2248
Which Seats up for election have an Election result larger than 8, and Staying councillors of 24?
SELECT MAX Seats up for election FROM table WHERE Election result > 8 AND Staying councillors = 24
Which New council has an Election result larger than 24?
SELECT AVG New council FROM table WHERE Election result > 24
Which Staying councillors have a New council of 7, and a Previous council larger than 8?
SELECT AVG Staying councillors FROM table WHERE New council = 7 AND Previous council > 8
What was the record when they played in the Miami Arena, before game 24?
SELECT Record FROM table WHERE Game < 24 AND Location = miami arena
Who was the opponent when they played after Game 26 and their record was 23-4?
SELECT Opponent FROM table WHERE Game > 26 AND Record = 23-4
On what date did they play in Boston Garden with a record of 22-4?
SELECT Date FROM table WHERE Location = boston garden AND Record = 22-4
What was their record on Wed. Dec. 5, when they played in Boston Garden?
SELECT Record FROM table WHERE Location = boston garden AND Date = wed. dec. 5
What place in Lon Hinkle in?
SELECT Place FROM table WHERE Player = lon hinkle
What country does Mark Hayes play for?
SELECT Country FROM table WHERE Player = mark hayes
What is the sum of To Par, when Country is "United States", and when Year(s) Won is "1973"?
SELECT SUM To par FROM table WHERE Country = united states AND Year(s) won = 1973
What is Player, when Total is greater than 288, and when Country is "South Africa"?
SELECT Player FROM table WHERE Total > 288 AND Country = south africa
What is Year(s) Won, when To Par is greater than 13?
SELECT Year(s) won FROM table WHERE To par > 13
What residence has representative Quincy Murphy?
SELECT Residence FROM table WHERE Representative = quincy murphy
Who is the home captain when the venue is adelaide oval?
SELECT Home captain FROM table WHERE Venue = adelaide oval
What was the score in the September 20 game?
SELECT Score FROM table WHERE Date = september 20
Where was the September 22 game played?
SELECT Location FROM table WHERE Date = september 22
What was the score in the September 26 game?
SELECT Score FROM table WHERE Date = september 26
Who was the opposing team in the game(s) that started at 7:30pm?
SELECT Opponent FROM table WHERE Time = 7:30pm
What was the score of the 7:00pm game at Scotiabank Place against the Philadelphia Flyers?
SELECT Score FROM table WHERE Time = 7:00pm AND Location = scotiabank place AND Opponent = philadelphia flyers
What is the attendance of the match on October 26?
SELECT Attendance FROM table WHERE Date = october 26
What is the opponent number of the match with a w27-16 result?
SELECT Opponent# FROM table WHERE Result = w27-16
What is the result of the match with an attendance of 73,855?
SELECT Result FROM table WHERE Attendance = 73,855
What is the rank of the match on October 19?
SELECT Rank # FROM table WHERE Date = october 19
Who was the scorer when the opponent was aberdeen?
SELECT Scorers FROM table WHERE Opponent = aberdeen
When was the scorer mccoist (3), johnston, butcher, steven?
SELECT Date FROM table WHERE Scorers = mccoist (3), johnston, butcher, steven