instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query | On what date did Limerick play in the All-Ireland Final game? | SELECT Date FROM table WHERE Opposition = limerick AND Game = all-ireland final |
Translate the following into a SQL query | Who was the opposition in the game on July 29? | SELECT Opposition FROM table WHERE Date = july 29 |
Translate the following into a SQL query | What day did the team play week 13? | SELECT Date FROM table WHERE Week = 13 |
Translate the following into a SQL query | What was Bye's opponent's attendance? | SELECT Attendance FROM table WHERE Opponent = bye |
Translate the following into a SQL query | Which opponent, before Week 10, had an attendance of 63,672? | SELECT Opponent FROM table WHERE Week < 10 AND Attendance = 63,672 |
Translate the following into a SQL query | Which week had an attendance of 70,225 | SELECT MIN Week FROM table WHERE Attendance = 70,225 |
Translate the following into a SQL query | What was the highest number of people injured at incidents located at Rohtas, Bihar where fewer than 13 were killed? | SELECT MAX Injured FROM table WHERE Place = rohtas, bihar AND Killed < 13 |
Translate the following into a SQL query | What was the highest number of people injured in incidents in Vaishali, Bihar? | SELECT MAX Injured FROM table WHERE Place = vaishali, bihar |
Translate the following into a SQL query | How many points did the Away team from Geelong score? | SELECT Away team score FROM table WHERE Away team = geelong |
Translate the following into a SQL query | How many people were in the crowd at Victoria Park? | SELECT COUNT Crowd FROM table WHERE Venue = victoria park |
Translate the following into a SQL query | How many points did the away team from Melbourne score? | SELECT Away team score FROM table WHERE Away team = melbourne |
Translate the following into a SQL query | What date did the home team from Carlton play on? | SELECT Date FROM table WHERE Home team = carlton |
Translate the following into a SQL query | Who is the manager of the St. Johnstone club? | SELECT Manager FROM table WHERE Club = st. johnstone |
Translate the following into a SQL query | Who is the manager of the Stenhousemuir club? | SELECT Manager FROM table WHERE Club = stenhousemuir |
Translate the following into a SQL query | What team was the away ream when they scored 13.12 (90)? | SELECT Away team FROM table WHERE Away team score = 13.12 (90) |
Translate the following into a SQL query | What team was home team when south Melbourne was the away team? | SELECT Home team FROM table WHERE Away team = south melbourne |
Translate the following into a SQL query | What was the away team score when the home team was Carlton? | SELECT Away team score FROM table WHERE Home team = carlton |
Translate the following into a SQL query | What is the Basin Area mi 2 when the Basin Area km 2 is larger than 2,261,763 and the Basin is Pearl River? | SELECT Basin Area mi 2 FROM table WHERE Basin Area km 2 > 2,261,763 AND Basin = pearl river |
Translate the following into a SQL query | Which Basin's Continent is South America, has a Basin Area km 2 larger than 6,144,727, and a Basin Area mi 2 of 238,539? | SELECT Basin FROM table WHERE Continent = south america AND Basin Area km 2 > 6,144,727 AND Basin Area mi 2 = 238,539 |
Translate the following into a SQL query | What was date of the bye week 11? | SELECT Date FROM table WHERE Attendance = bye AND Week = 11 |
Translate the following into a SQL query | Where did Essendon play as the away team? | SELECT Venue FROM table WHERE Away team = essendon |
Translate the following into a SQL query | Where did Carolyn Dawn Johnson win Female Artist of the Year, and Paul Brandt win Male Artist of the Year? | SELECT Location FROM table WHERE Female Artist of the Year = carolyn dawn johnson AND Male Artist of the Year = paul brandt |
Translate the following into a SQL query | Where did Doc Walker win Group or Duo of the Year, and where did Crystal Shawanda win Female Artist of the year? | SELECT Location FROM table WHERE Group or Duo of the Year = doc walker AND Female Artist of the Year = crystal shawanda |
Translate the following into a SQL query | Who won Female Artist of the year in 1983, in the same city that Family Brown won Group of Duo of the year? | SELECT Female Artist of the Year FROM table WHERE Group or Duo of the Year = family brown AND Year = 1983 |
Translate the following into a SQL query | What is the most recent season when Fernando Alonso had more than 13 podiums in a car with a Ferrari engine? | SELECT MAX Season FROM table WHERE Engine = ferrari AND Driver = fernando alonso AND Podiums > 13 |
Translate the following into a SQL query | What is the engine for the Bettenhausen Motorsports team? | SELECT Engine FROM table WHERE Team = bettenhausen motorsports |
Translate the following into a SQL query | What engine does Steve Chassey drive with a march chassis? | SELECT Engine FROM table WHERE Chassis = march AND Drivers = steve chassey |
Translate the following into a SQL query | What is the engine for the Arciero Racing team? | SELECT Engine FROM table WHERE Team = arciero racing |
Translate the following into a SQL query | What chassis belongs with the Cosworth Engine driven by Scott Pruett on the Dick Simon Racing team? | SELECT Chassis FROM table WHERE Engine = cosworth AND Drivers = scott pruett AND Team = dick simon racing |
Translate the following into a SQL query | What is the engine for the team of Alex Morales Motorsports? | SELECT Engine FROM table WHERE Team = alex morales motorsports |
Translate the following into a SQL query | What is the engine for the Machinists Union Racing team? | SELECT Engine FROM table WHERE Team = machinists union racing |
Translate the following into a SQL query | Who is the home side when the away side score is 11.14 (80)? | SELECT Home team FROM table WHERE Away team score = 11.14 (80) |
Translate the following into a SQL query | What was the attendance for Week 1? | SELECT Attendance FROM table WHERE Week = 1 |
Translate the following into a SQL query | Which team did the Patriots play when there was a game attendance of 73,369? | SELECT Opponent FROM table WHERE Attendance = 73,369 |
Translate the following into a SQL query | What date was the Week 3 game played? | SELECT Date FROM table WHERE Week = 3 |
Translate the following into a SQL query | What was the highest attendance of the matches that took place at Windy Hill? | SELECT MAX Crowd FROM table WHERE Venue = windy hill |
Translate the following into a SQL query | Which team has a home field at Glenferrie Oval? | SELECT Home team FROM table WHERE Venue = glenferrie oval |
Translate the following into a SQL query | On what date is Footscray the away team? | SELECT Date FROM table WHERE Away team = footscray |
Translate the following into a SQL query | What was the crowd population for Footscray as an away team? | SELECT MAX Crowd FROM table WHERE Away team = footscray |
Translate the following into a SQL query | On what date was there both a crowd larger than 16,570 and the away team was Footscray? | SELECT Date FROM table WHERE Crowd > 16,570 AND Away team = footscray |
Translate the following into a SQL query | How many bids were there for the .500 win percentage in the Ohio Valley conference? | SELECT SUM # of Bids FROM table WHERE Win % = .500 AND Conference = ohio valley |
Translate the following into a SQL query | What is the Championship Game when the Final Four is 1 and the conference is American South? | SELECT Championship Game FROM table WHERE Final Four = 1 AND Conference = american south |
Translate the following into a SQL query | What is the Final Four with a win percentage of .750? | SELECT Final Four FROM table WHERE Win % = .750 |
Translate the following into a SQL query | What is the date of the game at the Arden Street Oval? | SELECT Date FROM table WHERE Venue = arden street oval |
Translate the following into a SQL query | What is the date where the home team scores 8.7 (55)? | SELECT Date FROM table WHERE Home team score = 8.7 (55) |
Translate the following into a SQL query | What is the date of the game when the venue is Kardinia Park? | SELECT Date FROM table WHERE Venue = kardinia park |
Translate the following into a SQL query | What is the total of the crowd when the away team score is 4.8 (32)? | SELECT SUM Crowd FROM table WHERE Away team score = 4.8 (32) |
Translate the following into a SQL query | What is the date of the game when the home team score is 11.11 (77)? | SELECT Date FROM table WHERE Home team score = 11.11 (77) |
Translate the following into a SQL query | Which away team played against the home team of St Kilda? | SELECT Away team FROM table WHERE Home team = st kilda |
Translate the following into a SQL query | Which home team competed against the away team of Melbourne? | SELECT Home team FROM table WHERE Away team = melbourne |
Translate the following into a SQL query | Which away team resulted in a 15.14 (104) score for the home team? | SELECT Away team FROM table WHERE Home team score = 15.14 (104) |
Translate the following into a SQL query | Which venue hosted an away team with a score of 9.12 (66)? | SELECT Venue FROM table WHERE Away team score = 9.12 (66) |
Translate the following into a SQL query | What venue hosted a home team with a score of 6.12 (48)? | SELECT Venue FROM table WHERE Home team score = 6.12 (48) |
Translate the following into a SQL query | What was the result of week 1 and the opponent was bye? | SELECT Result FROM table WHERE Week = 1 AND Opponent = bye |
Translate the following into a SQL query | What is the site of the game with a Record of 6-2? | SELECT Game site FROM table WHERE Record = 6-2 |
Translate the following into a SQL query | What week has a Record of 12-2? | SELECT Week FROM table WHERE Record = 12-2 |
Translate the following into a SQL query | What city has Sky Tower? | SELECT City FROM table WHERE Name = sky tower |
Translate the following into a SQL query | What is the name of a building in Courbevoie built before 1973? | SELECT Name FROM table WHERE Year built < 1973 AND City = courbevoie |
Translate the following into a SQL query | Who was the away team at Lake Oval? | SELECT Away team FROM table WHERE Venue = lake oval |
Translate the following into a SQL query | What was the home team score for the game where Hawthorn is the home team? | SELECT Home team score FROM table WHERE Home team = hawthorn |
Translate the following into a SQL query | Who is the home team that scored 14.19 (103)? | SELECT Home team FROM table WHERE Home team score = 14.19 (103) |
Translate the following into a SQL query | What is the date of the game where Essendon is the away team? | SELECT Date FROM table WHERE Away team = essendon |
Translate the following into a SQL query | What is the average crowd size when the home side scores 4.10 (34)? | SELECT Crowd FROM table WHERE Home team score = 4.10 (34) |
Translate the following into a SQL query | What is the home team's score when the away team is south melbourne? | SELECT Home team score FROM table WHERE Away team = south melbourne |
Translate the following into a SQL query | What venue featured the home side of st kilda? | SELECT Venue FROM table WHERE Home team = st kilda |
Translate the following into a SQL query | How many metres tall is the building that is larger than 850 feet tall? | SELECT Metres FROM table WHERE Feet > 850 |
Translate the following into a SQL query | What was Geelong's score when they were the home team? | SELECT Home team score FROM table WHERE Home team = geelong |
Translate the following into a SQL query | Where was the game when Collingwood was the home team? | SELECT Venue FROM table WHERE Away team = collingwood |
Translate the following into a SQL query | Who was the away team that scored 8.12 (60)? | SELECT Away team FROM table WHERE Away team score = 8.12 (60) |
Translate the following into a SQL query | What was Peter Woolfolk's Total Rebound average? | SELECT SUM Total Rebounds FROM table WHERE Player = peter woolfolk |
Translate the following into a SQL query | What was week 3 score? | SELECT Result FROM table WHERE Week = 3 |
Translate the following into a SQL query | What city had a crowd larger than 11,346 and score of 24-16? | SELECT City FROM table WHERE Crowd > 11,346 AND Score = 24-16 |
Translate the following into a SQL query | What is the result of the game at Odsal Stadium? | SELECT Result FROM table WHERE Stadium = odsal stadium |
Translate the following into a SQL query | Which championship had a margin of 10 strokes? | SELECT Championship FROM table WHERE Margin = 10 strokes |
Translate the following into a SQL query | Which runner-up player(s) had a margin of 10 strokes? | SELECT Runner(s)-up FROM table WHERE Margin = 10 strokes |
Translate the following into a SQL query | What was the most recent year that Kathy Ahern was a runner-up? | SELECT MAX Year FROM table WHERE Runner(s)-up = kathy ahern |
Translate the following into a SQL query | What is the RTM build of the Windows Home Server 2011? | SELECT RTM build FROM table WHERE Name = windows home server 2011 |
Translate the following into a SQL query | What is the current version of windows 8 with an RTM build of 9200? | SELECT Current version FROM table WHERE RTM build = 9200 AND Name = windows 8 |
Translate the following into a SQL query | What home team scored 14.14 (98)? | SELECT Home team FROM table WHERE Home team score = 14.14 (98) |
Translate the following into a SQL query | What was the home team's score that played Geelong? | SELECT Home team score FROM table WHERE Away team = geelong |
Translate the following into a SQL query | At what venue did the home team score 12.10 (82)? | SELECT Venue FROM table WHERE Home team score = 12.10 (82) |
Translate the following into a SQL query | How many rounds were fought with opponent Kevin Roddy? | SELECT COUNT Round FROM table WHERE Opponent = kevin roddy |
Translate the following into a SQL query | What was the score when attendance was 19,887? | SELECT Record FROM table WHERE Attendance = 19,887 |
Translate the following into a SQL query | What week was the Bye attendance week? | SELECT Week FROM table WHERE Attendance = bye |
Translate the following into a SQL query | Who won when the Patriots played the Denver Broncos? | SELECT Record FROM table WHERE Opponent = denver broncos |
Translate the following into a SQL query | Who won when the attendance was 8,000? | SELECT Record FROM table WHERE Attendance = 8,000 |
Translate the following into a SQL query | What channel has an operator of ivptc? | SELECT Programming FROM table WHERE Operator = ivptc |
Translate the following into a SQL query | What was the score when Richmond payed as the home team? | SELECT Home team score FROM table WHERE Home team = richmond |
Translate the following into a SQL query | Who played against Carlton as the home team? | SELECT Home team FROM table WHERE Away team = carlton |
Translate the following into a SQL query | What was the attendance when South Melbourne was the away team? | SELECT SUM Crowd FROM table WHERE Away team = south melbourne |
Translate the following into a SQL query | Who was the home team when the VFL played Kardinia Park? | SELECT Home team score FROM table WHERE Venue = kardinia park |
Translate the following into a SQL query | How many silver medals did the nation who received 32 bronze medals receive? | SELECT Silver FROM table WHERE Bronze = 32 |
Translate the following into a SQL query | What is the highest numbered grid with a time or retired time of 52:52.1881? | SELECT MAX Grid FROM table WHERE Time/Retired = 52:52.1881 |
Translate the following into a SQL query | Who recorded a time or retired time of 52:56.4653? | SELECT Name FROM table WHERE Time/Retired = 52:56.4653 |
Translate the following into a SQL query | What is the average grid number for paul cruickshank racing with less than 27 laps? | SELECT AVG Grid FROM table WHERE Team = paul cruickshank racing AND Laps < 27 |
Translate the following into a SQL query | What is the lowest total metals of a team with more than 6 silver, 6 bronze, and fewer than 16 gold medals? | SELECT MIN Total FROM table WHERE Silver > 6 AND Bronze = 6 AND Gold < 16 |
Translate the following into a SQL query | What 09-10 class, with a graduate percentage of 85% had the least amount of points? | SELECT MIN 09-10 Points FROM table WHERE 09-10 Graduation = 85% |
Translate the following into a SQL query | What is the crowd size of the game at Brunswick Street Oval? | SELECT SUM Crowd FROM table WHERE Venue = brunswick street oval |
Translate the following into a SQL query | Who was the home team of the game where Footscray is the away team? | SELECT Home team score FROM table WHERE Away team = footscray |
Translate the following into a SQL query | Who is the away team with a score of 7.8 (50)? | SELECT Away team FROM table WHERE Away team score = 7.8 (50) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.