instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
Who is the head coach for the score of 4-3?
SELECT Head Coach FROM table WHERE Score = 4-3
Translate the following into a SQL query
What is the bleeding time when the platelet count is decreased or unaffected?
SELECT Bleeding time FROM table WHERE Platelet count = Decreased or unaffected
Translate the following into a SQL query
What is the partial thromboplastin time when the condition factor x deficiency as seen in amyloid purpura?
SELECT Partial thromboplastin time FROM table WHERE Condition = Factor X deficiency as seen in amyloid purpura
Translate the following into a SQL query
How many time does the platelet count occur when prothrombin time and bleeding time are prolonged?
SELECT COUNT Platelet count FROM table WHERE Prothrombin time = Prolonged AND Bleeding time = Prolonged
Translate the following into a SQL query
What is the bleeding time for the disseminated intravascular coagulation condition?
SELECT COUNT Bleeding time FROM table WHERE Condition = Disseminated intravascular coagulation
Translate the following into a SQL query
What is the result for partial thromboplastin time when prothrombin time and bleeding time are prolonged?
SELECT Partial thromboplastin time FROM table WHERE Prothrombin time = Prolonged AND Bleeding time = Prolonged
Translate the following into a SQL query
What is the platelet count when partial thromboplastin time and bleeding time are unaffected?
SELECT Platelet count FROM table WHERE Partial thromboplastin time = Unaffected AND Bleeding time = Unaffected
Translate the following into a SQL query
What is the lowest top 50 ranking that the episode titled "the god-why-don't-you-love-me blues" received?
SELECT MIN Top 50 Ranking FROM table WHERE Title = The God-Why-Don't-You-Love-Me Blues
Translate the following into a SQL query
Which episodes originally aired on April 19, 2010?
SELECT Title FROM table WHERE Original airing = April 19, 2010
Translate the following into a SQL query
The episode titled "Epiphany" received what scripted show ranking?
SELECT MIN Scripted Show Ranking FROM table WHERE Title = Epiphany
Translate the following into a SQL query
How many of the episodes in the top 50 rankings were originally aired on June 28, 2010?
SELECT COUNT Top 50 Ranking FROM table WHERE Original airing = June 28, 2010
Translate the following into a SQL query
For the location of quezon city , metro manila what is the athletic nickname?
SELECT Athletic nickname FROM table WHERE Location = Quezon City , Metro Manila
Translate the following into a SQL query
How many locations are there for the athletic nickname is blue crusaders?
SELECT COUNT Location FROM table WHERE Athletic nickname = Blue Crusaders
Translate the following into a SQL query
How many entries are shown for school colors for the location of naga , camarines sur?
SELECT COUNT School Colors FROM table WHERE Location = Naga , Camarines Sur
Translate the following into a SQL query
For the athletic nickname of golden knights how many entries are shown for enrollment?
SELECT COUNT Enrollment FROM table WHERE Athletic nickname = Golden Knights
Translate the following into a SQL query
What year was the ateneo de manila university founded?
SELECT Founded FROM table WHERE Institution = Ateneo de Manila University
Translate the following into a SQL query
What year was the athletic nickname blue crusaders founded?
SELECT Founded FROM table WHERE Athletic nickname = Blue Crusaders
Translate the following into a SQL query
How many original airdates did season 20 have?
SELECT COUNT Original air date FROM table WHERE Season # = 20
Translate the following into a SQL query
Who directed the episode that was watched by 6.62 million U.S. viewers?
SELECT Directed by FROM table WHERE U.S. viewers (millions) = 6.62
Translate the following into a SQL query
What is the production code for the episode with 8.56 million U.S. viewers?
SELECT Production code FROM table WHERE U.S. viewers (millions) = 8.56
Translate the following into a SQL query
What is the title of the episode that had 9.76 million U.S. viewers?
SELECT Title FROM table WHERE U.S. viewers (millions) = 9.76
Translate the following into a SQL query
What is the title of the original airing on e4 May 2, 2010?
SELECT Title FROM table WHERE Original airing on E4 = May 2, 2010
Translate the following into a SQL query
How many total viewers have April 21, 2010 as the original airing on channel 4?
SELECT COUNT Total viewers FROM table WHERE Original airing on Channel 4 = April 21, 2010
Translate the following into a SQL query
What is the position in e4s ratings b when June 30, 2010 is the original airing on channel 4?
SELECT Position in E4s ratings b FROM table WHERE Original airing on Channel 4 = June 30, 2010
Translate the following into a SQL query
When is the original airing on channel 4 with being alive as the title?
SELECT Original airing on Channel 4 FROM table WHERE Title = Being Alive
Translate the following into a SQL query
How many position in channel 4s ratings a have February 24, 2010 as the original airing on channel 4?
SELECT COUNT Position in Channel 4s ratings a FROM table WHERE Original airing on Channel 4 = February 24, 2010
Translate the following into a SQL query
What are all types where registration is HB-OPU?
SELECT Type FROM table WHERE Registration = HB-OPU
Translate the following into a SQL query
What is every registration for the type of T 6 G?
SELECT Registration FROM table WHERE Type = T 6 G
Translate the following into a SQL query
What is every construction date for the registration of HB-HOS?
SELECT Construction date FROM table WHERE Registration = HB-HOS
Translate the following into a SQL query
What is every conformity to original design if the construction date is after 1945 and registration is HB-SAE?
SELECT Conformity to original design FROM table WHERE Construction date = After 1945 AND Registration = HB-SAE
Translate the following into a SQL query
What is every conformity to original design if registration is HB-DAI?
SELECT Conformity to original design FROM table WHERE Registration = HB-DAI
Translate the following into a SQL query
What is the latest season number that Eric Tuchman directed?
SELECT MAX Season # FROM table WHERE Director = Eric Tuchman
Translate the following into a SQL query
How man seasons have the air date of October 2, 2001?
SELECT COUNT Season # FROM table WHERE NBC Airdate = October 2, 2001
Translate the following into a SQL query
Who wrote, "The Last Dance"?
SELECT Writer(s) FROM table WHERE Title = "The Last Dance"
Translate the following into a SQL query
What was the report in the race where the winning team was Roush Fenway Racing?
SELECT Report FROM table WHERE Team = Roush Fenway Racing
Translate the following into a SQL query
What was the miles (km) for the race that had an average speed of 136.117 MPH?
SELECT Miles (km) FROM table WHERE Average Speed (mph) = 136.117
Translate the following into a SQL query
What are the miles when February 25 is the date?
SELECT Miles (km) FROM table WHERE Date = February 25
Translate the following into a SQL query
How many laps have an average speed of 141.911?
SELECT Laps FROM table WHERE Average Speed (mph) = 141.911
Translate the following into a SQL query
Who is the manufacturer when 150.088 is the average speed (mph)?
SELECT Manufacturer FROM table WHERE Average Speed (mph) = 150.088
Translate the following into a SQL query
Who is the manufacturer for the date of June 22?
SELECT Manufacturer FROM table WHERE Date = June 22
Translate the following into a SQL query
How many laps have a race time of 3:31:24?
SELECT Laps FROM table WHERE Race Time = 3:31:24
Translate the following into a SQL query
How many laps have an average speed (mph) of 140.22?
SELECT Laps FROM table WHERE Average Speed (mph) = 140.22
Translate the following into a SQL query
Who directed the film with the original title of три летња дана?
SELECT Director FROM table WHERE Original title = Три летња дана
Translate the following into a SQL query
Who directed the film with the title three summer days?
SELECT Director FROM table WHERE Film title used in nomination = Three Summer Days
Translate the following into a SQL query
Who is the director of the film with the title лепа села лепо горе?
SELECT Director FROM table WHERE Original title = Лепа села лепо горе
Translate the following into a SQL query
How many viewers in millions watched the episode with the production code 6acx16?
SELECT U.S. viewers (million) FROM table WHERE Production code = 6ACX16
Translate the following into a SQL query
What is the air date of the episode with the production code 6acx19?
SELECT Original air date FROM table WHERE Production code = 6ACX19
Translate the following into a SQL query
What is the original air date for the production code of 1.12?
SELECT Original air date FROM table WHERE Production code = 1.12
Translate the following into a SQL query
How many number of series have a production code of 1.11?
SELECT No. in series FROM table WHERE Production code = 1.11
Translate the following into a SQL query
How many number of series have the production code of 1.11?
SELECT MAX No. in series FROM table WHERE Production code = 1.11
Translate the following into a SQL query
Who wrote when the original airdate is April 5, 1987?
SELECT Written by FROM table WHERE Original air date = April 5, 1987
Translate the following into a SQL query
Who directed the title "peggy sue got work"?
SELECT Directed by FROM table WHERE Title = "Peggy Sue Got Work"
Translate the following into a SQL query
Who directed when the production code is 1.02?
SELECT Directed by FROM table WHERE Production code = 1.02
Translate the following into a SQL query
Name the production code for november 27, 1988
SELECT Production code FROM table WHERE Original air date = November 27, 1988
Translate the following into a SQL query
Name the original air date for 3.04 production code
SELECT Original air date FROM table WHERE Production code = 3.04
Translate the following into a SQL query
Name who wrote the episode that aired april 9, 1989
SELECT Written by FROM table WHERE Original air date = April 9, 1989
Translate the following into a SQL query
Name the number of number in season for 3.09
SELECT COUNT No. in season FROM table WHERE Production code = 3.09
Translate the following into a SQL query
when was the episode premiere if the production code is 11.19?
SELECT COUNT Original air date FROM table WHERE Production code = 11.19
Translate the following into a SQL query
what is the name of the episode whose premiere was in march 2, 1997?
SELECT Title FROM table WHERE Original air date = March 2, 1997
Translate the following into a SQL query
what is the name of the episode when the production code is 11.01?
SELECT Title FROM table WHERE Production code = 11.01
Translate the following into a SQL query
what is the name of the episode if the production code is 11.12?
SELECT Title FROM table WHERE Production code = 11.12
Translate the following into a SQL query
how many episodes has been directed by Mark K. Samuels ?
SELECT COUNT No. in series FROM table WHERE Directed by = Mark K. Samuels
Translate the following into a SQL query
what is the number of the episode in series that is called "breaking up is easy to do (part 1)"?
SELECT No. in series FROM table WHERE Title = "Breaking Up Is Easy to Do (Part 1)"
Translate the following into a SQL query
Who directed the title "the razor's edge"?
SELECT Directed by FROM table WHERE Title = "The Razor's Edge"
Translate the following into a SQL query
Who directed what was written by Michael G. Moye & Ron Leavitt & J. Stanford Parker?
SELECT Directed by FROM table WHERE Written by = Michael G. Moye & Ron Leavitt & J. Stanford Parker
Translate the following into a SQL query
What are all the production codes of episodes written by Michael G. Moye?
SELECT Production code FROM table WHERE Written by = Michael G. Moye
Translate the following into a SQL query
Who is the writer of episode 13?
SELECT COUNT Written by FROM table WHERE No. in season = 13
Translate the following into a SQL query
Which series number has the production code 7.07?
SELECT COUNT No. in series FROM table WHERE Production code = 7.07
Translate the following into a SQL query
How many seasons have the production code 7.01 for an episode?
SELECT MAX No. in season FROM table WHERE Production code = 7.01
Translate the following into a SQL query
How many episodes in the series are from season 12?
SELECT No. in series FROM table WHERE No. in season = 12
Translate the following into a SQL query
How many seasons had episode 158?
SELECT MIN No. in season FROM table WHERE No. in series = 158
Translate the following into a SQL query
What is the production code of the episode directed by Stacie Lipp?
SELECT Production code FROM table WHERE Written by = Stacie Lipp
Translate the following into a SQL query
What is the name of episode 165?
SELECT Title FROM table WHERE No. in series = 165
Translate the following into a SQL query
How many episodes have the production code 8.04
SELECT COUNT Directed by FROM table WHERE Production code = 8.04
Translate the following into a SQL query
What is the Alpha 2 code for the area also known as TCA?
SELECT Alpha-2 code FROM table WHERE Alpha-3 code = TCA
Translate the following into a SQL query
What is the Alpha 3 code for the area also known as FO?
SELECT Alpha-3 code FROM table WHERE Alpha-2 code = FO
Translate the following into a SQL query
What is the alpha 2 code for the area also known as NZL?
SELECT Alpha-2 code FROM table WHERE Alpha-3 code = NZL
Translate the following into a SQL query
What is the ISO for South Sudan?
SELECT ISO 3166-2 codes FROM table WHERE English short name (upper/lower case) = South Sudan
Translate the following into a SQL query
What is the Alpha 2 code for Papua New Guinea?
SELECT Alpha-2 code FROM table WHERE English short name (upper/lower case) = Papua New Guinea
Translate the following into a SQL query
What is the number reference for LIE?
SELECT Numeric code FROM table WHERE Alpha-3 code = LIE
Translate the following into a SQL query
How many launch dates are there for digital transmission?
SELECT COUNT Launch Date FROM table WHERE Transmission = Digital
Translate the following into a SQL query
Who wrote the title with production code 7acx14?
SELECT Written by FROM table WHERE Production code = 7ACX14
Translate the following into a SQL query
Who directed the title written by cherry chevapravatdumrong?
SELECT Directed by FROM table WHERE Written by = Cherry Chevapravatdumrong
Translate the following into a SQL query
Who wrote the title with the production code is 7acx08?
SELECT Written by FROM table WHERE Production code = 7ACX08
Translate the following into a SQL query
Who directed the episode written by patrick meighan?
SELECT Directed by FROM table WHERE Written by = Patrick Meighan
Translate the following into a SQL query
When is every date that control site condition or owner is machine shop on Martin Dr.?
SELECT Dates FROM table WHERE Control Site condition/owner = machine shop on Martin Dr.
Translate the following into a SQL query
What is every missile type with a code and location of M-20 Harbor Drive?
SELECT Missile Type FROM table WHERE Code & location = M-20 Harbor Drive
Translate the following into a SQL query
What is every code and location where the launch site condition and owner is obliterated?
SELECT Code & location FROM table WHERE Launch Site condition/owner = Obliterated
Translate the following into a SQL query
What is every control site condition and owner if launch site condition and owner is Lakefront Office Buildings?
SELECT Control Site condition/owner FROM table WHERE Launch Site condition/owner = lakefront office buildings
Translate the following into a SQL query
Which team had an outgoing manager of Behtash Fariba?
SELECT Team FROM table WHERE Outgoing manager = Behtash Fariba
Translate the following into a SQL query
Which team had a manager who was replaced by Faraz Kamalvand?
SELECT Team FROM table WHERE Replaced by = Faraz Kamalvand
Translate the following into a SQL query
Which outgoing manager was replaced by Jafar Fatahi?
SELECT Outgoing manager FROM table WHERE Replaced by = Jafar Fatahi
Translate the following into a SQL query
Which team had a manager replaced by Ebrahim Talebi?
SELECT Team FROM table WHERE Replaced by = Ebrahim Talebi
Translate the following into a SQL query
What was the date in which Behtash Fariba left his team?
SELECT Date of vacancy FROM table WHERE Outgoing manager = Behtash Fariba
Translate the following into a SQL query
What was the manner of leaving the team for the manager of Gostaresh Foolad?
SELECT Manner of departure FROM table WHERE Team = Gostaresh Foolad
Translate the following into a SQL query
How much was the cost of in-county tuition per credit hour at the Gloucester College by the fall of 2009?
SELECT In-county tuition per credit hour (fall 2009) FROM table WHERE College = Gloucester
Translate the following into a SQL query
How much was the in-county tuition per credit hour at the Mercer College by the fall of 2009?
SELECT In-county tuition per credit hour (fall 2009) FROM table WHERE College = Mercer
Translate the following into a SQL query
What is the biggest number for county population 18 years+?
SELECT MAX County population 18 yrs+ FROM table
Translate the following into a SQL query
Who was the replacement manager for the vacancy of 12 Dec 2009?
SELECT Replaced by FROM table WHERE Date of vacancy = 12 Dec 2009
Translate the following into a SQL query
Who was the replacement manager for the vacancy of 12 Dec 2009?
SELECT Replaced by FROM table WHERE Date of vacancy = 12 Dec 2009