instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query | Which party had a member on August 26, 2008? | SELECT Party FROM table WHERE Date = august 26, 2008 |
Translate the following into a SQL query | What are the details for John Buchanan? | SELECT Details FROM table WHERE Name = john buchanan |
Translate the following into a SQL query | Which province had a liberal party member on December 31, 2006? | SELECT Province FROM table WHERE Party = liberal AND Date = december 31, 2006 |
Translate the following into a SQL query | Which dance style had a draw smaller than 15 and 18 points? | SELECT Dance Styles FROM table WHERE Draw < 15 AND Points = 18 |
Translate the following into a SQL query | What was the away team when the home team scored 16.19 (115)? | SELECT Away team FROM table WHERE Home team score = 16.19 (115) |
Translate the following into a SQL query | What was the away team's score for the match played at Victoria Park? | SELECT Away team score FROM table WHERE Venue = victoria park |
Translate the following into a SQL query | What was the venue where the home team scored 10.15 (75)? | SELECT Venue FROM table WHERE Home team score = 10.15 (75) |
Translate the following into a SQL query | What is Collingwood's home venue? | SELECT Venue FROM table WHERE Home team = collingwood |
Translate the following into a SQL query | What was the away teams score when they played Carlton? | SELECT Away team score FROM table WHERE Home team = carlton |
Translate the following into a SQL query | What is the latest year featuring candace parker? | SELECT MAX Year FROM table WHERE Player = candace parker |
Translate the following into a SQL query | What is the largest crowd when north melbourne is the home side? | SELECT MAX Crowd FROM table WHERE Home team = north melbourne |
Translate the following into a SQL query | Who is the away team when the home team scores 10.17 (77)? | SELECT Away team FROM table WHERE Home team score = 10.17 (77) |
Translate the following into a SQL query | What venue features a home team scoring 12.12 (84)? | SELECT Venue FROM table WHERE Home team score = 12.12 (84) |
Translate the following into a SQL query | What home team scores 12.12 (84)? | SELECT Home team FROM table WHERE Home team score = 12.12 (84) |
Translate the following into a SQL query | What is the smallest crowd at victoria park? | SELECT MIN Crowd FROM table WHERE Venue = victoria park |
Translate the following into a SQL query | What day was geelong the away side? | SELECT Date FROM table WHERE Away team = geelong |
Translate the following into a SQL query | What away team scored 14.5 (89)? | SELECT Away team FROM table WHERE Away team score = 14.5 (89) |
Translate the following into a SQL query | What is the name of the stadium in Brisbane? | SELECT Stadium FROM table WHERE City = brisbane |
Translate the following into a SQL query | What was the result of the match that had a score of 58-6? | SELECT Result FROM table WHERE Score = 58-6 |
Translate the following into a SQL query | What was the score for the match that had the result of Hunter Mariners def. Castleford Tigers? | SELECT Score FROM table WHERE Result = hunter mariners def. castleford tigers |
Translate the following into a SQL query | For the match ending in a score of 66-20, what was the stadium? | SELECT Stadium FROM table WHERE Score = 66-20 |
Translate the following into a SQL query | In what city is the Don Valley Stadium located? | SELECT City FROM table WHERE Stadium = don valley stadium |
Translate the following into a SQL query | Which championship was the 100m backstroke performed? | SELECT Meet FROM table WHERE Event = 100m backstroke |
Translate the following into a SQL query | What event has a time of 7:45.67? | SELECT Event FROM table WHERE Time = 7:45.67 |
Translate the following into a SQL query | What nationality has a year larger than 2009 with a position of power forward? | SELECT Nationality FROM table WHERE Year > 2009 AND Position = power forward |
Translate the following into a SQL query | Who plays for the chicago bulls? | SELECT Player FROM table WHERE Team = chicago bulls |
Translate the following into a SQL query | What are the main places for the streymoy region with an area of larger than 6.1? | SELECT Main places FROM table WHERE Regions = streymoy AND Area > 6.1 |
Translate the following into a SQL query | What is the sum of people per km2 for the sandoy region with an area of 112.1? | SELECT SUM People per km² FROM table WHERE Regions = sandoy AND Area = 112.1 |
Translate the following into a SQL query | what is the week there were 41,604 people in attendance? | SELECT AVG Week FROM table WHERE Attendance = 41,604 |
Translate the following into a SQL query | What is the average crowd size for games with hawthorn as the home side? | SELECT AVG Crowd FROM table WHERE Home team = hawthorn |
Translate the following into a SQL query | What is the home team's score at glenferrie oval? | SELECT Home team score FROM table WHERE Venue = glenferrie oval |
Translate the following into a SQL query | Who had the lowest Best time that also had a Qual 2 of 49.887? | SELECT MIN Best FROM table WHERE Qual 2 = 49.887 |
Translate the following into a SQL query | What was CTE Racing-hvm's Best with a Qual 2 of 50.312? | SELECT Best FROM table WHERE Team = cte racing-hvm AND Qual 2 = 50.312 |
Translate the following into a SQL query | What was the average crowd size for the game where the away team scored 10.11 (71)? | SELECT AVG Crowd FROM table WHERE Away team score = 10.11 (71) |
Translate the following into a SQL query | Which Away team had a score of 18.8 (116)? | SELECT Away team FROM table WHERE Away team score = 18.8 (116) |
Translate the following into a SQL query | What was the home team score when essendon was the away team? | SELECT Home team score FROM table WHERE Away team = essendon |
Translate the following into a SQL query | When richmond was the Away team what was the score of the home team? | SELECT Home team score FROM table WHERE Away team = richmond |
Translate the following into a SQL query | Which service does the network of atn urdu offer? | SELECT Service FROM table WHERE Network = atn urdu |
Translate the following into a SQL query | Whose origin of Programming offers a general genre, a network of ntv bangla and a service of cogeco cable? | SELECT Origin of Programming FROM table WHERE Genre = general AND Network = ntv bangla AND Service = cogeco cable |
Translate the following into a SQL query | Which service has a hindi language, general genre and zee tv network? | SELECT Service FROM table WHERE Language = hindi AND Genre = general AND Network = zee tv |
Translate the following into a SQL query | Which network has an origina of Programming in India, a general genre, a service of bell fibe tv, and tamil as its language? | SELECT Network FROM table WHERE Origin of Programming = india AND Genre = general AND Service = bell fibe tv AND Language = tamil |
Translate the following into a SQL query | Which language has Programming from India, general genre, a network of ptc punjabi and bell fibe tv service? | SELECT Language FROM table WHERE Origin of Programming = india AND Genre = general AND Network = ptc punjabi AND Service = bell fibe tv |
Translate the following into a SQL query | What is the average number of bronzes when the rank is below 11 for trinidad and tobago with less than 1 total medal? | SELECT AVG Bronze FROM table WHERE Rank < 11 AND Nation = trinidad and tobago AND Total < 1 |
Translate the following into a SQL query | What is the sum of gold medal totals for nations with 1 silver, less than 2 bronze, and ranked below 10? | SELECT SUM Gold FROM table WHERE Silver = 1 AND Bronze < 2 AND Total = 1 AND Rank < 10 |
Translate the following into a SQL query | Who did Winfield Scott have an allegiance with? | SELECT Allegiance FROM table WHERE Name = winfield scott |
Translate the following into a SQL query | What was the July 2013 population estimate of the location which had a population density larger than 14.1? | SELECT COUNT 2013 population (July est.) FROM table WHERE Population density (/km 2 ) > 14.1 |
Translate the following into a SQL query | What was the lowest rank of an area with a 2011 Census population larger than 3,645,257, a House of Commons seat percentage of 11.7% and a July 2013 population estimate over 4,581,978? | SELECT MIN Rank FROM table WHERE Population ( 2011 Census ) > 3,645,257 AND House of Commons seats (%) = 11.7% AND 2013 population (July est.) > 4,581,978 |
Translate the following into a SQL query | What was the highest rank of an area with a population density larger than 5.7 and a 2006–2011 percentage growth of 5.7%? | SELECT MAX Rank FROM table WHERE Population density (/km 2 ) > 5.7 AND % growth (2006–11) = 5.7% |
Translate the following into a SQL query | What was the lowest 2011 Census population of an area with a land area larger than 908,607.67 km²? | SELECT MIN Population ( 2011 Census ) FROM table WHERE Land area (km²) > 908,607.67 |
Translate the following into a SQL query | Which rider from the 1971 Isle of Man Junior TT 250cc final standings had a speed equal to 86.15mph? | SELECT Rider FROM table WHERE Speed = 86.15mph |
Translate the following into a SQL query | Which rider had a points score equal to 10? | SELECT Rider FROM table WHERE Points = 10 |
Translate the following into a SQL query | Which Start has a 0 Conv, 0 Pens and 8 Tries? | SELECT Start FROM table WHERE Conv = 0 AND Pens = 0 AND Tries = 8 |
Translate the following into a SQL query | Which Player has 0 Pens and 12 Starts? | SELECT Player FROM table WHERE Pens = 0 AND Start = 12 |
Translate the following into a SQL query | Which Start has 8 Tries and 0 Convs? | SELECT Start FROM table WHERE Tries = 8 AND Conv = 0 |
Translate the following into a SQL query | Who was the away team for the game at Victoria Park? | SELECT Away team FROM table WHERE Venue = victoria park |
Translate the following into a SQL query | What was round 7's lowest overall? | SELECT MIN Overall FROM table WHERE Round = 7 |
Translate the following into a SQL query | Who had the smallest overall under 22? | SELECT Player FROM table WHERE Overall < 22 |
Translate the following into a SQL query | What was Cal State-Los Angeles' position with an Overall above 22? | SELECT Position FROM table WHERE Overall > 22 AND School/Club Team = cal state-los angeles |
Translate the following into a SQL query | Who played for Memphis State? | SELECT Player FROM table WHERE School/Club Team = memphis state |
Translate the following into a SQL query | What is the largest crowd for the St Kilda as the away team? | SELECT MAX Crowd FROM table WHERE Away team = st kilda |
Translate the following into a SQL query | What was the crowd size when Essendon was the home team? | SELECT Crowd FROM table WHERE Home team = essendon |
Translate the following into a SQL query | Which venue had a crowd larger than 20,000? | SELECT Venue FROM table WHERE Crowd > 20,000 |
Translate the following into a SQL query | Which away team played at Lake Oval? | SELECT Away team FROM table WHERE Venue = lake oval |
Translate the following into a SQL query | On what date was the crowd more numerous than 10,800 when the home team score was 7.13 (55)? | SELECT Date FROM table WHERE Crowd > 10,800 AND Home team score = 7.13 (55) |
Translate the following into a SQL query | What is the total number of the crowd at Glenferrie Oval? | SELECT COUNT Crowd FROM table WHERE Venue = glenferrie oval |
Translate the following into a SQL query | The Western Oval venue has what date? | SELECT Date FROM table WHERE Venue = western oval |
Translate the following into a SQL query | What is the kickoff time for the Miami Dolphins? | SELECT Kickoff FROM table WHERE Opponent = miami dolphins |
Translate the following into a SQL query | What was the final of the New England Patriots game? | SELECT Result FROM table WHERE Opponent = new england patriots |
Translate the following into a SQL query | What is the largest attendance on august 10, 1963, and a week larger than 1? | SELECT MAX Attendance FROM table WHERE Date = august 10, 1963 AND Week > 1 |
Translate the following into a SQL query | What date was the game when the away team scored 9.5 (59)? | SELECT Date FROM table WHERE Away team score = 9.5 (59) |
Translate the following into a SQL query | Where was the game played when the home team scored 17.7 (109)? | SELECT Venue FROM table WHERE Home team score = 17.7 (109) |
Translate the following into a SQL query | What was the score of the away team when the home team was south melbourne? | SELECT Away team score FROM table WHERE Home team = south melbourne |
Translate the following into a SQL query | What is the smallest crowd at princes park? | SELECT MIN Crowd FROM table WHERE Venue = princes park |
Translate the following into a SQL query | What is the highest ranked nation with 15 silver medals and no more than 47 total? | SELECT MAX Rank FROM table WHERE Silver = 15 AND Total < 47 |
Translate the following into a SQL query | What was the highest rank by average of a couple who had an average of 25.3 and had more than 10 dances? | SELECT MAX Rank by average FROM table WHERE Average = 25.3 AND Number of dances > 10 |
Translate the following into a SQL query | What is the example with the associative type? | SELECT Example FROM table WHERE Type = associative |
Translate the following into a SQL query | What is the Suffix of the intensive and valency change of 0? | SELECT Suffix FROM table WHERE Valency change = 0 AND Type = intensive |
Translate the following into a SQL query | WHat is the Valency change of associative type? | SELECT Valency change FROM table WHERE Type = associative |
Translate the following into a SQL query | Who is the home team when hawthorn is the away side? | SELECT Home team FROM table WHERE Away team = hawthorn |
Translate the following into a SQL query | Who is the away side that scores 9.8 (62)? | SELECT Away team FROM table WHERE Away team score = 9.8 (62) |
Translate the following into a SQL query | What is the largest crowd that has the away side scoring 10.14 (74)? | SELECT MAX Crowd FROM table WHERE Away team score = 10.14 (74) |
Translate the following into a SQL query | What was the away team that played at Windy Hill? | SELECT Away team FROM table WHERE Venue = windy hill |
Translate the following into a SQL query | What was the home team at the match when the away team scored 6.14 (50)? | SELECT Home team FROM table WHERE Away team score = 6.14 (50) |
Translate the following into a SQL query | What was the away team at the match where the crowd was larger than 30,000? | SELECT Away team FROM table WHERE Crowd > 30,000 |
Translate the following into a SQL query | What is the venue when the away side scores 11.20 (86)? | SELECT Venue FROM table WHERE Away team score = 11.20 (86) |
Translate the following into a SQL query | What is the smallest crowd when richmond is away? | SELECT MIN Crowd FROM table WHERE Away team = richmond |
Translate the following into a SQL query | What is melbourne's home team score? | SELECT Home team score FROM table WHERE Home team = melbourne |
Translate the following into a SQL query | Who is the color commentator in 2008? | SELECT Color commentator(s) FROM table WHERE Year = 2008 |
Translate the following into a SQL query | Which member of the National Party is from the Hinkler electorate? | SELECT Member FROM table WHERE Party = national AND Electorate = hinkler |
Translate the following into a SQL query | Which member is from the state of SA and the grey electorate? | SELECT Member FROM table WHERE State = sa AND Electorate = grey |
Translate the following into a SQL query | In which state is the Petrie electorate? | SELECT State FROM table WHERE Electorate = petrie |
Translate the following into a SQL query | What round was the draft pick of tight end with an Overall larger than 21? | SELECT COUNT Round FROM table WHERE Position = tight end AND Overall > 21 |
Translate the following into a SQL query | Which player is a wide receiver picked in round 7? | SELECT Player FROM table WHERE Position = wide receiver AND Round = 7 |
Translate the following into a SQL query | What is the name of the running back pick? | SELECT Player FROM table WHERE Position = running back |
Translate the following into a SQL query | When did the VFL pay at Victoria Park? | SELECT Date FROM table WHERE Venue = victoria park |
Translate the following into a SQL query | When did South Melbourne play as the away team? | SELECT Date FROM table WHERE Away team = south melbourne |
Translate the following into a SQL query | What was home team Essendon's opponents score? | SELECT Away team score FROM table WHERE Home team = essendon |
Translate the following into a SQL query | What date did the home team have a score of 9.18 (72)? | SELECT Date FROM table WHERE Home team score = 9.18 (72) |
Translate the following into a SQL query | What did the away team score when the home team scored 9.18 (72)? | SELECT Away team score FROM table WHERE Home team score = 9.18 (72) |
Translate the following into a SQL query | When was The Love Eterne released? | SELECT Year FROM table WHERE Title = the love eterne |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.