instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query | What was the away team score for the game where the home team scored 11.13 (79)? | SELECT Away team score FROM table WHERE Home team score = 11.13 (79) |
Translate the following into a SQL query | Who was the home team that scored 19.15 (129) on 15 June 1959? | SELECT Home team FROM table WHERE Date = 15 june 1959 AND Home team score = 19.15 (129) |
Translate the following into a SQL query | How many points did South Melbourne score as the home team? | SELECT Home team score FROM table WHERE Home team = south melbourne |
Translate the following into a SQL query | What was the home team's score when the away team scored 9.12 (66)? | SELECT Home team score FROM table WHERE Away team score = 9.12 (66) |
Translate the following into a SQL query | On what date was the home team Footscray? | SELECT Date FROM table WHERE Home team = footscray |
Translate the following into a SQL query | What was the average crowd size when the home team scored 9.8 (62)? | SELECT AVG Crowd FROM table WHERE Home team score = 9.8 (62) |
Translate the following into a SQL query | What was the home team when the away team scored 7.16 (58)? | SELECT Home team FROM table WHERE Away team score = 7.16 (58) |
Translate the following into a SQL query | What is the average amount of goals that have a goal difference or 8 and the losses are smaller than 12? | SELECT AVG Goals for FROM table WHERE Goal Difference = 8 AND Losses < 12 |
Translate the following into a SQL query | How many goals have a Lokomotiv Plovdiv club and goals against larger than 58? | SELECT COUNT Goals for FROM table WHERE Club = lokomotiv plovdiv AND Goals against > 58 |
Translate the following into a SQL query | What is the average goal difference using slavia sofia club? | SELECT AVG Goal Difference FROM table WHERE Club = slavia sofia |
Translate the following into a SQL query | What is the played average that has botev plovdiv as the club and wins larger than 11? | SELECT AVG Played FROM table WHERE Club = botev plovdiv AND Wins > 11 |
Translate the following into a SQL query | Where did they play on their bye week? | SELECT Game Site FROM table WHERE Record = bye |
Translate the following into a SQL query | What is the kickoff that has a NFL.com recap, is played before week 17, and is played at arrowhead stadium? | SELECT Kickoff FROM table WHERE NFL.com Recap = recap AND Week < 17 AND Game Site = arrowhead stadium |
Translate the following into a SQL query | Who is the home team at brunswick street oval? | SELECT Home team FROM table WHERE Venue = brunswick street oval |
Translate the following into a SQL query | What is the home team's score at brunswick street oval? | SELECT Home team score FROM table WHERE Venue = brunswick street oval |
Translate the following into a SQL query | What is the away side's score when the home team's score is 15.14 (104)? | SELECT Away team score FROM table WHERE Home team score = 15.14 (104) |
Translate the following into a SQL query | When did the match take place that had an away team score of 12.12 (84)? | SELECT Date FROM table WHERE Away team score = 12.12 (84) |
Translate the following into a SQL query | What was the crowd size of the match where the home team scored 7.7 (49) against Geelong? | SELECT SUM Crowd FROM table WHERE Home team score = 7.7 (49) AND Away team = geelong |
Translate the following into a SQL query | Which match had the largest crowd size where the away team was North Melbourne? | SELECT MAX Crowd FROM table WHERE Away team = north melbourne |
Translate the following into a SQL query | What away team scored 6.12 (48)? | SELECT Away team FROM table WHERE Away team score = 6.12 (48) |
Translate the following into a SQL query | What was North Melbourne's score as an away team? | SELECT Away team score FROM table WHERE Away team = north melbourne |
Translate the following into a SQL query | What was the crowd size when the away team scored 10.9 (69)? | SELECT COUNT Crowd FROM table WHERE Away team score = 10.9 (69) |
Translate the following into a SQL query | What was the away team's score against Hawthorn? | SELECT Away team score FROM table WHERE Home team = hawthorn |
Translate the following into a SQL query | What was the away team that played the home team of Geelong? | SELECT Away team FROM table WHERE Home team = geelong |
Translate the following into a SQL query | What week has an attended smaller than 62,723 on October 22, 1961? | SELECT AVG Week FROM table WHERE Attendance < 62,723 AND Date = october 22, 1961 |
Translate the following into a SQL query | Which week with Green Bay Packers as an opponent is the highest? | SELECT MAX Week FROM table WHERE Opponent = green bay packers |
Translate the following into a SQL query | What is the number of starts for the player who lost fewer than 22 and has more than 4 tries? | SELECT AVG Start FROM table WHERE Lost < 22 AND Tries > 4 |
Translate the following into a SQL query | What is the total losses for the player with fewer than 51 pens, 3 tries and 45 starts? | SELECT COUNT Lost FROM table WHERE Pens < 51 AND Tries = 3 AND Start = 45 |
Translate the following into a SQL query | What is the average crowd size at glenferrie oval? | SELECT AVG Crowd FROM table WHERE Venue = glenferrie oval |
Translate the following into a SQL query | What is the away team's score when the away team is geelong? | SELECT Away team score FROM table WHERE Away team = geelong |
Translate the following into a SQL query | What is the away team's score when geelong is the away side playing in front of a crowd of larger than 10,500, and the home team scoring 13.10 (88)? | SELECT Away team score FROM table WHERE Crowd > 10,500 AND Home team score = 13.10 (88) AND Away team = geelong |
Translate the following into a SQL query | What is the largest crowd when melbourne plays at home? | SELECT MAX Crowd FROM table WHERE Home team = melbourne |
Translate the following into a SQL query | What was the championship game for the Southwest conference? | SELECT Championship Game FROM table WHERE Conference = southwest |
Translate the following into a SQL query | Which manager has Sol Campbell as captain? | SELECT Manager FROM table WHERE Captain = sol campbell |
Translate the following into a SQL query | What team does Carlsberg sponsor? | SELECT Team FROM table WHERE Shirt sponsor = carlsberg |
Translate the following into a SQL query | Who sponsors Middlesbrough? | SELECT Shirt sponsor FROM table WHERE Team = middlesbrough |
Translate the following into a SQL query | Which sponsor has Mark Hughes as manager? | SELECT Shirt sponsor FROM table WHERE Manager = mark hughes |
Translate the following into a SQL query | Which kit maker does Aston Villa use? | SELECT Kit maker FROM table WHERE Team = aston villa |
Translate the following into a SQL query | Who captains Portsmouth? | SELECT Captain FROM table WHERE Team = portsmouth |
Translate the following into a SQL query | What bombing happened in Brighton, UK? | SELECT Event FROM table WHERE Location = brighton, uk |
Translate the following into a SQL query | What result had a score of 3β0? | SELECT Result FROM table WHERE Score = 3β0 |
Translate the following into a SQL query | For the venue of suwon world cup stadium , suwon , south korea and a Score of 3β0 what is the result? | SELECT Result FROM table WHERE Venue = suwon world cup stadium , suwon , south korea AND Score = 3β0 |
Translate the following into a SQL query | What is the top goal for the result of 2β3? | SELECT MAX Goal FROM table WHERE Result = 2β3 |
Translate the following into a SQL query | When was the time of 12:49:08 first set? | SELECT MIN Year FROM table WHERE Time = 12:49:08 |
Translate the following into a SQL query | What was the date when the attendance was 77,918? | SELECT Date FROM table WHERE Attendance = 77,918 |
Translate the following into a SQL query | What was the attendance of the game played in the Georgia Dome? | SELECT Attendance FROM table WHERE Game site = georgia dome |
Translate the following into a SQL query | What was the date when the attendance was 73,529? | SELECT Date FROM table WHERE Attendance = 73,529 |
Translate the following into a SQL query | What away team played at Western Oval? | SELECT Away team FROM table WHERE Venue = western oval |
Translate the following into a SQL query | What away team scored 18.14 (122)? | SELECT Away team FROM table WHERE Away team score = 18.14 (122) |
Translate the following into a SQL query | What away team scored 9.15 (69)? | SELECT Away team FROM table WHERE Away team score = 9.15 (69) |
Translate the following into a SQL query | What was the smallest crowd when Footscray played at home? | SELECT MIN Crowd FROM table WHERE Home team = footscray |
Translate the following into a SQL query | What was the away team when the home team scored 9.8 (62)? | SELECT Away team FROM table WHERE Home team score = 9.8 (62) |
Translate the following into a SQL query | Where was the game held when the away team scored 10.12 (72)? | SELECT Venue FROM table WHERE Away team score = 10.12 (72) |
Translate the following into a SQL query | What was the home team's score at the game where the away team scored 13.6 (84)? | SELECT Home team score FROM table WHERE Away team score = 13.6 (84) |
Translate the following into a SQL query | What was the outcome when she partnered with mashona washington? | SELECT Outcome FROM table WHERE Partner = mashona washington |
Translate the following into a SQL query | What is the listed crowd at junction oval? | SELECT Crowd FROM table WHERE Venue = junction oval |
Translate the following into a SQL query | What is the sum of crowd(s) when north melbourne is away? | SELECT SUM Crowd FROM table WHERE Away team = north melbourne |
Translate the following into a SQL query | What day is south melbourne away? | SELECT Date FROM table WHERE Away team = south melbourne |
Translate the following into a SQL query | What was the away team's score when the home team scored 16.14 (110)? | SELECT Away team score FROM table WHERE Home team score = 16.14 (110) |
Translate the following into a SQL query | What was the home team's score when the away team scored 13.14 (92)? | SELECT Home team score FROM table WHERE Away team score = 13.14 (92) |
Translate the following into a SQL query | Who was the home team at the game where the away team scored 10.13 (73) and there was a crowd over 24,119? | SELECT Home team FROM table WHERE Crowd > 24,119 AND Away team score = 10.13 (73) |
Translate the following into a SQL query | What was the score of the competition on 23 November 2003? | SELECT Score FROM table WHERE Date = 23 november 2003 |
Translate the following into a SQL query | Where did Richmond play as an away team? | SELECT Venue FROM table WHERE Away team = richmond |
Translate the following into a SQL query | When did South Melbourne play at home? | SELECT Date FROM table WHERE Home team = south melbourne |
Translate the following into a SQL query | What is the average election for vicenza province with the liga veneta party? | SELECT AVG Election FROM table WHERE Party = liga veneta AND Province = vicenza |
Translate the following into a SQL query | What is the sum of elections in vicenza? | SELECT SUM Election FROM table WHERE Province = vicenza |
Translate the following into a SQL query | What province has an election after 2009? | SELECT Province FROM table WHERE Election > 2009 |
Translate the following into a SQL query | What format does Japan use? | SELECT Format FROM table WHERE Country = japan |
Translate the following into a SQL query | What date has a catalogue of 540 3622? | SELECT Date FROM table WHERE Catalogue = 540 3622 |
Translate the following into a SQL query | What format has a catalogue of asw 40362? | SELECT Format FROM table WHERE Catalogue = asw 40362 |
Translate the following into a SQL query | What date has a catalogue of asw 40362? | SELECT Date FROM table WHERE Catalogue = asw 40362 |
Translate the following into a SQL query | On what Date is the Crowd larger than 17,000? | SELECT Date FROM table WHERE Crowd > 17,000 |
Translate the following into a SQL query | What Home team has an Away team score of 8.9 (57)? | SELECT Home team FROM table WHERE Away team score = 8.9 (57) |
Translate the following into a SQL query | What is the Home team score when the Away team score is 17.16 (118)? | SELECT Home team score FROM table WHERE Away team score = 17.16 (118) |
Translate the following into a SQL query | Which Away team has the Home team of Carlton? | SELECT Away team FROM table WHERE Home team = carlton |
Translate the following into a SQL query | What was the score of the Jeff Tarango game? | SELECT Score FROM table WHERE Partner = jeff tarango |
Translate the following into a SQL query | Where did Collingwood play ae the away team? | SELECT Venue FROM table WHERE Away team = collingwood |
Translate the following into a SQL query | What was the score when there was more than 27,000 in attendance? | SELECT Home team score FROM table WHERE Crowd > 27,000 |
Translate the following into a SQL query | Where did Hawthorn play as the home team? | SELECT Venue FROM table WHERE Home team = hawthorn |
Translate the following into a SQL query | In 1990-2005 what is the lowest Start with Convs smaller than 2? | SELECT MIN Start FROM table WHERE Span = 1990-2005 AND Conv < 2 |
Translate the following into a SQL query | What is the away team when the score is 6.9 (45)? | SELECT Away team FROM table WHERE Away team score = 6.9 (45) |
Translate the following into a SQL query | What is the total of the crowd when the home team is footscray? | SELECT COUNT Crowd FROM table WHERE Home team = footscray |
Translate the following into a SQL query | What is the away team score when the away team is Essendon? | SELECT Away team score FROM table WHERE Away team = essendon |
Translate the following into a SQL query | What is the crowd total when the home score is 5.9 (39)? | SELECT Crowd FROM table WHERE Home team score = 5.9 (39) |
Translate the following into a SQL query | How many weeks ended in a result of L 20-10? | SELECT COUNT Week FROM table WHERE Result = l 20-10 |
Translate the following into a SQL query | What was the attendance in week 6? | SELECT Attendance FROM table WHERE Week = 6 |
Translate the following into a SQL query | Who was the opponent in the game that had an attendance of 60,066? | SELECT Opponent FROM table WHERE Attendance = 60,066 |
Translate the following into a SQL query | What is the designation of material or non-material for either positional or automatic with no rectified count and either opponent? | SELECT Material or Non-material FROM table WHERE Positional or Automatic = either AND Count Rectified = no AND Opponents = either |
Translate the following into a SQL query | What is the value for positional opponents with no material or non-material, and 3 suits? | SELECT Opponents FROM table WHERE Positional or Automatic = positional AND Material or Non-material = no AND Suits = 3 |
Translate the following into a SQL query | Is it material or non-material when there are 2 suits for either opponent? | SELECT Material or Non-material FROM table WHERE Suits = 2 AND Opponents = either |
Translate the following into a SQL query | Which suits have no material or non-material, either opponent, and are positional? | SELECT Suits FROM table WHERE Material or Non-material = no AND Opponents = either AND Positional or Automatic = positional |
Translate the following into a SQL query | Is the count rectified for single opponents, either positional or automatic, and no material or non-material? | SELECT Count Rectified FROM table WHERE Opponents = single AND Positional or Automatic = either AND Material or Non-material = no |
Translate the following into a SQL query | How many points did Happy Valley score before game 14? | SELECT COUNT Point FROM table WHERE Team = happy valley AND Game < 14 |
Translate the following into a SQL query | How many points were there in the game with a goal loss of 16 and a goal diff less than 26 after game 14? | SELECT COUNT Point FROM table WHERE Goal Loss = 16 AND Goal Diff < 26 AND Game > 14 |
Translate the following into a SQL query | How many draws did the game after game 14 with goal gain 17 have? | SELECT MAX Draw FROM table WHERE Goal Gain = 17 AND Game > 14 |
Translate the following into a SQL query | How many total draws were there with a less than 8 loss, more than 30 points, and a goal diff larger than 26? | SELECT COUNT Draw FROM table WHERE Loss < 8 AND Point > 30 AND Goal Diff > 26 |
Translate the following into a SQL query | What is the highest loss before game 14? | SELECT MAX Loss FROM table WHERE Game < 14 |
Translate the following into a SQL query | How many average points did the player with a time/retired of +16.789 and have more laps than 68 have? | SELECT AVG Points FROM table WHERE Time/Retired = +16.789 AND Laps > 68 |
Translate the following into a SQL query | How many average points did the team Minardi Team USA have when there was a grid 3 and more laps than 68? | SELECT AVG Points FROM table WHERE Team = minardi team usa AND Grid = 3 AND Laps > 68 |
Translate the following into a SQL query | Which was the highest crowd drawn by an Away team in Richmond? | SELECT MAX Crowd FROM table WHERE Away team = richmond |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.