instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query | What was the value of 1st prize when the score was 271 (-9)? | SELECT 1st Prize( $ ) FROM table WHERE Score = 271 (-9) |
Translate the following into a SQL query | What day was the score 200 (-16)? | SELECT Date FROM table WHERE Score = 200 (-16) |
Translate the following into a SQL query | Where was Outback Steakhouse Pro-AM held? | SELECT Location FROM table WHERE Tournament = Outback Steakhouse Pro-Am |
Translate the following into a SQL query | Which dates of polls occur in the Mizoram state? | SELECT Date of Polls FROM table WHERE State = Mizoram |
Translate the following into a SQL query | How many dates of polls occur in the Madhya Pradesh state? | SELECT COUNT Date of Polls FROM table WHERE State = Madhya Pradesh |
Translate the following into a SQL query | How many under the category of Against have a Difference of 11 | SELECT COUNT Against FROM table WHERE Difference = 11 |
Translate the following into a SQL query | if Against is 20 how much is Won? | SELECT Won FROM table WHERE Against = 20 |
Translate the following into a SQL query | How many Drawn does the team Portuguesa Santista have? | SELECT Drawn FROM table WHERE Team = Portuguesa Santista |
Translate the following into a SQL query | If the difference is 11 how much is for? | SELECT MAX For FROM table WHERE Difference = 11 |
Translate the following into a SQL query | How many drawn does the team Corinthians have? | SELECT Drawn FROM table WHERE Team = Corinthians |
Translate the following into a SQL query | What is the highest number won with a difference of 1? | SELECT MAX Won FROM table WHERE Difference = 1 |
Translate the following into a SQL query | What the highest position when there is 28 against? | SELECT MAX Position FROM table WHERE Against = 28 |
Translate the following into a SQL query | What is the highest number won when the number of points is 31? | SELECT MAX Won FROM table WHERE Points = 31 |
Translate the following into a SQL query | What is the smalledt position when the difference was 6? | SELECT MIN Position FROM table WHERE Difference = 6 |
Translate the following into a SQL query | How many were the show's average weekly ranking when it reached No. 2 in average nightly ranking? | SELECT COUNT Average Weekly Rank FROM table WHERE Average Nightly Rank = No. 2 |
Translate the following into a SQL query | What is the show's time slot during season 3? | SELECT Timeslot FROM table WHERE Season = 3 |
Translate the following into a SQL query | What are all the round 3's after 1982? | SELECT Round 3 FROM table WHERE From = 1982 |
Translate the following into a SQL query | What are all the round 5's where round 6 and up is double? | SELECT Round 5 FROM table WHERE Round 6+ = Double |
Translate the following into a SQL query | What is the maximum goal after 1979? | SELECT MAX Goal FROM table WHERE From = 1979 |
Translate the following into a SQL query | Name all of the february | SELECT February FROM table |
Translate the following into a SQL query | Name the junes | SELECT June FROM table |
Translate the following into a SQL query | Name the julys | SELECT July FROM table |
Translate the following into a SQL query | Name the number of februaries | SELECT COUNT February FROM table |
Translate the following into a SQL query | Name the february | SELECT February FROM table |
Translate the following into a SQL query | How many points are listed when the position is 2? | SELECT MAX Points FROM table WHERE Position = 2 |
Translate the following into a SQL query | When there is a lost of 2 what is the mumber drawn? | SELECT MAX Drawn FROM table WHERE Lost = 2 |
Translate the following into a SQL query | How many games are played? | SELECT MIN Played FROM table |
Translate the following into a SQL query | When the position is 2 what is the number lost? | SELECT MIN Lost FROM table WHERE Position = 2 |
Translate the following into a SQL query | When the team is ypiranga-sp what is the number of won games? | SELECT MIN Won FROM table WHERE Team = Ypiranga-SP |
Translate the following into a SQL query | Name the lease for when points is 19 | SELECT MIN For FROM table WHERE Points = 19 |
Translate the following into a SQL query | Name the difference for when drawn is larger than 2.0 | SELECT Difference FROM table WHERE Drawn > 2.0 |
Translate the following into a SQL query | Name the most against for minas gerais | SELECT MAX Against FROM table WHERE Team = Minas Gerais |
Translate the following into a SQL query | What is the LMS class of trains with numbers 14510-5? | SELECT LMS Class FROM table WHERE LMS nos. = 14510-5 |
Translate the following into a SQL query | What is the date of the 279 wheels? | SELECT Date FROM table WHERE Wheels = 279 |
Translate the following into a SQL query | What is the class when the LMS class is 3F? | SELECT Class FROM table WHERE LMS Class = 3F |
Translate the following into a SQL query | What is the LMS number of the trains built by G&SWR Kilmarnock? | SELECT LMS nos. FROM table WHERE Builder = G&SWR Kilmarnock |
Translate the following into a SQL query | How many figures are there for wheels for LMS numbers 16377-9? | SELECT COUNT Wheels FROM table WHERE LMS nos. = 16377-9 |
Translate the following into a SQL query | What is the builder of the train with LMS Class 3f? | SELECT Builder FROM table WHERE LMS Class = 3F |
Translate the following into a SQL query | What is the maximum number for the Saffir-Simpson category in the Carvill Hurricane Index? | SELECT MAX Saffir-Simpson Category FROM table |
Translate the following into a SQL query | What is the maximum miles per hour recorded when the CHI (Carvill Hurricane Index) is equal to 13.5 | SELECT MAX V(mph) FROM table WHERE CHI = 13.5 |
Translate the following into a SQL query | What is the CHI (Carvill Hurricane Index) when the NHC advisory number is equal to 49b? | SELECT CHI FROM table WHERE NHC Advisory Number = 49B |
Translate the following into a SQL query | What is the maximum number of miles reached in a Texas landfall when the Saffir-Simpson category is smaller than 3.0? | SELECT MAX R(miles) FROM table WHERE Landfall = Texas AND Saffir-Simpson Category < 3.0 |
Translate the following into a SQL query | What are the miles when the Carvill Hurricane Index (CHI) is equal to 9.9? | SELECT R(miles) FROM table WHERE CHI = 9.9 |
Translate the following into a SQL query | What is the Saffir-Simpson category for the hurricane named Bonnie? | SELECT Saffir-Simpson Category FROM table WHERE Name = Bonnie |
Translate the following into a SQL query | What kind of animal corresponds to the accession number xp_852505.1? | SELECT Common Name FROM table WHERE Accession Number = XP_852505.1 |
Translate the following into a SQL query | How similar is the genus/species sus scrofa? | SELECT Similarity FROM table WHERE Genus/Species = Sus scrofa |
Translate the following into a SQL query | What identities do the genus/species arabidopsis thaliana have? | SELECT Identity FROM table WHERE Genus/Species = Arabidopsis thaliana |
Translate the following into a SQL query | What's the animals name when the genus/species is rattus norvegicus? | SELECT Common Name FROM table WHERE Genus/Species = Rattus norvegicus |
Translate the following into a SQL query | For the genus/species arabidopsis thaliana, what are the lengths? | SELECT Length FROM table WHERE Genus/Species = Arabidopsis thaliana |
Translate the following into a SQL query | How many original air dates were there for episode 17? | SELECT COUNT Original air date FROM table WHERE No. in season = 17 |
Translate the following into a SQL query | When did the episode titled "Prisoners" first air? | SELECT Original air date FROM table WHERE Title = "Prisoners" |
Translate the following into a SQL query | Which company was based in London, United Kingdom? | SELECT Institution FROM table WHERE Country = London, United Kingdom |
Translate the following into a SQL query | What was the original air date of Stargate SG-1 written by Peter Deluise? | SELECT Original air date FROM table WHERE Written by = Peter DeLuise |
Translate the following into a SQL query | How many seasons did Peter Deluise direct Stargate SG-1? | SELECT MAX No. in season FROM table WHERE Directed by = Peter DeLuise |
Translate the following into a SQL query | Which number episode of season 6 was the title "Sight Unseen"? | SELECT MIN No. in season FROM table WHERE Title = "Sight Unseen" |
Translate the following into a SQL query | Name the fifth district for william womer | SELECT Fifth District FROM table WHERE Third District = William Womer |
Translate the following into a SQL query | Name the third district for christine young | SELECT Third District FROM table WHERE Fifth District = Christine Young |
Translate the following into a SQL query | Name the fourth district for joan runnels | SELECT Fourth District FROM table WHERE Second District = Joan Runnels |
Translate the following into a SQL query | Name the fourth district for beverly bodem | SELECT Fourth District FROM table WHERE First District = Beverly Bodem |
Translate the following into a SQL query | Name the number for fifth district for richard houskamp | SELECT COUNT Fifth District FROM table WHERE Third District = Richard Houskamp |
Translate the following into a SQL query | Name the fifth district for steve rudoni | SELECT Fifth District FROM table WHERE Fourth District = Steve Rudoni |
Translate the following into a SQL query | What was the top ends lost where the ends won 47? | SELECT MAX Ends Lost FROM table WHERE Ends Won = 47 |
Translate the following into a SQL query | What was the location when the stolen ends is 12 and shot pct is 77%? | SELECT Locale FROM table WHERE Stolen Ends = 12 AND Shot Pct. = 77% |
Translate the following into a SQL query | How many stolen ends were there when the locale was Sweden? | SELECT Stolen Ends FROM table WHERE Locale = Sweden |
Translate the following into a SQL query | What was the school/club team whose season was in 2012 and were acquired via trade? | SELECT School/Club Team FROM table WHERE Season = 2012 AND Acquisition via = Trade |
Translate the following into a SQL query | Which school/club team has a player named Mark Sanford? | SELECT School/Club Team FROM table WHERE Name = Mark Sanford |
Translate the following into a SQL query | How many school/club teams have a player named Manuel Luis Quezon? | SELECT COUNT Number FROM table WHERE School/Club Team = Manuel Luis Quezon |
Translate the following into a SQL query | How many players are listed for the school/club team Washington? | SELECT COUNT Name FROM table WHERE School/Club Team = Washington |
Translate the following into a SQL query | How many players with a position are listed for the 2009 season? | SELECT COUNT Position FROM table WHERE Season = 2009 |
Translate the following into a SQL query | Name the school/club for guard | SELECT School/Club Team FROM table WHERE Position = Guard |
Translate the following into a SQL query | Name the position for judy-ann ramirez | SELECT Position FROM table WHERE Name = judy-ann ramirez |
Translate the following into a SQL query | What is the losing bonus for the team with a point difference of -99? | SELECT Losing Bonus FROM table WHERE Points difference = -99 |
Translate the following into a SQL query | How many games played for teams with 277 points? | SELECT Played FROM table WHERE Points for = 277 |
Translate the following into a SQL query | How many games won for teams with 49 tries against? | SELECT Won FROM table WHERE Tries Against = 49 |
Translate the following into a SQL query | How many teams have 62 tries against? | SELECT COUNT Points difference FROM table WHERE Tries Against = 62 |
Translate the following into a SQL query | How many tries for, for club cambrian welfare rfc? | SELECT Tries For FROM table WHERE Club = Cambrian Welfare RFC |
Translate the following into a SQL query | How many teams have 21 tries for? | SELECT COUNT Points difference FROM table WHERE Tries For = 21 |
Translate the following into a SQL query | How many chassis used number 34? | SELECT COUNT Chassis FROM table WHERE No = 34 |
Translate the following into a SQL query | Who was the constructor of car 22? | SELECT Constructor FROM table WHERE No = 22 |
Translate the following into a SQL query | How many cars used number 48? | SELECT COUNT Engine FROM table WHERE No = 48 |
Translate the following into a SQL query | Who drove car 44? | SELECT Driver FROM table WHERE No = 44 |
Translate the following into a SQL query | Name the total number of years where runner-up and championship is us open | SELECT COUNT Year FROM table WHERE Outcome = Runner-up AND Championship = US Open |
Translate the following into a SQL query | Name the surfaace where outcome is runner-up and championship is us open | SELECT Surface FROM table WHERE Outcome = Runner-up AND Championship = US Open |
Translate the following into a SQL query | Name the partner for mark woodforde martina navratilova | SELECT Partner FROM table WHERE Opponents = Mark Woodforde Martina Navratilova |
Translate the following into a SQL query | Name the score for rick leach zina garrison | SELECT Score FROM table WHERE Opponents = Rick Leach Zina Garrison |
Translate the following into a SQL query | Name the swimsuit for arizona | SELECT Swimsuit FROM table WHERE State = Arizona |
Translate the following into a SQL query | Name the driver for race 2 7 | SELECT Driver FROM table WHERE Race 2 = 7 |
Translate the following into a SQL query | Name the total number of qualifiying for race 3 being 3 | SELECT COUNT Qualifying FROM table WHERE Race 3 = 3 |
Translate the following into a SQL query | Name the driver for race 2 2 | SELECT Driver FROM table WHERE Race 2 = 2 |
Translate the following into a SQL query | Name the race 1 when race 3 is 8 | SELECT Race 1 FROM table WHERE Race 3 = 8 |
Translate the following into a SQL query | Name the race 2 for james winslow | SELECT Race 2 FROM table WHERE Driver = James Winslow |
Translate the following into a SQL query | Name the total number of positions for race 1 being 2 | SELECT COUNT Pos. FROM table WHERE Race 1 = 2 |
Translate the following into a SQL query | Did the race get reported where the winning team was Newman Wachs racing and the pole belonged to Carl Skerlong | SELECT Report FROM table WHERE Pole Position = Carl Skerlong AND Winning team = Newman Wachs Racing |
Translate the following into a SQL query | Did the round 8 race get reported | SELECT Report FROM table WHERE Rd = 8 |
Translate the following into a SQL query | Which race was the winning team mathiasen motorsports and the pole belonged to jonathan bomarito | SELECT Race FROM table WHERE Winning team = Mathiasen Motorsports AND Pole Position = Jonathan Bomarito |
Translate the following into a SQL query | how many winners were in round 8 | SELECT COUNT Winning driver FROM table WHERE Rd = 8 |
Translate the following into a SQL query | How many episodes air on Wednesday at 12:00pm? | SELECT COUNT 12:00 PM FROM table WHERE Time = Wednesday |
Translate the following into a SQL query | What are the names of the episodes that airs at 2:00pm? | SELECT 02:00 PM FROM table |
Translate the following into a SQL query | What is the name of the show that airs Friday at 5:55pm? | SELECT 05:55 PM FROM table WHERE Time = Friday |
Translate the following into a SQL query | Name the 10 pm for thursday | SELECT 10:00 PM FROM table WHERE Time = Thursday |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.