instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query | Name the season for rotherham titans | SELECT Season FROM table WHERE Promoted from League = Rotherham Titans |
Translate the following into a SQL query | Name the name for plymouth albion orrell | SELECT Name FROM table WHERE Promoted to League = Plymouth Albion Orrell |
Translate the following into a SQL query | What's the tail number of the airplane involved in the accident described as crashed? | SELECT Tail number FROM table WHERE Brief description = Crashed |
Translate the following into a SQL query | How many different brief descriptions are there for crashes with 0/161 fatalities? | SELECT COUNT Brief description FROM table WHERE Fatalities = 0/161 |
Translate the following into a SQL query | When did the airplane with tail number RA-85282 crash? | SELECT date (dd.mm.yyyy) FROM table WHERE Tail number = RA-85282 |
Translate the following into a SQL query | How many fatalities were there in the crash described as ditched 300 m short of runway? | SELECT Fatalities FROM table WHERE Brief description = Ditched 300 m short of runway |
Translate the following into a SQL query | How many fatalities were there in the crash described as crashed at take-off due to engine failure? | SELECT Fatalities FROM table WHERE Brief description = Crashed at take-off due to engine failure |
Translate the following into a SQL query | What class year was Vencie Glenn from? | SELECT MIN Class Year FROM table WHERE Player = Vencie Glenn |
Translate the following into a SQL query | What position did the player whose highlights were 5 career INTs play? | SELECT Position FROM table WHERE Highlight(s) = 5 Career INTs |
Translate the following into a SQL query | What class year was the player whose highlights were 35 career INTs from? | SELECT MIN Class Year FROM table WHERE Highlight(s) = 35 Career INTs |
Translate the following into a SQL query | What class year was the player who played for Buffalo from? | SELECT MIN Class Year FROM table WHERE Teams = Buffalo |
Translate the following into a SQL query | Name the gore number for others # 6.6% | SELECT MIN Gore # FROM table WHERE Others # = 6.6% |
Translate the following into a SQL query | Name the others % for bush number 1372 | SELECT Others % FROM table WHERE Bush # = 1372 |
Translate the following into a SQL query | Name the gore number for others % being 5.3% | SELECT Gore # FROM table WHERE Others % = 5.3% |
Translate the following into a SQL query | Name the couty for others% 5.8 | SELECT County FROM table WHERE Others % = 5.8 |
Translate the following into a SQL query | Name the number of bush % for elko | SELECT COUNT Bush % FROM table WHERE County = Elko |
Translate the following into a SQL query | If the series is ADAC GT Masters and poles is 1, what is the name of the team? | SELECT Team FROM table WHERE Poles = 1 AND Series = ADAC GT Masters |
Translate the following into a SQL query | If the position of 26th what is the season total number? | SELECT COUNT Season FROM table WHERE Position = 26th |
Translate the following into a SQL query | If the points is 41, what is the season? | SELECT Season FROM table WHERE Points = 41 |
Translate the following into a SQL query | If the primary (South) winners is Inter The Bloomfield, what is the season total number? | SELECT COUNT Season FROM table WHERE Primary (South) Winners = Inter The Bloomfield |
Translate the following into a SQL query | What is the season total number if the primary (South) winners is Ridings High 'A'? | SELECT COUNT Season FROM table WHERE Primary (South) Winners = Ridings High 'A' |
Translate the following into a SQL query | What is the year of the season if the intermediate (South) winners is Southmead Athletic? | SELECT Season FROM table WHERE Intermediate (South) Winners = Southmead Athletic |
Translate the following into a SQL query | What is the season date if the minor (South) winners is Bristol Sanctuary XI? | SELECT Season FROM table WHERE Minor (South) Winners = Bristol Sanctuary XI |
Translate the following into a SQL query | What isthe minor (South) winners total number is the primary (South) winners is Mendip Gate? | SELECT COUNT Minor (South) Winners FROM table WHERE Primary (South) Winners = Mendip Gate |
Translate the following into a SQL query | What area was damaged when King Khalid Military City was targeted? | SELECT Area damaged FROM table WHERE Target = King Khalid Military City |
Translate the following into a SQL query | What was the place and date that the Apartments area was damaged? | SELECT Place & date FROM table WHERE Area damaged = Apartments area |
Translate the following into a SQL query | Was the missile intercepted by patriot when the parking lot was damaged? | SELECT Intercepted by Patriot FROM table WHERE Area damaged = Parking lot |
Translate the following into a SQL query | What number missile led to damage to the Islamic University campus? | SELECT MIN No. FROM table WHERE Area damaged = Islamic University campus |
Translate the following into a SQL query | Name the number of year for mark martin | SELECT COUNT Year FROM table WHERE Driver = Mark Martin |
Translate the following into a SQL query | Name the number of year for june 30 | SELECT COUNT Year FROM table WHERE Date = June 30 |
Translate the following into a SQL query | What is the model number for part numbers of cm80616003177acbx80616i5660? | SELECT Model number FROM table WHERE Part number(s) = CM80616003177ACBX80616I5660 |
Translate the following into a SQL query | What is every release price(USD) for model number core i5-650? | SELECT Release price ( USD ) FROM table WHERE Model number = Core i5-650 |
Translate the following into a SQL query | How many frequencies have a model number of core i5-655k? | SELECT COUNT Frequency FROM table WHERE Model number = Core i5-655K |
Translate the following into a SQL query | What is every part number with model number core i5-670? | SELECT Part number(s) FROM table WHERE Model number = Core i5-670 |
Translate the following into a SQL query | What is the record for Big Ten Team #4 Purdue? | SELECT Winner FROM table WHERE Big Ten Team = #4 Purdue |
Translate the following into a SQL query | Name the avg start for avg finish being 24.2 | SELECT Avg. Start FROM table WHERE Avg. Finish = 24.2 |
Translate the following into a SQL query | Name the year for avg start being 22.4 | SELECT Year FROM table WHERE Avg. Start = 22.4 |
Translate the following into a SQL query | How many KEI catagories are listed when the economic incentive regime is 2.56? | SELECT COUNT KEI FROM table WHERE Economic Incentive Regime = 2.56 |
Translate the following into a SQL query | What is the innovation when the economic incentive grime is 7.14? | SELECT Innovation FROM table WHERE Economic Incentive Regime = 7.14 |
Translate the following into a SQL query | What is the education in Nepal? | SELECT Education FROM table WHERE Country = Nepal |
Translate the following into a SQL query | What is the 2008 rank of Djibouti? | SELECT 2008 Rank FROM table WHERE Country = Djibouti |
Translate the following into a SQL query | What is the ICT when education is 1.73 and KI is ag 1.99? | SELECT ICT FROM table WHERE Education = 1.73 AND KI = 1.99 |
Translate the following into a SQL query | What is the education when the economic incentive regime is 1.58? | SELECT Education FROM table WHERE Economic Incentive Regime = 1.58 |
Translate the following into a SQL query | How many thousands of viewers tuned in for "Make Mad the Guilty and Appal the Free"? | SELECT N.Z. viewers (thousand) FROM table WHERE Title = "Make Mad the Guilty and Appal the Free" |
Translate the following into a SQL query | When did "Follow Her Close" air? | SELECT Original air date FROM table WHERE Title = "Follow Her Close" |
Translate the following into a SQL query | What was the air date of the episod that had 456.58 thousand viewers? | SELECT Original air date FROM table WHERE N.Z. viewers (thousand) = 456.58 |
Translate the following into a SQL query | What season had a winning profit of $15,000? | SELECT Season FROM table WHERE Winning profit ( AUD ) = $15,000 |
Translate the following into a SQL query | How many series premieres did the season "All-stars" have? | SELECT COUNT Series premiere FROM table WHERE Season = All-Stars |
Translate the following into a SQL query | Name the erin and jake for week 4 | SELECT Erin and Jake FROM table WHERE Week = 4 |
Translate the following into a SQL query | when the number of spectator are 5.28 millions, which is the smallest number of the episode in series? | SELECT MIN No. in series FROM table WHERE Viewers (millions) = 5.28 |
Translate the following into a SQL query | which is the biggest number of episode in the season, where the number of the episode in series is 20? | SELECT MAX No. in season FROM table WHERE No. in series = 20 |
Translate the following into a SQL query | what is the name of the episode when the number of spectators was 5.60 millions? | SELECT Title FROM table WHERE Viewers (millions) = 5.60 |
Translate the following into a SQL query | how many millions of spectator did has the episode whose prod.code was rp#213? | SELECT Viewers (millions) FROM table WHERE Prod. code = RP#213 |
Translate the following into a SQL query | which is the biggest number of episode in the season, when the director of the episode was Constantine Makris? | SELECT MAX No. in season FROM table WHERE Directed by = Constantine Makris |
Translate the following into a SQL query | What is the name of the episode that was written by Michael Rauch? | SELECT Title FROM table WHERE Written by = Michael Rauch |
Translate the following into a SQL query | For the episode directed by Matthew Penn, what is the total number in the series? | SELECT No. in series FROM table WHERE Directed by = Matthew Penn |
Translate the following into a SQL query | Name the production code for 4.92 million viewers | SELECT Prod. code FROM table WHERE Viewers (millions) = 4.92 |
Translate the following into a SQL query | Name the least number in season for jessica ball | SELECT MIN No. in season FROM table WHERE Written by = Jessica Ball |
Translate the following into a SQL query | How many flaps did he have when he had 109 points? | SELECT MAX FLaps FROM table WHERE Points = 109 |
Translate the following into a SQL query | How many wins did he have with carlin motorsport? | SELECT COUNT Wins FROM table WHERE Team Name = Carlin Motorsport |
Translate the following into a SQL query | What was the most races he had in a season? | SELECT MAX Races FROM table |
Translate the following into a SQL query | What are Ken Rosewall's sets w-l? | SELECT Sets W-L FROM table WHERE Player = Ken Rosewall |
Translate the following into a SQL query | What are Arthur Ashe's games w-l? | SELECT Games W-L FROM table WHERE Player = Arthur Ashe |
Translate the following into a SQL query | Name the games w-1 for cliff richey | SELECT Games W-L FROM table WHERE Player = Cliff Richey |
Translate the following into a SQL query | What stage number had the general classification Rory Sutherland? | SELECT COUNT Stage FROM table WHERE General classification = Rory Sutherland |
Translate the following into a SQL query | Who was the Youth Classification in the race with Kenneth Hanson as Mountains Classification and Lucas Sebastian Haedo as winner? | SELECT Youth classification FROM table WHERE Mountains classification = Kenneth Hanson AND Winner = Lucas Sebastian Haedo |
Translate the following into a SQL query | Who won the race with Tom Zirbel as Mountains Classification and Thomas Soladay as Points Classification? | SELECT Winner FROM table WHERE Mountains classification = Tom Zirbel AND Points classification = Thomas Soladay |
Translate the following into a SQL query | Who was Mountains Classification in the race with Nick Frey as Youth Classification and Tom Zirbel as Points Classification? | SELECT Mountains classification FROM table WHERE Youth classification = Nick Frey AND Points classification = Tom Zirbel |
Translate the following into a SQL query | How many Mountains Classifications were in the race with Mike Northey as Youth Classification? | SELECT COUNT Mountains classification FROM table WHERE Youth classification = Mike Northey |
Translate the following into a SQL query | How many foundation dates were there when the television channels is canal nou canal nou dos canal nou 24 tvvi? | SELECT COUNT Foundation FROM table WHERE Television Channels = Canal Nou Canal Nou Dos Canal Nou 24 TVVi |
Translate the following into a SQL query | If the radio stations is radio nou si radio radio nou música; what were the total number of television channels? | SELECT COUNT Television Channels FROM table WHERE Radio Stations = Radio Nou Si Radio Radio Nou Música |
Translate the following into a SQL query | What is the total number of television channels when one of the radio stations is onda madrid? | SELECT COUNT Television Channels FROM table WHERE Radio Stations = Onda Madrid |
Translate the following into a SQL query | Which of the radio stations has the organization of ente público radio televisión madrid (eprtvm)? | SELECT Radio Stations FROM table WHERE Organization = Ente Público Radio Televisión Madrid (EPRTVM) |
Translate the following into a SQL query | What is the autonomous community with television channels tpa tpa2 rtpa internacional? | SELECT Autonomous Community FROM table WHERE Television Channels = TPA TPA2 RTPA Internacional |
Translate the following into a SQL query | Who was the writer of "Face Off"? | SELECT Writer FROM table WHERE Title = "Face Off" |
Translate the following into a SQL query | Who were the directors of the episode "nano nits" written by nathan cockerill? | SELECT Director FROM table WHERE Writer = Nathan Cockerill AND Title = "Nano Nits" |
Translate the following into a SQL query | Who are the villains in "the others"? | SELECT Villains FROM table WHERE Title = "The Others" |
Translate the following into a SQL query | What was the original air date of the episode "nano nits"? | SELECT Original airdate FROM table WHERE Title = "Nano Nits" |
Translate the following into a SQL query | How many villains were in episode 3 (13)? | SELECT COUNT Villains FROM table WHERE Episode Number = 3 (13) |
Translate the following into a SQL query | What was the title of the episode where reg lacey (aka mr. b) played the villain? | SELECT Title FROM table WHERE Villains = Reg Lacey (AKA Mr. B) |
Translate the following into a SQL query | Name the most three pointers for dewanna bonner | SELECT MAX Three Pointers FROM table WHERE Player = DeWanna Bonner |
Translate the following into a SQL query | Name the least field goals for chantel hilliard | SELECT MIN Field Goals FROM table WHERE Player = Chantel Hilliard |
Translate the following into a SQL query | Name the most minutes for morgan jennings | SELECT MAX Minutes FROM table WHERE Player = Morgan Jennings |
Translate the following into a SQL query | Name the most free throws for 4 steals | SELECT MAX Free Throws FROM table WHERE Steals = 4 |
Translate the following into a SQL query | What is the road record for the team with an overall record of 22-11? | SELECT Road Record FROM table WHERE Overall Record = 22-11 |
Translate the following into a SQL query | What is the road record for Vanderbilt? | SELECT COUNT Road Record FROM table WHERE Team = Vanderbilt |
Translate the following into a SQL query | What team's overal record is 22-11? | SELECT Team FROM table WHERE Overall Record = 22-11 |
Translate the following into a SQL query | What is the percentage for the team with a road record of 3-4 and a home record of 7-0? | SELECT Percentage FROM table WHERE Road Record = 3-4 AND Home Record = 7-0 |
Translate the following into a SQL query | Name the number of three pointers for 67 | SELECT COUNT Three Pointers FROM table WHERE Points = 67 |
Translate the following into a SQL query | Name the field goals for alexis yackley | SELECT MAX Field Goals FROM table WHERE Player = Alexis Yackley |
Translate the following into a SQL query | Name the number of assists for 321 minutes | SELECT COUNT Assists FROM table WHERE Minutes = 321 |
Translate the following into a SQL query | Name the number of players for field goals being 25 and blocks is 6 | SELECT COUNT Player FROM table WHERE Field Goals = 25 AND Blocks = 6 |
Translate the following into a SQL query | Name the location attendance of 5-15 | SELECT Location Attendance FROM table WHERE Record = 5-15 |
Translate the following into a SQL query | Name the record for golden state | SELECT Record FROM table WHERE Team = Golden State |
Translate the following into a SQL query | Name the number of high points for record 5-17 | SELECT COUNT High points FROM table WHERE Record = 5-17 |
Translate the following into a SQL query | Name the record for houston | SELECT Record FROM table WHERE Team = Houston |
Translate the following into a SQL query | Name the cardinal points for 19-4 record | SELECT MIN Cardinal Points FROM table WHERE Record = 19-4 |
Translate the following into a SQL query | Name the location for 2-1 record | SELECT Location FROM table WHERE Record = 2-1 |
Translate the following into a SQL query | Name the total number of step 6 for 11 gs grade | SELECT COUNT Step 6 FROM table WHERE GS Grade = 11 |
Translate the following into a SQL query | such as are entire the rating of closing where championship is moscow | SELECT Score in final FROM table WHERE Championship = Moscow |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.