instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query | What was the score in the final in 1988? | SELECT Score in Final FROM table WHERE Year = 1988 |
Translate the following into a SQL query | Name the london, great britain for 2:20:57 | SELECT London , Great Britain FROM table WHERE 2:15:25 = 2:20:57 |
Translate the following into a SQL query | Name the world record for 26 april 2009 | SELECT World record FROM table WHERE 13 April 2003 = 26 April 2009 |
Translate the following into a SQL query | Name the london great britain for championship record | SELECT London , Great Britain FROM table WHERE World record = Championship record |
Translate the following into a SQL query | Name the total number of african record | SELECT COUNT Paula Radcliffe ( GBR ) FROM table WHERE World record = African record |
Translate the following into a SQL query | Who are thebmix artists when tears for fears is artist 1 and eric prydz is artist 2? | SELECT Mix artist FROM table WHERE Artist 1 = Tears for Fears AND Artist 2 = Eric Prydz |
Translate the following into a SQL query | Which level has marvin gaye as artist 1 and david bowie as artist 2? | SELECT Level FROM table WHERE Artist 1 = Marvin Gaye AND Artist 2 = David Bowie |
Translate the following into a SQL query | Which level has grandmaster flash as artist 1? | SELECT Level FROM table WHERE Artist 1 = Grandmaster Flash |
Translate the following into a SQL query | Which level has wale as artist 1? | SELECT Level FROM table WHERE Artist 1 = Wale |
Translate the following into a SQL query | Which mix artists have shlomo as artist 1? | SELECT Mix artist FROM table WHERE Artist 1 = Shlomo |
Translate the following into a SQL query | How many season had Melgar as a champion? | SELECT COUNT Season FROM table WHERE Champion = Melgar |
Translate the following into a SQL query | What year was the season with the top scoring club being Sporting Cristal and the champion was Universitario? | SELECT Season FROM table WHERE Top scorers club = Sporting Cristal AND Champion = Universitario |
Translate the following into a SQL query | Who was in third place in the 1980 season? | SELECT Third place FROM table WHERE Season = 1980 |
Translate the following into a SQL query | Name the open cup for usl pdl for did not qualify | SELECT Open Cup FROM table WHERE League = USL PDL AND Playoffs = Did not qualify |
Translate the following into a SQL query | Name the total number of open cup for 1996 | SELECT COUNT Open Cup FROM table WHERE Year = 1996 |
Translate the following into a SQL query | Name the open cup for division finals | SELECT Open Cup FROM table WHERE Playoffs = Division Finals |
Translate the following into a SQL query | Name the position for 2.16 | SELECT Position FROM table WHERE Height (m) = 2.16 |
Translate the following into a SQL query | Name the number for 1.96 height | SELECT No FROM table WHERE Height (m) = 1.96 |
Translate the following into a SQL query | Name the height for number 7 | SELECT Height (m) FROM table WHERE No = 7 |
Translate the following into a SQL query | name the player for number 5 | SELECT Player FROM table WHERE No = 5 |
Translate the following into a SQL query | Identify every player's height in meters if the player is exactly 6' 07" tall in feet | SELECT Height (m) FROM table WHERE Height (f) = 6' 07" |
Translate the following into a SQL query | For all players playing at the center, list the height in feet. | SELECT Height (f) FROM table WHERE Position = Center |
Translate the following into a SQL query | Display the serial numbers for the players who play at the center. | SELECT No FROM table WHERE Position = Center |
Translate the following into a SQL query | What is the date of birth for basket baller called ido kozikaro | SELECT MAX Year born FROM table WHERE Player = Ido Kozikaro |
Translate the following into a SQL query | How many positions are available for players who are 6' 07"? | SELECT COUNT Position FROM table WHERE Height (f) = 6' 07" |
Translate the following into a SQL query | How tall is the basket ball player lior eliyahu in meters? | SELECT Height (m) FROM table WHERE Player = Lior Eliyahu |
Translate the following into a SQL query | What was the average score for the couple that had 4 dances? | SELECT Average FROM table WHERE Number of Dances = 4 |
Translate the following into a SQL query | How many averages were listed for the couple who had 12 dances? | SELECT COUNT Average FROM table WHERE Number of Dances = 12 |
Translate the following into a SQL query | How many total points were earned from the couple that averaged 29.0 points? | SELECT MAX Total Points Earned FROM table WHERE Average = 29.0 |
Translate the following into a SQL query | What album was the song It's going so badly on? | SELECT Album(s) FROM table WHERE Song(s) Title = It's Going So Badly |
Translate the following into a SQL query | What album was the song My Chariot on? | SELECT Album(s) FROM table WHERE Song(s) Title = My Chariot |
Translate the following into a SQL query | Who sand He's Bigfoot? | SELECT Singer(s) FROM table WHERE Song(s) Title = He's Bigfoot |
Translate the following into a SQL query | What album was the song Shimmy Jimmy from the episode titled Toy to the world on? | SELECT Album(s) FROM table WHERE Episode Title = Toy to the World AND Song(s) Title = Shimmy Jimmy |
Translate the following into a SQL query | which players have a height of 2.07m? | SELECT Player FROM table WHERE Height (m) = 2.07 |
Translate the following into a SQL query | Which clubs have players with height 2.14m? | SELECT Current Club FROM table WHERE Height (m) = 2.14 |
Translate the following into a SQL query | Which players were born in 1983 and play as forward position? | SELECT Player FROM table WHERE Year born = 1983 AND Position = Forward |
Translate the following into a SQL query | What is every current club for the player Artūrs Štālbergs? | SELECT Current Club FROM table WHERE Player = Artūrs Štālbergs |
Translate the following into a SQL query | How many players have a height of 2.07? | SELECT COUNT Player FROM table WHERE Height (m) = 2.07 |
Translate the following into a SQL query | What is the latest year born when the current club is Barons LMT? | SELECT MAX Year born FROM table WHERE Current Club = Barons LMT |
Translate the following into a SQL query | How many current clubs have the player Aigars Vitols? | SELECT COUNT Current Club FROM table WHERE Player = Aigars Vitols |
Translate the following into a SQL query | What is every year born for height of 1.88? | SELECT Year born FROM table WHERE Height (m) = 1.88 |
Translate the following into a SQL query | What is every number when the player is Aigars Vitols? | SELECT No FROM table WHERE Player = Aigars Vitols |
Translate the following into a SQL query | Name the most high schools for 31851 | SELECT MAX High schools FROM table WHERE District-wide = 31851 |
Translate the following into a SQL query | Name the most district wide for 1639 other programs | SELECT MAX District-wide FROM table WHERE Other programs & adjustments = 1639 |
Translate the following into a SQL query | Name the total number of elementary schools for 31851 | SELECT COUNT Elementary schools FROM table WHERE District-wide = 31851 |
Translate the following into a SQL query | Name the most middle schools for 2005-2006 | SELECT MAX Middle schools FROM table WHERE Year = 2005-2006 |
Translate the following into a SQL query | If the polling average in July 2009 was 7.2%, what was it in May 2009? | SELECT May 2009 FROM table WHERE Jul 2009 = 7.2% |
Translate the following into a SQL query | What was the polling average in Aug 2009 when is was 5.0% in Sep 2009? | SELECT Aug 2008 FROM table WHERE Sep 2008 = 5.0% |
Translate the following into a SQL query | How many polling percentages were there in October 2008 when is was 30.8% in Aug 2008? | SELECT COUNT Oct 2008 FROM table WHERE Aug 2008 = 30.8% |
Translate the following into a SQL query | Name the party/s when the polling percentage was 6.3% in Dec 2008. | SELECT Party FROM table WHERE Dec 2008 = 6.3% |
Translate the following into a SQL query | What was the polling percentage in Jul 2009 when the Parliament Election result of 2005 was 6.5%? | SELECT Jul 2009 FROM table WHERE Result, Parliam. election 2005 = 6.5% |
Translate the following into a SQL query | What was the polling percentage in Nov 2008 when it was 1.7% in Aug 2008? | SELECT Nov 2008 FROM table WHERE Aug 2008 = 1.7% |
Translate the following into a SQL query | What is the week 32 result when week 33 is 31.9%? | SELECT Week 32 FROM table WHERE Week 33 = 31.9% |
Translate the following into a SQL query | List all week 37 results when week 33 is 14.3%. | SELECT Week 37 FROM table WHERE Week 33 = 14.3% |
Translate the following into a SQL query | List the full amount of week 36 results when week 32 is 13.2%. | SELECT COUNT Week 36 FROM table WHERE Week 32 = 13.2% |
Translate the following into a SQL query | On what year was the local government area with a surface of 4563 square kilometers established? | SELECT Est. FROM table WHERE Land Area (km²) = 4563 |
Translate the following into a SQL query | Which major town is located within the Outback Areas Community Development Trust? | SELECT Major Town FROM table WHERE Local Government Area = Outback Areas Community Development Trust |
Translate the following into a SQL query | How many towns exist on the government area with a surface of 110 square kilometers? | SELECT MIN Towns FROM table WHERE Land Area (km²) = 110 |
Translate the following into a SQL query | What type of local government area is Yalata? | SELECT Type FROM table WHERE Local Government Area = Yalata |
Translate the following into a SQL query | What was the 2006 population count of the local government area where Coober Pedy is located? | SELECT Pop. 2006 FROM table WHERE Major Town = Coober Pedy |
Translate the following into a SQL query | During what week was the game attended by 20114 people? | SELECT MAX Week FROM table WHERE Attendance = 20114 |
Translate the following into a SQL query | What was the record in game played on July 28? | SELECT Record FROM table WHERE Date = July 28 |
Translate the following into a SQL query | What was the record in the game against Eskimos? | SELECT Record FROM table WHERE Opponent = Eskimos |
Translate the following into a SQL query | Whose WSOP earnings were $36,372? | SELECT Name FROM table WHERE WSOP earnings = $36,372 |
Translate the following into a SQL query | The person who had 0 WSOP earnings had how man WSOP cashes? | SELECT WSOP cashes FROM table WHERE WSOP earnings = 0 |
Translate the following into a SQL query | Who had 2 WSOP cashes and was 6th in final place? | SELECT Name FROM table WHERE WSOP cashes = 2 AND Final place = 6th |
Translate the following into a SQL query | What is the smallest amount of WSOP bracelets anyone had? | SELECT MIN WSOP bracelets FROM table |
Translate the following into a SQL query | The person who had $126,796 WSOP earnings had how many WSOP cashes? | SELECT WSOP cashes FROM table WHERE WSOP earnings = $126,796 |
Translate the following into a SQL query | What is the high 10 profile number when the high profile is 80? | SELECT MAX High 10 Profile FROM table WHERE High Profile = 80 |
Translate the following into a SQL query | What is the baseline extended and main profiles when level is 1.3? | SELECT MIN Baseline, Extended and Main Profiles FROM table WHERE Level = 1.3 |
Translate the following into a SQL query | What level has 11880 macroblocks and high 10 profile is 6000? | SELECT Level FROM table WHERE Macroblocks/s = 11880 AND High 10 Profile = 6000 |
Translate the following into a SQL query | What are the luma samples at level 1.3? | SELECT Luma samples/s FROM table WHERE Level = 1.3 |
Translate the following into a SQL query | What is the high 10 profile when high profile is 160? | SELECT High 10 Profile FROM table WHERE High Profile = 160 |
Translate the following into a SQL query | What is the original air date if the ratings is 1.92 million? | SELECT Original air date FROM table WHERE Ratings (millions) = 1.92 |
Translate the following into a SQL query | What is the name of the writer when the ratings was 2.61 million? | SELECT Writer FROM table WHERE Ratings (millions) = 2.61 |
Translate the following into a SQL query | What date did the episode "the killing (part two)" originally air? | SELECT Originalairdate FROM table WHERE Title = "The Killing (part two)" |
Translate the following into a SQL query | Who directed the episode written by Tony O'Grady (pseudonym of brian clemens)? | SELECT Directed by FROM table WHERE Written by = Tony O'Grady (pseudonym of Brian Clemens) |
Translate the following into a SQL query | What is the production number for episode 23? | SELECT MIN Prod # FROM table WHERE Episode # = 23 |
Translate the following into a SQL query | What month and year was "storm warning (part one)" filmed? | SELECT Filmed FROM table WHERE Title = "Storm Warning (part one)" |
Translate the following into a SQL query | What is the colloquial translation of (s)he will sing? | SELECT Romanian (colloquial) FROM table WHERE English = (s)he will sing |
Translate the following into a SQL query | What was the date of the game played in El Paso, Texas? | SELECT Date FROM table WHERE City = El Paso, Texas |
Translate the following into a SQL query | How many different matchup/results appear in San Diego, California? | SELECT COUNT Matchup/Results FROM table WHERE City = San Diego, California |
Translate the following into a SQL query | How many different items appear in the television column when the results where Iowa State 14, Minnesota 13? | SELECT COUNT Television FROM table WHERE Matchup/Results = Iowa State 14, Minnesota 13 |
Translate the following into a SQL query | How many different items appear in he attendance column at Sun Devil Stadium? | SELECT COUNT Attendance FROM table WHERE Stadium = Sun Devil Stadium |
Translate the following into a SQL query | In what bowl game was the result Oklahoma 31, Stanford 27? | SELECT Bowl Game FROM table WHERE Matchup/Results = Oklahoma 31, Stanford 27 |
Translate the following into a SQL query | What was the television that was dated December 28, 2009? | SELECT Television FROM table WHERE Date = December 28, 2009 |
Translate the following into a SQL query | Which rank has a 2009 revenue of $296,000,000? | SELECT Rank FROM table WHERE 2009 Revenue = $296,000,000 |
Translate the following into a SQL query | Which country has doosan infracore as then company name? | SELECT Country FROM table WHERE Company Name = Doosan Infracore |
Translate the following into a SQL query | How many north american brands have world headquarters in sagamihara? | SELECT COUNT North American Brands FROM table WHERE World Headquarters = Sagamihara |
Translate the following into a SQL query | Which company name has headquarters in nagaokakyo, kyoto? | SELECT Company Name FROM table WHERE World Headquarters = Nagaokakyo, Kyoto |
Translate the following into a SQL query | Which company name has a 2008 rank of n/a? | SELECT COUNT Company Name FROM table WHERE 2008 Rank = N/A |
Translate the following into a SQL query | what is the bore where the vehicle code is t214? | SELECT Bore (mm) FROM table WHERE Vehicle code = T214 |
Translate the following into a SQL query | what is the compression ratio whre the torque is 208? | SELECT Compression ratio FROM table WHERE Torque (N m) = 208 |
Translate the following into a SQL query | what is the vehicle code where the bore is 79.4? | SELECT Vehicle code FROM table WHERE Bore (mm) = 79.4 |
Translate the following into a SQL query | what is the stroke where the vehicle code is t211? | SELECT Stroke (mm) FROM table WHERE Vehicle code = T211 |
Translate the following into a SQL query | What was the rating/share for 18-49 for the episode that had 5.90 million viewers? | SELECT Rating/share (18-49) FROM table WHERE Viewers (millions) = 5.90 |
Translate the following into a SQL query | What was the title of episode 3? | SELECT Episode FROM table WHERE No. = 3 |
Translate the following into a SQL query | What number episode had a rating of 4.7? | SELECT MIN No. FROM table WHERE Rating = 4.7 |
Translate the following into a SQL query | What was the share for the "Lisa Kudrow" episode? | SELECT MIN Share FROM table WHERE Episode = "Lisa Kudrow" |
Translate the following into a SQL query | What was the rating for the episode that had 5.90 million viewers? | SELECT Rating FROM table WHERE Viewers (millions) = 5.90 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.