instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query | How many different items appear in the enrollment column that joined in 1931, 1949 1? | SELECT COUNT Enrollment FROM table WHERE Joined = 1931, 1949 1 |
Translate the following into a SQL query | What is the location of the University that joined in 1926, 1996 2? | SELECT Location FROM table WHERE Joined = 1926, 1996 2 |
Translate the following into a SQL query | When was the earliest founded university? | SELECT MIN Founded FROM table |
Translate the following into a SQL query | What was the team standing if the won 130 goals against another team? | SELECT Standing FROM table WHERE Goals against = 130 |
Translate the following into a SQL query | What is every type for the location of Roanoke, Virginia? | SELECT Type FROM table WHERE Location = Roanoke, Virginia |
Translate the following into a SQL query | How many values for joined occur at Guilford College? | SELECT COUNT Joined FROM table WHERE Institution = Guilford College |
Translate the following into a SQL query | What is every institution with the nickname of Quakers? | SELECT Institution FROM table WHERE Nickname = Quakers |
Translate the following into a SQL query | What is every entry for football when enrollment is 998? | SELECT Football? FROM table WHERE Enrollment = 998 |
Translate the following into a SQL query | What is the least value of joined? | SELECT MIN Joined FROM table |
Translate the following into a SQL query | What is every institution with the nickname of Wildcats? | SELECT Institution FROM table WHERE Nickname = WildCats |
Translate the following into a SQL query | What is the title of the episode with production code 2alf03? | SELECT Title FROM table WHERE Production code = 2ALF03 |
Translate the following into a SQL query | What was the rank (week) for episode number 34? | SELECT Rank (week) FROM table WHERE No. = 34 |
Translate the following into a SQL query | What numbered episode had 11.96 million US viewers? | SELECT MAX No. FROM table WHERE U.S. viewers (million) = 11.96 |
Translate the following into a SQL query | How many episode numbers were directed by Steven DePaul and titled "Sudden Flight"? | SELECT COUNT # FROM table WHERE Directed by = Steven DePaul AND Title = "Sudden Flight" |
Translate the following into a SQL query | What was the ranking of episode #19? | SELECT Rank (week) FROM table WHERE # = 19 |
Translate the following into a SQL query | What was the production code of the episode ranked 28? | SELECT Production code FROM table WHERE Rank (week) = 28 |
Translate the following into a SQL query | What was the title of the episode directed by David Mamet? | SELECT Title FROM table WHERE Directed by = David Mamet |
Translate the following into a SQL query | What is the production code for the episode that had 18.07 million viewers? | SELECT Production code FROM table WHERE U.S. viewers (million) = 18.07 |
Translate the following into a SQL query | What is the weeks rank for the episode with the production code 1alf05? | SELECT MAX Rank (week) FROM table WHERE Production code = 1ALF05 |
Translate the following into a SQL query | How many air dates does the episode with 15.50 million viewers have? | SELECT COUNT Original air date FROM table WHERE U.S. viewers (million) = 15.50 |
Translate the following into a SQL query | Who wrote the episode with 18.07 million viewers? | SELECT Written by FROM table WHERE U.S. viewers (million) = 18.07 |
Translate the following into a SQL query | How many points were scored against the Toronto Rebels? | SELECT MAX Points Against FROM table WHERE Club = Toronto Rebels |
Translate the following into a SQL query | How many points did the Toronto Downtown Dingos score? | SELECT MIN Points For FROM table WHERE Club = Toronto Downtown Dingos |
Translate the following into a SQL query | How many losses does Toronto Downtown Dingos have? | SELECT Losses FROM table WHERE Club = Toronto Downtown Dingos |
Translate the following into a SQL query | What is the percentage listed for the team who scored 63 points? | SELECT Percentage FROM table WHERE Points For = 63 |
Translate the following into a SQL query | How many losses does Central Blues have? | SELECT MAX Losses FROM table WHERE Club = Central Blues |
Translate the following into a SQL query | if the estimated exposure ( mrem )/hr* is 0.28, what is the specimen weight/size? | SELECT COUNT Specimen weight/size FROM table WHERE Estimated exposure ( mRem )/hr* = 0.28 |
Translate the following into a SQL query | If the specimen weight /size is 1000 g / 8.79 cm, what is the estimated exposure ( mrem )/hr*? | SELECT Estimated exposure ( mRem )/hr* FROM table WHERE Specimen weight/size = 1000 g / 8.79 cm |
Translate the following into a SQL query | If the calculated activity (CI) is 4.96×10 −11, what is the specimen weight/size? | SELECT Specimen weight/size FROM table WHERE Calculated activity ( Ci ) = 4.96×10 −11 |
Translate the following into a SQL query | If the specimen weight/size is 1000 g / 8.79 cm, what is the calculated activity? | SELECT COUNT Calculated activity ( Bq ) FROM table WHERE Specimen weight/size = 1000 g / 8.79 cm |
Translate the following into a SQL query | If the new points were 5760, what is the RK? | SELECT Rk FROM table WHERE New points = 5760 |
Translate the following into a SQL query | How many times is player Stanislas Wawrinka on the list? | SELECT COUNT Points defending FROM table WHERE Player = Stanislas Wawrinka |
Translate the following into a SQL query | If the points won were 90 and the points defending were 45, what are the new points? | SELECT New points FROM table WHERE Points defending = 45 AND Points won = 90 |
Translate the following into a SQL query | how many time was points 6675? | SELECT COUNT Points won FROM table WHERE Points = 6675 |
Translate the following into a SQL query | What is the lowest points won from player victoria azarenka? | SELECT MIN Points won FROM table WHERE Player = Victoria Azarenka |
Translate the following into a SQL query | What is the status when sd is 15? | SELECT Status FROM table WHERE Sd = 15 |
Translate the following into a SQL query | What is the highest sd when the status is second round lost to iveta benešová? | SELECT MAX Sd FROM table WHERE Status = Second round lost to Iveta Benešová |
Translate the following into a SQL query | How many clubs were founded in the westfalenstadion stadium? | SELECT COUNT Founded FROM table WHERE Stadium = Westfalenstadion |
Translate the following into a SQL query | Which club was originally named hapoel katamon jerusalem f.c.? | SELECT Original Club FROM table WHERE Name = Hapoel Katamon Jerusalem F.C. |
Translate the following into a SQL query | How many clubs were founded in belo horizonte? | SELECT COUNT Founded FROM table WHERE City = Belo Horizonte |
Translate the following into a SQL query | Which club was originally named the newcastle falcons? | SELECT Original Club FROM table WHERE Name = Newcastle Falcons |
Translate the following into a SQL query | What is the minimum number of f/laps? | SELECT MIN F/Laps FROM table |
Translate the following into a SQL query | How many seasons have points totals of N/A? | SELECT COUNT Season FROM table WHERE Points = N/A |
Translate the following into a SQL query | What is the maximum number of wins? | SELECT MAX Wins FROM table |
Translate the following into a SQL query | How many production codes does "number one" have? | SELECT MAX Prod. code FROM table WHERE Title = "Number One" |
Translate the following into a SQL query | Who wrote "the new Ron"? | SELECT Written by FROM table WHERE Title = "The New Ron" |
Translate the following into a SQL query | How many different starts had an average finish of 17.9? | SELECT COUNT Starts FROM table WHERE Avg. Finish = 17.9 |
Translate the following into a SQL query | What were the wins of 1983? | SELECT Wins FROM table WHERE Year = 1983 |
Translate the following into a SQL query | Which episodes in season 3 were written by Mark Drop? | SELECT Season Episode # FROM table WHERE Written by = Mark Drop |
Translate the following into a SQL query | How many directors were there for season 3 episode 1? | SELECT COUNT Directed by FROM table WHERE Season Episode # = 1 |
Translate the following into a SQL query | How many times did the episode "team impossible" originally air? | SELECT COUNT Original air date FROM table WHERE Title = "Team Impossible" |
Translate the following into a SQL query | what is the number where the player was jimmy demaret | SELECT 54 holes FROM table WHERE Runner(s)-up = Jimmy Demaret |
Translate the following into a SQL query | what is the space where the next one was mike turnesa | SELECT Margin FROM table WHERE Runner(s)-up = Mike Turnesa |
Translate the following into a SQL query | what is the space where the next winner is skee riegel | SELECT Margin FROM table WHERE Runner(s)-up = Skee Riegel |
Translate the following into a SQL query | what is the old English name of Saturday? | SELECT Old English day name FROM table WHERE Modern English day name = Saturday |
Translate the following into a SQL query | how mant different day names in old English were coined from the Latin day name "dies iovis"? | SELECT COUNT Old English day name FROM table WHERE Glossed from Latin day name = Dies Iovis |
Translate the following into a SQL query | how many different meanings does Wednesday have? | SELECT COUNT English day name meaning FROM table WHERE Modern English day name = Wednesday |
Translate the following into a SQL query | what is the English meaning of the old English name "sæturnesdæg"? | SELECT English day name meaning FROM table WHERE Old English day name = Sæturnesdæg |
Translate the following into a SQL query | what is the meaning of the latin day name "dies saturni"? | SELECT Latin day name meaning FROM table WHERE Glossed from Latin day name = Dies Saturni |
Translate the following into a SQL query | Which opponents conference has the result L, 62-10? | SELECT Opponents Conference FROM table WHERE Result = L, 62-10 |
Translate the following into a SQL query | Who was the opponents head coach with the result L, 56-6? | SELECT Opponents Head Coach FROM table WHERE Result = L, 56-6 |
Translate the following into a SQL query | Who is Charleston Southerns head coach where the result is L, 56-6?- | SELECT Charleston Southerns Head Coach FROM table WHERE Result = L, 56-6 |
Translate the following into a SQL query | Who played FBS where the result was L, 62-3? | SELECT FBS Opponent FROM table WHERE Result = L, 62-3 |
Translate the following into a SQL query | When was alfred university founded? | SELECT MAX Founded FROM table WHERE Institution = Alfred University |
Translate the following into a SQL query | Name where bethany college is | SELECT Location FROM table WHERE Institution = Bethany College |
Translate the following into a SQL query | Name the location for golden tornadoes | SELECT Location FROM table WHERE Nickname = Golden Tornadoes |
Translate the following into a SQL query | Name the number of locations for geneva college | SELECT COUNT Location FROM table WHERE Institution = Geneva College |
Translate the following into a SQL query | Name the enrollment for tomcats | SELECT Enrollment FROM table WHERE Nickname = Tomcats |
Translate the following into a SQL query | How many season 4 appearances are there by Mrs. Jennifer Knight? | SELECT MIN Season 4 FROM table WHERE Character = Mrs. Jennifer Knight |
Translate the following into a SQL query | How many season 3 appearances by Morgan the Dog? | SELECT MAX Season 3 FROM table WHERE Played by = Morgan the Dog |
Translate the following into a SQL query | What episode was the first appearance of the character who appears 7 times in season 4? | SELECT First Appearance FROM table WHERE Season 4 = 7 |
Translate the following into a SQL query | How many season 3 appearances by the character played by Stefan Van Ray? | SELECT MIN Season 3 FROM table WHERE Played by = Stefan van Ray |
Translate the following into a SQL query | What is the first appearance of the character played by Obdul Reid? | SELECT First Appearance FROM table WHERE Played by = Obdul Reid |
Translate the following into a SQL query | What was the primary conference when joining the cslf for the institution that was founded in 1894 | SELECT Primary Conference when joining the CSFL FROM table WHERE Founded = 1894 |
Translate the following into a SQL query | what was the primary conference when joining the csfl for the institution that joined in 2004-05? | SELECT Primary Conference when joining the CSFL FROM table WHERE Joined = 2004-05 |
Translate the following into a SQL query | How may results had the theme inspirational? | SELECT COUNT Result FROM table WHERE Theme = Inspirational |
Translate the following into a SQL query | Which episode had Lavern Baker? | SELECT Episode FROM table WHERE Original recording artist = LaVern Baker |
Translate the following into a SQL query | What was the order # or Erma Franklin? | SELECT Order # FROM table WHERE Original recording artist = Erma Franklin |
Translate the following into a SQL query | who is the original artist for the song " rhiannon "? | SELECT Original artist FROM table WHERE Song choice = " Rhiannon " |
Translate the following into a SQL query | What is the theme for the original artist Alicia Keys? | SELECT Theme FROM table WHERE Original artist = Alicia Keys |
Translate the following into a SQL query | How many times is the original artist Alicia keys? | SELECT COUNT Result FROM table WHERE Original artist = Alicia Keys |
Translate the following into a SQL query | What is the order # for the original artist sarah mclachlan? | SELECT Order # FROM table WHERE Original artist = Sarah McLachlan |
Translate the following into a SQL query | WHat is the them for the order #2? | SELECT Theme FROM table WHERE Order # = 2 |
Translate the following into a SQL query | When pointers are the nickname what is the type? | SELECT Type FROM table WHERE Nickname = Pointers |
Translate the following into a SQL query | When falcons are the nickname what is the type? | SELECT Type FROM table WHERE Nickname = Falcons |
Translate the following into a SQL query | When 9386 is the undergraduate enrollment what is the nickname? | SELECT Nickname FROM table WHERE Undergraduate Enrollment = 9386 |
Translate the following into a SQL query | What was the choice of song where the original artist was Stevie Wonder? | SELECT Song choice FROM table WHERE Original artist = Stevie Wonder |
Translate the following into a SQL query | What was Katie's order number when the theme was The Rolling Stones? | SELECT Order # FROM table WHERE Theme = The Rolling Stones |
Translate the following into a SQL query | Who was the original artist of the chosen song when the theme was The Rolling Stones? | SELECT Original artist FROM table WHERE Theme = The Rolling Stones |
Translate the following into a SQL query | Who was the original artist of the First solo theme? | SELECT Original artist FROM table WHERE Theme = First Solo |
Translate the following into a SQL query | What is the number of song choices where the original artist was Bright Eyes? | SELECT COUNT Song choice FROM table WHERE Original artist = Bright Eyes |
Translate the following into a SQL query | Who was the original artist of the group performance theme? | SELECT Original artist FROM table WHERE Theme = Group Performance |
Translate the following into a SQL query | What is the order number of the Billboard Hot 100 Hits theme and the original artist was Sixpence None the Richer? | SELECT Order # FROM table WHERE Theme = Billboard Hot 100 Hits AND Original artist = Sixpence None the Richer |
Translate the following into a SQL query | What was the number of weeks that had a Billboard Hot 100 Hits theme, an order number of 3, and an original artist of Sixpence None the Richer? | SELECT COUNT Week # FROM table WHERE Theme = Billboard Hot 100 Hits AND Order # = 3 AND Original artist = Sixpence None the Richer |
Translate the following into a SQL query | How many joined the Warriors? | SELECT COUNT Joined FROM table WHERE Nickname = Warriors |
Translate the following into a SQL query | How many joined when the enrollment was 1150 in Sioux City, Iowa? | SELECT Joined FROM table WHERE Enrollment = 1150 AND Location = Sioux City, Iowa |
Translate the following into a SQL query | What is Briar Cliff University's nickname? | SELECT Nickname FROM table WHERE Institution = Briar Cliff University |
Translate the following into a SQL query | What is the nickname of the institution from Concordia University, Nebraska? | SELECT Nickname FROM table WHERE Institution = Concordia University, Nebraska |
Translate the following into a SQL query | Where the week # is Top 12, what is the result? | SELECT Result FROM table WHERE Week # = Top 12 |
Translate the following into a SQL query | How many results are there with the theme Group Round? | SELECT COUNT Result FROM table WHERE Theme = Group Round |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.