question
stringlengths
12
244
sql
stringlengths
22
468
What tournament took place on 7 Aug 2011?
SELECT Tournament FROM table WHERE Date = 7 aug 2011
For the team that had 4:05.096, what was their day 2?
SELECT Day 2 FROM table WHERE Day 1 = 4:05.096
Which team had 3:18.513 on day 1?
SELECT Team FROM table WHERE Day 1 = 3:18.513
For the team with a class of gt2 and 3:59.820 on day 2, what was the behind?
SELECT Behind FROM table WHERE Class = gt2 AND Day 2 = 3:59.820
Which team was 3:47.761 on day 2?
SELECT Team FROM table WHERE Day 2 = 3:47.761
What is the class of the team that has a behind of +44.780?
SELECT Class FROM table WHERE Behind = +44.780
For the team with 3:42.162 on day 2, what was the behind?
SELECT Behind FROM table WHERE Day 2 = 3:42.162
Which one of the tournaments had a QF in 1996?
SELECT Tournament FROM table WHERE 1996 = qf
What is the value for the Wimbledon tournament in 1996?
SELECT 1996 FROM table WHERE Tournament = wimbledon
What year is center Ann Wauters?
SELECT SUM Year FROM table WHERE Position = center AND Player = ann wauters
What is the earliest year that includes a Seattle Storm guard?
SELECT MIN Year FROM table WHERE Position = guard AND WNBA Team = seattle storm
Regarding players before 2000, what is the USC player's position?
SELECT Position FROM table WHERE Year < 2000 AND College/Country = usc
What is the earliest year a Baylor player made the list?
SELECT MIN Year FROM table WHERE College/Country = baylor
What is Sue Bird's position?
SELECT Position FROM table WHERE Player = sue bird
Which Builder has a Class of Terrier?
SELECT Builder FROM table WHERE Class = terrier
who is the constructor when the laps is less than 68, the grid is more than 20 and the driver is thierry boutsen?
SELECT Constructor FROM table WHERE Laps < 68 AND Grid > 20 AND Driver = thierry boutsen
what is the laps when the time/retired is turbo and the grid is less than 14?
SELECT Laps FROM table WHERE Time/Retired = turbo AND Grid < 14
what is the time/retired when the laps is less than 4?
SELECT Time/Retired FROM table WHERE Laps < 4
Name the most goals for total club and apps less than 120
SELECT MAX Goals FROM table WHERE Club = total AND Apps < 120
How many goals are associated with 75 games?
SELECT MAX Goals FROM table WHERE Games = 75
What is the position for the Rockets years of 2004-05?
SELECT Position FROM table WHERE Years for Rockets = 2004-05
What is the average number of years for the Houston Rockets 2004-05?
SELECT AVG No.(s) FROM table WHERE Years for Rockets = 2004-05
For the years 1992-93, what position did he play for the Houston Rockets?
SELECT Position FROM table WHERE Years for Rockets = 1992-93
What is the total number of years did he play the forward position and what school/club/team/country of Oregon State did he play?
SELECT SUM No.(s) FROM table WHERE Position = forward AND School/Club Team/Country = oregon state
How many wins for bruce fleisher with over 31 events?
SELECT AVG Wins FROM table WHERE Player = bruce fleisher AND Events > 31
What is the average rank for players with under 26 events and less than 2 wins?
SELECT AVG Rank FROM table WHERE Events < 26 AND Wins < 2
What is the high earnings for players with 34 events and over 2 wins?
SELECT MAX Earnings ( $ ) FROM table WHERE Events = 34 AND Wins > 2
What is the ranking for bruce fleisher with over $2,411,543?
SELECT SUM Rank FROM table WHERE Player = bruce fleisher AND Earnings ( $ ) > 2,411,543
Which tournament had a 2R categorization in 2009 and SF in 2010?
SELECT Tournament FROM table WHERE 2009 = 2r AND 2010 = sf
What is the categorization in 2009 when it was 2R in 2008 and 2011?
SELECT 2009 FROM table WHERE 2008 = 2r AND 2011 = 2r
What is the categorization in 2012 when it was A in 2008 and 1R in 2011?
SELECT 2012 FROM table WHERE 2008 = a AND 2011 = 1r
What is the categorization in 2010 when it was A in 2008 and 20011 while being QF in 2012?
SELECT 2010 FROM table WHERE 2008 = a AND 2011 = a AND 2012 = qf
What city in the 06/07 season had cagliari and finished 16th in serie a?
SELECT City FROM table WHERE 2006-2007 season = 16th in serie a AND Club = cagliari
What was the score against home team, Richmond?
SELECT Away team score FROM table WHERE Home team = richmond
What is Fitzroy's smallest crowd size?
SELECT MIN Crowd FROM table WHERE Home team = fitzroy
How many people attended the game where the away team scored 16.7 (103) points?
SELECT COUNT Crowd FROM table WHERE Away team score = 16.7 (103)
When was naomi cavaday the opponent?
SELECT Date FROM table WHERE Opponent = naomi cavaday
When was andrea gámiz the opponent?
SELECT Date FROM table WHERE Opponent = andrea gámiz
Who is the opponent when the score was 6–4, 6–2 and the surface was clay?
SELECT Opponent FROM table WHERE Score = 6–4, 6–2 AND Surface = clay
Where was game that had a home team score 18.16 (124)?
SELECT Venue FROM table WHERE Home team score = 18.16 (124)
How many points did the away team score when the home team scored 16.14 (110)?
SELECT Away team score FROM table WHERE Home team score = 16.14 (110)
What was the smallest crowd at a home game for essendon?
SELECT MIN Crowd FROM table WHERE Home team = essendon
Tell me the time/retired for riccardo patrese
SELECT Time/Retired FROM table WHERE Driver = riccardo patrese
I want the time/retired for grid of 24
SELECT Time/Retired FROM table WHERE Grid = 24
I want the driver for ferrari who made Laps less than 26 and grids more than 9
SELECT Driver FROM table WHERE Grid > 9 AND Laps < 26 AND Constructor = ferrari
Tell me the total number of grid for laps of 52
SELECT COUNT Grid FROM table WHERE Laps = 52
What's the record for january 10?
SELECT Record FROM table WHERE Date = january 10
What's the score on january 5 with a hasek decision?
SELECT Score FROM table WHERE Decision = hasek AND Date = january 5
What Club team has an average of 8, plays kaj linna, and has an overall larger than 131?
SELECT Club team FROM table WHERE Overall > 131 AND Round = 8 AND Player = kaj linna
What round does Bryan Berard do?
SELECT Round FROM table WHERE Player = bryan berard
Tell me the average gross tonnage for april 1919 entered service
SELECT AVG Gross Tonnage FROM table WHERE Entered service = april 1919
I want the total number of gross tonnage when entered service was 1903
SELECT COUNT Gross Tonnage FROM table WHERE Entered service = 1903
what is the rank when the player is henry shefflin and the matches is higher than 4?
SELECT SUM Rank FROM table WHERE Player = henry shefflin AND Matches > 4
what is the rank when the total is 39 in the county of dublin and the matches is less than 4?
SELECT AVG Rank FROM table WHERE Total = 39 AND County = dublin AND Matches < 4
Who was the opponent on November 12, 1972?
SELECT Opponent FROM table WHERE Date = november 12, 1972
Who built the train in 1966 with over 40 produced?
SELECT Builder’s Model FROM table WHERE Total produced > 40 AND Build date = 1966
What is the PRR class of the freight train built in 1967 with a b-b wheel arrangement?
SELECT PRR Class FROM table WHERE Wheel arrangement = b-b AND Service = freight AND Build date = 1967
What PRR class has a Wheel arrangement of a1a-a1a?
SELECT PRR Class FROM table WHERE Wheel arrangement = a1a-a1a
Which Zone is the lowest when Managed By Southern and has Platforms under 2?
SELECT MIN Zone FROM table WHERE Managed By = southern AND Platforms < 2
What would be the highest Platforms for the Centrale Tram Stop Stations?
SELECT MAX Platforms FROM table WHERE Stations = centrale tram stop
How many grids had more than 61 laps?
SELECT SUM Grid FROM table WHERE Laps > 61
When parnell dickinson was the player and the rounds were under 7, what's the highest pick?
SELECT MAX Pick FROM table WHERE Player = parnell dickinson AND Round < 7
When the school picking is utah state for the position of linebacker, what's the sum of those rounds?
SELECT SUM Round FROM table WHERE Position = linebacker AND School = utah state
what is the laps when the grid is less than 2?
SELECT Laps FROM table WHERE Grid < 2
who is the constructor when the grid is more than 23 and the driver is piercarlo ghinzani?
SELECT Constructor FROM table WHERE Grid > 23 AND Driver = piercarlo ghinzani
When is the latest year the venue is in gothenburg, sweden?
SELECT MAX Year FROM table WHERE Venue = gothenburg, sweden
When is the earliest year the venue is in gothenburg, sweden?
SELECT MIN Year FROM table WHERE Venue = gothenburg, sweden
What is the result of the european indoor championships after 1974?
SELECT Result FROM table WHERE Tournament = european indoor championships AND Year > 1974
In Western Oval, what was the away team score?
SELECT Away team score FROM table WHERE Venue = western oval
What is the place number for adrian vasile with less than 127.74 points?
SELECT SUM Places FROM table WHERE Name = adrian vasile AND Points < 127.74
What is the highest SP+FS that has 131.02 Points, and a Rank larger than 15?
SELECT MAX SP+FS FROM table WHERE Points = 131.02 AND Rank > 15
What is the highest evening gown score of the contestant from Tennessee with an interview score larger than 9.36 and an average larger than 9.75 have?
SELECT MAX Evening Gown FROM table WHERE Interview > 9.36 AND Country = tennessee AND Average > 9.75
What is the average of the contestant with a swimsuit less than 9.32?
SELECT SUM Average FROM table WHERE Swimsuit < 9.32
What is the highest swimsuit score of the contestant with a higher than 9.55 interview score, and evening gown of 9.75, and an average higher than 9.67?
SELECT MAX Swimsuit FROM table WHERE Interview > 9.55 AND Evening Gown = 9.75 AND Average > 9.67
What is the country of the contestant with a swimsuit of 9.46?
SELECT Country FROM table WHERE Swimsuit = 9.46
On what date did Goal 24 take place?
SELECT Date FROM table WHERE Goal = 24
What is the team 2 for team 1 of Valletta?
SELECT Team 2 FROM table WHERE Team 1 = valletta
Who played defensive when the rookie Craig Point was playing during week 6?
SELECT Defensive FROM table WHERE Rookie = craig point AND Week = 6
What was the first week that had a transition with Pat Mccready?
SELECT MIN Week FROM table WHERE Transition = pat mccready
Who was the rookie who played when Matt Vinc was defensive and Pat Maddalena was offensive?
SELECT Rookie FROM table WHERE Defensive = matt vinc AND Offensive = pat maddalena
Who played as overall when Josh Sims was transition?
SELECT Overall FROM table WHERE Transition = josh sims
How large was the crowd at Glenferrie Oval?
SELECT SUM Crowd FROM table WHERE Venue = glenferrie oval
who is the actor of the character ariadne oliver?
SELECT Actor FROM table WHERE Character = ariadne oliver
What is the largest grid with a Driver of ralph firman, and a Lap smaller than 18?
SELECT MAX Grid FROM table WHERE Driver = ralph firman AND Laps < 18
What time/retired has a Grid larger than 3, and a Driver of kimi räikkönen?
SELECT Time/Retired FROM table WHERE Grid > 3 AND Driver = kimi räikkönen
What is the score on December 31?
SELECT Score FROM table WHERE Date = december 31
What's the lowest team 1 number that had asolo fonte (veneto b) as the Agg.?
SELECT MIN Team 1 FROM table WHERE Agg. = asolo fonte (veneto b)
What is the grid total for kazuyoshi hoshino with under 71 laps?
SELECT SUM Grid FROM table WHERE Driver = kazuyoshi hoshino AND Laps < 71
What driver has grid 2 and over 72 laps?
SELECT Driver FROM table WHERE Laps > 72 AND Grid = 2
What is the time/retired for grid 23?
SELECT Time/Retired FROM table WHERE Grid = 23
What is the average of the top-25 of those with less than 35 events in the Open Championship?
SELECT AVG Top-25 FROM table WHERE Events < 35 AND Tournament = the open championship
What is the total number of events the Open Championship has with less than 0 cuts?
SELECT SUM Events FROM table WHERE Tournament = the open championship AND Cuts made < 0
What is the total number of events with a top-25 less than 0?
SELECT COUNT Events FROM table WHERE Top-25 < 0
What is the total number of top-25 with a top-10 bigger than 2 and less than 29 cuts?
SELECT COUNT Top-25 FROM table WHERE Top-10 > 2 AND Cuts made < 29
What is the lowest number of events the Open Championship has with a less than 0 top-10?
SELECT MIN Events FROM table WHERE Tournament = the open championship AND Top-10 < 0
What is the score for the away team when they played Hawthorn?
SELECT Away team score FROM table WHERE Home team = hawthorn
Who was the home team when the away team scored 8.7 (55)?
SELECT Home team FROM table WHERE Away team score = 8.7 (55)
Who did Footscray play against when they scored 14.12 (96)?
SELECT Away team FROM table WHERE Home team score = 14.12 (96)
How many were in attendance when the away team scored 8.13 (61)?
SELECT SUM Crowd FROM table WHERE Away team score = 8.13 (61)
Which result has a Score of 30-44?
SELECT Result FROM table WHERE Score = 30-44