instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query | What is the max pop of 2008 for selfoss? | SELECT MAX Population 2008-07-01 FROM table WHERE Administrative centre = Selfoss |
Translate the following into a SQL query | When the # is 4, what is the pop./ kmΒ²? | SELECT Pop./ kmΒ² FROM table WHERE # = 4 |
Translate the following into a SQL query | Name the player for l apps for 17 | SELECT Player FROM table WHERE L Apps = 17 |
Translate the following into a SQL query | Name the least total apps for jaime | SELECT MIN Total Apps FROM table WHERE Player = Jaime |
Translate the following into a SQL query | Name the total number of lg for cg is larger than 1.0 for c apps is 3 | SELECT COUNT L G FROM table WHERE C G > 1.0 AND C Apps = 3 |
Translate the following into a SQL query | If the runner-up is [[|]] 151/8 (50.0 overs), what were the results? | SELECT Result FROM table WHERE Runner-up = [[|]] 151/8 (50.0 overs) |
Translate the following into a SQL query | What is the name of the host nations if the winner was Hong Kong 207/6 (47.1 overs)? | SELECT Host Nation(s) FROM table WHERE Winner = Hong Kong 207/6 (47.1 overs) |
Translate the following into a SQL query | If the winner is Hong Kong 207/6 (47.1 overs), what is the name of the hosting nation? | SELECT Host Nation(s) FROM table WHERE Winner = Hong Kong 207/6 (47.1 overs) |
Translate the following into a SQL query | If the results are Kuwait won by 72 runs scorecard, what are the details? | SELECT Details FROM table WHERE Result = Kuwait won by 72 runs Scorecard |
Translate the following into a SQL query | Who was the winner if the final venue is Kowloon Cricket Club? | SELECT Winner FROM table WHERE Final Venue = Kowloon Cricket Club |
Translate the following into a SQL query | How many u.s. viewers (million) have a series # 83? | SELECT U.S. viewers (millions) FROM table WHERE Series # = 83 |
Translate the following into a SQL query | How many u.s. viewers (millions) have 5 as the season #? | SELECT U.S. viewers (millions) FROM table WHERE Season # = 5 |
Translate the following into a SQL query | How many written by have wendey stanzler as the director? | SELECT COUNT Written by FROM table WHERE Directed by = Wendey Stanzler |
Translate the following into a SQL query | What is the original air date where tracy poust & jon kinnally was written by? | SELECT Original air date FROM table WHERE Written by = Tracy Poust & Jon Kinnally |
Translate the following into a SQL query | Who is the written by when mark worthington is the director? | SELECT Written by FROM table WHERE Directed by = Mark Worthington |
Translate the following into a SQL query | Who got the best male record when best female mc is tino baby & 5'6"? | SELECT Best Male Record FROM table WHERE Best Female MC = Tino Baby & 5'6" |
Translate the following into a SQL query | In 1976, who was the reporter for the Belmont Stakes? | SELECT Reporters FROM table WHERE Year = 1976 |
Translate the following into a SQL query | Who called the race in 1978? | SELECT Race caller FROM table WHERE Year = 1978 |
Translate the following into a SQL query | For the race called by Marshall Cassidy, who was the host? | SELECT s Host FROM table WHERE Race caller = Marshall Cassidy |
Translate the following into a SQL query | Who were the reporters for the 1977 Belmont Stakes? | SELECT Reporters FROM table WHERE Year = 1977 |
Translate the following into a SQL query | Who called the race in 1998? | SELECT Race caller FROM table WHERE Year = 1998 |
Translate the following into a SQL query | Who was ranked in the same position in 1991-1992 as Drew Kachtik in 1993-1994? | SELECT 1991β1992 FROM table WHERE 1993β1994 = Drew Kachtik |
Translate the following into a SQL query | Who was ranked in the same position in 1991-1992 as Tim Doyle in 1994-1995? | SELECT 1991β1992 FROM table WHERE 1994β1995 = Tim Doyle |
Translate the following into a SQL query | In what position was Mike Ray ranked in 1993-1994? | SELECT MIN Position FROM table WHERE 1993β1994 = Mike Ray |
Translate the following into a SQL query | Who was ranked in the same position in 1990-1991 as Andy Roberts in 1993-1994? | SELECT 1990β1991 FROM table WHERE 1993β1994 = Andy Roberts |
Translate the following into a SQL query | Who was ranked in the same position in 1990-1991 as Drew Kachtik in 1993-1994? | SELECT 1990β1991 FROM table WHERE 1993β1994 = Drew Kachtik |
Translate the following into a SQL query | What position was Drew Kachtik ranked at in 1993-1994? | SELECT MAX Position FROM table WHERE 1993β1994 = Drew Kachtik |
Translate the following into a SQL query | who was position 3 in 2007-2008? | SELECT 2007β2008 FROM table WHERE Position = 3 |
Translate the following into a SQL query | what is the total number of 2006-2007 and 2007-2008 for jack huczek? | SELECT COUNT 2006β2007 FROM table WHERE 2007β2008 = Jack Huczek |
Translate the following into a SQL query | what isthe total number of seasons for chris crowther? | SELECT COUNT 2009β2010 FROM table WHERE 2006β2007 = Chris Crowther |
Translate the following into a SQL query | what is the position for chris crowther in 2006-2007? | SELECT Position FROM table WHERE 2006β2007 = Chris Crowther |
Translate the following into a SQL query | What was the standing when goal against were 279? | SELECT Standing FROM table WHERE Goals against = 279 |
Translate the following into a SQL query | What is the winning pct % if the goal for are 229? | SELECT Winning Pct. % FROM table WHERE Goals for = 229 |
Translate the following into a SQL query | What was the winning % when there were 322 goals? | SELECT Winning Pct. % FROM table WHERE Goals for = 322 |
Translate the following into a SQL query | Name the year for willie goggin | SELECT Year FROM table WHERE Runner(s)-up = Willie Goggin |
Translate the following into a SQL query | Name the margin for 4 shot deficit | SELECT Margin FROM table WHERE 54 holes = 4 shot deficit |
Translate the following into a SQL query | Name the winning score for pga championship | SELECT Winning score FROM table WHERE Championship = PGA Championship |
Translate the following into a SQL query | Name the runners up for 1 shot deficit | SELECT Runner(s)-up FROM table WHERE 54 holes = 1 shot deficit |
Translate the following into a SQL query | Name the least year for walter hagen | SELECT MIN Year FROM table WHERE Runner(s)-up = Walter Hagen |
Translate the following into a SQL query | What was the score in the final where one of the opponents in the final was fitzgerald vilas? | SELECT Score in the final FROM table WHERE Opponents in the final = Fitzgerald Vilas |
Translate the following into a SQL query | What was the surface for the opponents in the final with fitzgerald vilas? | SELECT Surface FROM table WHERE Opponents in the final = Fitzgerald Vilas |
Translate the following into a SQL query | Who were the opponents in the final where the score in the final is 6β4, 7β6 2? | SELECT Opponents in the final FROM table WHERE Score in the final = 6β4, 7β6 2 |
Translate the following into a SQL query | What was the partner count when the opponents in the final was forget leconte? | SELECT COUNT Partner FROM table WHERE Opponents in the final = Forget Leconte |
Translate the following into a SQL query | What was the year date when one of the opponents in the final was bahrami leconte and score in the final is 7β6 2 , 6β1? | SELECT MIN Year FROM table WHERE Opponents in the final = Bahrami Leconte AND Score in the final = 7β6 2 , 6β1 |
Translate the following into a SQL query | Name the number of year for score being 6β3, 6β2, 6β4 | SELECT COUNT Year FROM table WHERE Score in the final = 6β3, 6β2, 6β4 |
Translate the following into a SQL query | Name the surface for 6β0, 6β3 | SELECT Surface FROM table WHERE Score in the final = 6β0, 6β3 |
Translate the following into a SQL query | Name the championship for peter mcnamara | SELECT Championship FROM table WHERE Opponent in the final = Peter McNamara |
Translate the following into a SQL query | Name the championship for 1980 hard surface | SELECT Championship FROM table WHERE Year = 1980 AND Surface = Hard |
Translate the following into a SQL query | If the team is Billy Ballew Motorsports, what is the race time? | SELECT Race Time FROM table WHERE Team = Billy Ballew Motorsports |
Translate the following into a SQL query | What was the date if the driver was Robert Pressley? | SELECT Date FROM table WHERE Driver = Robert Pressley |
Translate the following into a SQL query | If the race time is 2:00:33, what is the average speed? | SELECT Average Speed (mph) FROM table WHERE Race Time = 2:00:33 |
Translate the following into a SQL query | Who is every entry for 1981-82 when 1984-85 is Marci Drexler? | SELECT 1981-82 FROM table WHERE 1984-85 = Marci Drexler |
Translate the following into a SQL query | What is every entry for 1980-81 when 1984-85 is Liz Alvarado? | SELECT 1980-81 FROM table WHERE 1984-85 = Liz Alvarado |
Translate the following into a SQL query | What is every entry for 1980-81 when 1983-84 is Caryn McKinney? | SELECT 1980-81 FROM table WHERE 1983-84 = Caryn McKinney |
Translate the following into a SQL query | What is every entry for 1980-81 when 1983-84 is Heather McKay? | SELECT 1980-81 FROM table WHERE 1983-84 = Heather McKay |
Translate the following into a SQL query | What is every entry for 1982-83 for rank 1? | SELECT 1982-83 FROM table WHERE Rank = 1 |
Translate the following into a SQL query | How many entries for 1983-84 when 1984-85 is Terri Gilreath? | SELECT COUNT 1983-84 FROM table WHERE 1984-85 = Terri Gilreath |
Translate the following into a SQL query | How many heights are listed for Jesse Holley in the WR position? | SELECT COUNT Height FROM table WHERE Position = WR AND Name = Jesse Holley |
Translate the following into a SQL query | What is the result for Wisconsin? | SELECT Result FROM table WHERE College = Wisconsin |
Translate the following into a SQL query | What is the result for Steve Gonzalez? | SELECT Result FROM table WHERE Name = Steve Gonzalez |
Translate the following into a SQL query | What are the positions for Menlo College? | SELECT Position FROM table WHERE College = Menlo College |
Translate the following into a SQL query | If the distribution mechanism is the Microsoft website and the security issues id 98-004, what are all of the features? | SELECT Features FROM table WHERE Security issues = 98-004 AND Distribution mechanism = Microsoft website |
Translate the following into a SQL query | With the distribution mechanism of Microsoft website and the security issues of 98-004, what is the version? | SELECT Version FROM table WHERE Security issues = 98-004 AND Distribution mechanism = Microsoft website |
Translate the following into a SQL query | If the security issues is 99-025 and the distribution mechanism is the Microsoft website, what is the release date total number? | SELECT COUNT Release date FROM table WHERE Security issues = 99-025 AND Distribution mechanism = Microsoft website |
Translate the following into a SQL query | With the version of 1.5a, what is the release date? | SELECT Release date FROM table WHERE Version = 1.5a |
Translate the following into a SQL query | If the distribution mechanism is windows nt 4.0 option pack Microsoft office 97 and the features is service release, what is the version? | SELECT Version FROM table WHERE Features = Service release AND Distribution mechanism = Windows NT 4.0 Option Pack Microsoft Office 97 |
Translate the following into a SQL query | If the version is 1.5b, what is the distribution mechanism? | SELECT Distribution mechanism FROM table WHERE Version = 1.5b |
Translate the following into a SQL query | How many locations are listed for the winner Temple? | SELECT COUNT Tournament Venue (City) FROM table WHERE Tournament Winner = Temple |
Translate the following into a SQL query | How many locations are listed for the Big 12 Conference? | SELECT COUNT Tournament Venue (City) FROM table WHERE Conference = Big 12 Conference |
Translate the following into a SQL query | Who had the best regular season in the contest won by Arkansas-Pine Bluff? | SELECT Regular Season Winner FROM table WHERE Tournament Winner = Arkansas-Pine Bluff |
Translate the following into a SQL query | How old was the official with Chinese name ε«ζζ? | SELECT age at appointment FROM table WHERE Chinese name = ε«ζζ |
Translate the following into a SQL query | What's ζ’ζθ©©'s romanised name? | SELECT Romanised name FROM table WHERE Chinese name = ζ’ζθ©© |
Translate the following into a SQL query | What's the romanised name of the official who was Secretary for health, welfare and food? | SELECT Romanised name FROM table WHERE Portfolio = Secretary for Health, Welfare and Food |
Translate the following into a SQL query | What was Anthony Leung Kam-Chung previous position? | SELECT Portfolio FROM table WHERE Romanised name = Anthony Leung Kam-chung |
Translate the following into a SQL query | List all high rebound entries from May 11. | SELECT High rebounds FROM table WHERE Date = May 11 |
Translate the following into a SQL query | How many games were there on May 1? | SELECT COUNT Game FROM table WHERE Date = May 1 |
Translate the following into a SQL query | List all high assists in series 2-3. | SELECT High assists FROM table WHERE Series = 2-3 |
Translate the following into a SQL query | How many games were played on May 11? | SELECT COUNT Game FROM table WHERE Date = May 11 |
Translate the following into a SQL query | Name the score for chicago bulls | SELECT Score FROM table WHERE Team = Chicago Bulls |
Translate the following into a SQL query | Name the location attendance for 22-8 | SELECT Location Attendance FROM table WHERE Record = 22-8 |
Translate the following into a SQL query | Name the high points for mo williams , lebron james , j.j. hickson (6) | SELECT COUNT High points FROM table WHERE High rebounds = Mo Williams , LeBron James , J.J. Hickson (6) |
Translate the following into a SQL query | Name the high assists for december 13 | SELECT High assists FROM table WHERE Date = December 13 |
Translate the following into a SQL query | What value can you find under the column "august 21-22" and the row of June 11, 1983? | SELECT August 21-22 FROM table WHERE June 10-11 = June 11, 1983 |
Translate the following into a SQL query | What was the location and attendance for the game against the team with a 51-15 record with the Cavaliers? | SELECT Location Attendance FROM table WHERE Record = 51-15 |
Translate the following into a SQL query | How many scores are associated with a record of 27-9? | SELECT COUNT Score FROM table WHERE Record = 27-9 |
Translate the following into a SQL query | How many games are associated with a record of 29-10? | SELECT COUNT Game FROM table WHERE Record = 29-10 |
Translate the following into a SQL query | Name the team for record 3-2 | SELECT Team FROM table WHERE Record = 3-2 |
Translate the following into a SQL query | Name the date for lebron james , mo williams (21) | SELECT Date FROM table WHERE High points = LeBron James , Mo Williams (21) |
Translate the following into a SQL query | Name the high points for record 9-4 | SELECT High points FROM table WHERE Record = 9-4 |
Translate the following into a SQL query | Name the total number of date for l 85β86 (ot) | SELECT COUNT Date FROM table WHERE Score = L 85β86 (OT) |
Translate the following into a SQL query | Name the network for 2007 total | SELECT COUNT Network FROM table WHERE Year = 2007 |
Translate the following into a SQL query | Name the analysts | SELECT s Analyst FROM table |
Translate the following into a SQL query | What was the result for a partnering of Frederica Piedade? | SELECT Result FROM table WHERE Partnering = Frederica Piedade |
Translate the following into a SQL query | Which round has a win-loss result of loss and an edition of 2012 Fed Cup Europe/Africa Group I? | SELECT Round FROM table WHERE WβL = Loss AND Edition = 2012 Fed Cup Europe/Africa Group I |
Translate the following into a SQL query | Name the manufacturer for cale yarborough for 1984 | SELECT Manufacturer FROM table WHERE Driver = Cale Yarborough AND Year = 1984 |
Translate the following into a SQL query | Name the report for 2003 | SELECT Report FROM table WHERE Year = 2003 |
Translate the following into a SQL query | What is the date opened if thedistrict ID is 11901? | SELECT Date opened FROM table WHERE Dist. ID = 11901 |
Translate the following into a SQL query | If the district name is the Academy of Flint, what is the authorizing agency? | SELECT Authorizing agency FROM table WHERE District name = Academy of Flint |
Translate the following into a SQL query | If the district ID is 74907, what is the name of the district? | SELECT District name FROM table WHERE Dist. ID = 74907 |
Translate the following into a SQL query | If the name of the district is the Charyl Stockwell Academy, what is the county name? | SELECT County FROM table WHERE District name = Charyl Stockwell Academy |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.