instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query | What is the smallest attendance number for august 9, 1968? | SELECT MIN Attendance FROM table WHERE Date = august 9, 1968 |
Translate the following into a SQL query | What was the result of the game on august 30, 1968? | SELECT Result FROM table WHERE Date = august 30, 1968 |
Translate the following into a SQL query | What is the class of the w267an call sign? | SELECT Class FROM table WHERE Call sign = w267an |
Translate the following into a SQL query | What is the lowest ERP W of the 67829 Facility ID? | SELECT MIN ERP W FROM table WHERE Facility ID = 67829 |
Translate the following into a SQL query | What is the FCC info for the call sign with a frequency MHz of 101.3, a ERP W over 10, and a Facility ID smaller than 87027? | SELECT FCC info FROM table WHERE Frequency MHz = 101.3 AND ERP W > 10 AND Facility ID < 87027 |
Translate the following into a SQL query | What was the average of the Off Reb with steals less than 8 and FTM-FTA of 16-17? | SELECT AVG Off Reb FROM table WHERE FTM-FTA = 16-17 AND Steals < 8 |
Translate the following into a SQL query | Which song released on heavenly (hvn152)? | SELECT Song FROM table WHERE Release info = heavenly (hvn152) |
Translate the following into a SQL query | Which album had a release of heavenly (hvn95)? | SELECT Album FROM table WHERE Release info = heavenly (hvn95) |
Translate the following into a SQL query | What is the sum of all the rounds when a Florida State player was drafted? | SELECT COUNT Round FROM table WHERE College = florida state |
Translate the following into a SQL query | What is the average round in which a Safety with an overall rank higher than 89 was drafted? | SELECT AVG Round FROM table WHERE Position = safety AND Overall > 89 |
Translate the following into a SQL query | Where was 2010 tournament where the United States received the silver? | SELECT Venue FROM table WHERE Silver = united states AND Year = 2010 |
Translate the following into a SQL query | Where was the tournament where Finland received the bronze and the United States received the silver? | SELECT Venue FROM table WHERE Bronze = finland AND Silver = united states |
Translate the following into a SQL query | Who received the gold at the tournament at bratislava where the Czech Republic received the silver? | SELECT Gold FROM table WHERE Silver = czech republic AND Venue = bratislava |
Translate the following into a SQL query | Where was the post 1991 tournament where the Czech Republic received the bronze and Russia received the silver? | SELECT Venue FROM table WHERE Year > 1991 AND Bronze = czech republic AND Silver = russia |
Translate the following into a SQL query | Who was the away team when the home team scored 10.12 (72)? | SELECT Away team FROM table WHERE Home team score = 10.12 (72) |
Translate the following into a SQL query | Who was the away team at the game at Kardinia Park? | SELECT Away team FROM table WHERE Venue = kardinia park |
Translate the following into a SQL query | What was the smallest crowd for a Melbourne away game? | SELECT MIN Crowd FROM table WHERE Away team = melbourne |
Translate the following into a SQL query | Who was the home team that scored 10.12 (72)? | SELECT Home team FROM table WHERE Home team score = 10.12 (72) |
Translate the following into a SQL query | What day did the team play on week 8? | SELECT Date FROM table WHERE Week = 8 |
Translate the following into a SQL query | What was the average size of the crowd for matches held at Corio Oval? | SELECT AVG Crowd FROM table WHERE Venue = corio oval |
Translate the following into a SQL query | For the match with an away team score of 16.21 (117), what was the home team score? | SELECT Home team score FROM table WHERE Away team score = 16.21 (117) |
Translate the following into a SQL query | For the match with a home team score of 11.14 (80), what was the venue? | SELECT Venue FROM table WHERE Home team score = 11.14 (80) |
Translate the following into a SQL query | What home team played against St Kilda? | SELECT Home team FROM table WHERE Away team = st kilda |
Translate the following into a SQL query | At what venue was South Melbourne the home team? | SELECT Venue FROM table WHERE Home team = south melbourne |
Translate the following into a SQL query | What was Hawthorn's score when they were the home team? | SELECT Home team score FROM table WHERE Home team = hawthorn |
Translate the following into a SQL query | At which venue did the away team score 7.7 (49)? | SELECT Venue FROM table WHERE Away team score = 7.7 (49) |
Translate the following into a SQL query | What was the home team's score when they played at Lake Oval? | SELECT Home team score FROM table WHERE Venue = lake oval |
Translate the following into a SQL query | What is the latest available income inequality for the country with a population of 21,315,135? | SELECT Income inequality 1994–2011 (latest available) FROM table WHERE Population 2011 = 21,315,135 |
Translate the following into a SQL query | What is the IEF 2011 of the country with an FSI 2012 of 99.2? | SELECT IEF 2011 FROM table WHERE FSI 2012 = 99.2 |
Translate the following into a SQL query | What is the current income inequality for the country of Seychelles? | SELECT Income inequality 1994–2011 (latest available) FROM table WHERE Country = seychelles |
Translate the following into a SQL query | What is the HDI 2011 of the country with a DI 2011 of 7.63? | SELECT HDI 2011 FROM table WHERE DI 2011 = 7.63 |
Translate the following into a SQL query | What country has an IEF 2011 of 45.3? | SELECT Country FROM table WHERE IEF 2011 = 45.3 |
Translate the following into a SQL query | What date did South Melbourne play as the Away team? | SELECT Date FROM table WHERE Away team = south melbourne |
Translate the following into a SQL query | Where did Essendon play as the home team? | SELECT Venue FROM table WHERE Home team = essendon |
Translate the following into a SQL query | What is the school or country for the guard from 2000? | SELECT School/Country FROM table WHERE Position = guard AND From = 2000 |
Translate the following into a SQL query | What is the player from the year 2000? | SELECT Player FROM table WHERE From = 2000 |
Translate the following into a SQL query | What position does the player from 2002 play? | SELECT Position FROM table WHERE From = 2002 |
Translate the following into a SQL query | What position does the player from arkansas play? | SELECT Position FROM table WHERE School/Country = arkansas |
Translate the following into a SQL query | Who is the away side at glenferrie oval? | SELECT Away team FROM table WHERE Venue = glenferrie oval |
Translate the following into a SQL query | What is the away side's score when richmond is at home? | SELECT Away team score FROM table WHERE Home team = richmond |
Translate the following into a SQL query | WHAT WAS THE HOME TEAM'S SCORE WHEN THEY HAD A CROWD GREATER THAN 20,000 AND PLAYED AGAINST COLLINGWOOD? | SELECT Home team score FROM table WHERE Crowd > 20,000 AND Away team = collingwood |
Translate the following into a SQL query | AT WHAT VENUE DID THE HOME TEAM SCORE 10.11 (71)? | SELECT Venue FROM table WHERE Home team score = 10.11 (71) |
Translate the following into a SQL query | AT WHAT VENUE DID THE HOME TEAM SCORE 10.9 (69)? | SELECT Venue FROM table WHERE Home team score = 10.9 (69) |
Translate the following into a SQL query | WHAT HOME TEAM SCORED 9.11 (65)? | SELECT Home team FROM table WHERE Home team score = 9.11 (65) |
Translate the following into a SQL query | What was the crowd size at Collingwood's match? | SELECT Crowd FROM table WHERE Home team = collingwood |
Translate the following into a SQL query | What was the crowd size at Arden Street Oval? | SELECT Crowd FROM table WHERE Venue = arden street oval |
Translate the following into a SQL query | What is the status of the match between Scotland v Northern Ireland? | SELECT Status of Match FROM table WHERE Fixture = scotland v northern ireland |
Translate the following into a SQL query | In what week was the game on August 10, 1956 played? | SELECT AVG Week FROM table WHERE Date = august 10, 1956 |
Translate the following into a SQL query | What was the attendance of the game in week 6? | SELECT Attendance FROM table WHERE Week = 6 |
Translate the following into a SQL query | In what week was the game on August 24, 1956 played in front of 40,175 fans? | SELECT MAX Week FROM table WHERE Date = august 24, 1956 AND Attendance > 40,175 |
Translate the following into a SQL query | What signal quality does the KCAL-DT channel have? | SELECT Signal Quality FROM table WHERE Station Call Letters = kcal-dt |
Translate the following into a SQL query | What original channel is associated with B Mountain Channel 9? | SELECT Original Channel FROM table WHERE B Mountain Channel = 9 |
Translate the following into a SQL query | What B Mountain Channel has station call letters of k41go? | SELECT B Mountain Channel FROM table WHERE Station Call Letters = k41go |
Translate the following into a SQL query | What Laurel Mountain Channel is associated with B Mountain Channel of 7? | SELECT Laurel Mountain Channel FROM table WHERE B Mountain Channel = 7 |
Translate the following into a SQL query | What are the translator call letters for station call letters of KCOP-DT? | SELECT Translator Call Letters FROM table WHERE Station Call Letters = kcop-dt |
Translate the following into a SQL query | What team was the away team with a score of 9.11 (65)? | SELECT Away team FROM table WHERE Away team score = 9.11 (65) |
Translate the following into a SQL query | What date was fitzroy the home team? | SELECT Date FROM table WHERE Home team = fitzroy |
Translate the following into a SQL query | What was the score for the away team when the home team was richmond? | SELECT Away team score FROM table WHERE Home team = richmond |
Translate the following into a SQL query | Who is the away team at the game at Arden Street Oval? | SELECT Away team FROM table WHERE Venue = arden street oval |
Translate the following into a SQL query | What is the venue where the home team is Footscray? | SELECT Venue FROM table WHERE Home team = footscray |
Translate the following into a SQL query | What is the venue for the game on 1 June 1929 where Richmond was the away team? | SELECT Venue FROM table WHERE Date = 1 june 1929 AND Away team = richmond |
Translate the following into a SQL query | What was the speed of the rider that earned 1 point? | SELECT Speed FROM table WHERE Points = 1 |
Translate the following into a SQL query | Which partner has fewer than 17 years on learners and a driver's age over 32? | SELECT Partner FROM table WHERE Years on learners < 17 AND Driver's Age > 32 |
Translate the following into a SQL query | What away team is playing at the Brunswick Street Oval Venue? | SELECT Away team FROM table WHERE Venue = brunswick street oval |
Translate the following into a SQL query | What date does the Home team of Richmond have? | SELECT Date FROM table WHERE Home team = richmond |
Translate the following into a SQL query | Who is the home team at Victoria Park on 20 April 1957? | SELECT Home team FROM table WHERE Date = 20 april 1957 AND Venue = victoria park |
Translate the following into a SQL query | Who is the home team at the game where the away team scored 6.14 (50)? | SELECT Home team score FROM table WHERE Away team score = 6.14 (50) |
Translate the following into a SQL query | What municipality is the Harmon Cove station located in? | SELECT Municipality FROM table WHERE Station = harmon cove |
Translate the following into a SQL query | What municipality is the Benson Street station located in? | SELECT Municipality FROM table WHERE Station = benson street |
Translate the following into a SQL query | What date shows corrado barazzutti's partner? | SELECT Date FROM table WHERE Partner = corrado barazzutti |
Translate the following into a SQL query | Which date has the tom gullikson butch walts final, and who was the runner-up? | SELECT Date FROM table WHERE Outcome = runner-up AND Opponents in the final = tom gullikson butch walts |
Translate the following into a SQL query | Who is the home team of the game against Essendon? | SELECT Home team FROM table WHERE Away team = essendon |
Translate the following into a SQL query | Who is the color commentator for ESPN from 1990 to 1992? | SELECT Color commentator(s) FROM table WHERE Network = espn |
Translate the following into a SQL query | Who was the sideline reporter prior to 1993? | SELECT Sideline reporter(s) FROM table WHERE Year < 1993 |
Translate the following into a SQL query | Who was the play by play commentator for ABC after 1998? | SELECT Play-by-play FROM table WHERE Network = abc AND Year > 1998 |
Translate the following into a SQL query | What's the earliest year that Al Michaels was the play-by-play commentator, in which Lesley Visser and Dan Fouts were also sideline reporters? | SELECT MIN Year FROM table WHERE Play-by-play = al michaels AND Sideline reporter(s) = lesley visser and dan fouts |
Translate the following into a SQL query | For how many years combined were Frank Gifford and Dan Dierdorf color commentators? | SELECT COUNT Year FROM table WHERE Color commentator(s) = frank gifford and dan dierdorf |
Translate the following into a SQL query | Which sideline reporters worked alongside Frank Gifford and Dan Dierdorf? | SELECT Sideline reporter(s) FROM table WHERE Color commentator(s) = frank gifford and dan dierdorf |
Translate the following into a SQL query | When was the Lundy withdrawn? | SELECT Withdrawn FROM table WHERE Name = lundy |
Translate the following into a SQL query | When was the locomotive named fighter command built? | SELECT Whenbuilt FROM table WHERE Name = fighter command |
Translate the following into a SQL query | Which country has a rand of 2 and a silver less than 6? | SELECT MAX Total FROM table WHERE Rank = 2 AND Silver < 6 |
Translate the following into a SQL query | What is the lowest total of medals that has a gold of 3 and a silver less than 3? | SELECT MIN Total FROM table WHERE Gold = 3 AND Silver < 3 |
Translate the following into a SQL query | What was the average size of the crowd for games where the home team had a score of 10.10 (70)? | SELECT AVG Crowd FROM table WHERE Home team score = 10.10 (70) |
Translate the following into a SQL query | What was the home team score for the game played at MCG? | SELECT Home team score FROM table WHERE Venue = mcg |
Translate the following into a SQL query | For the game played at Windy Hill, who was the away team? | SELECT Away team FROM table WHERE Venue = windy hill |
Translate the following into a SQL query | For the game where the away team was North Melbourne, what was the venue? | SELECT Venue FROM table WHERE Away team = north melbourne |
Translate the following into a SQL query | What is the Weight for the 2012 club, Victorian Tigers? | SELECT Weight FROM table WHERE 2012 club = victorian tigers |
Translate the following into a SQL query | What is the Weight for the Name Billy Miller Category:Articles with hcards? | SELECT Weight FROM table WHERE Name = billy miller category:articles with hcards |
Translate the following into a SQL query | What is the 2012 club for the Billy Miller Category:Articles with hcards (Name)? | SELECT 2012 club FROM table WHERE Name = billy miller category:articles with hcards |
Translate the following into a SQL query | How many medals did China receive? | SELECT MIN Total FROM table WHERE Nation = china |
Translate the following into a SQL query | What is the # of candidates that have a popular vote of 41.37%? | SELECT AVG # of candidates FROM table WHERE % of popular vote = 41.37% |
Translate the following into a SQL query | What is the # of candidates of liberal majority with 51 wins and larger number of 2008 in general elections? | SELECT AVG # of candidates FROM table WHERE Result = liberal majority AND # of seats won = 51 AND General election > 2008 |
Translate the following into a SQL query | How many general elections that have won smaller than 23 with candidates larger than 108? | SELECT COUNT General election FROM table WHERE # of seats won < 23 AND # of candidates > 108 |
Translate the following into a SQL query | What venue did melbourne play at as the away team? | SELECT Venue FROM table WHERE Away team = melbourne |
Translate the following into a SQL query | What was the essendon score when they were at home? | SELECT Home team score FROM table WHERE Home team = essendon |
Translate the following into a SQL query | What is the date of the game where the home team score was 7.11 (53)? | SELECT Date FROM table WHERE Home team score = 7.11 (53) |
Translate the following into a SQL query | What venue did melbourne play at as the away team? | SELECT Venue FROM table WHERE Away team = melbourne |
Translate the following into a SQL query | What Years have a Goal of 82? | SELECT Years FROM table WHERE Goals = 82 |
Translate the following into a SQL query | What is the total of overall values with a safety position in a round greater than 1? | SELECT COUNT Overall FROM table WHERE Position = safety AND Round > 1 |
Translate the following into a SQL query | What is the average overall value for a round less than 4 associated with the College of Georgia? | SELECT AVG Overall FROM table WHERE Round < 4 AND College = georgia |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.