instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query | When relay is the station type and 5kw is the power kw what is the branding? | SELECT Branding FROM table WHERE Power kW = 5kW AND Station Type = Relay |
Translate the following into a SQL query | When dxrt-tv is the callsign what is the power kw? | SELECT Power kW FROM table WHERE Callsign = DXRT-TV |
Translate the following into a SQL query | When dxzb-tv is the call sign what is the power kw? | SELECT Power kW FROM table WHERE Callsign = DXZB-TV |
Translate the following into a SQL query | When dxcc-tv is the call sign how many station types are there? | SELECT COUNT Station Type FROM table WHERE Callsign = DXCC-TV |
Translate the following into a SQL query | When dwhr-tv is the call sign how many station types are there? | SELECT COUNT Station Type FROM table WHERE Callsign = DWHR-TV |
Translate the following into a SQL query | What date did Episode 22 originally air? | SELECT COUNT Original airdate FROM table WHERE # = 22 |
Translate the following into a SQL query | What episode premier received 0.680 million viewers? | SELECT Original airdate FROM table WHERE Viewers (millions) = 0.680 |
Translate the following into a SQL query | When did "The Intervention" originally air? | SELECT Original airdate FROM table WHERE Title = "The Intervention" |
Translate the following into a SQL query | What timeslot received 0.673 viewers? | SELECT Timeslot FROM table WHERE Viewers (millions) = 0.673 |
Translate the following into a SQL query | When did "Man in the Machine" originally air? | SELECT Original airdate FROM table WHERE Title = "Man in the Machine" |
Translate the following into a SQL query | What is the original air date of the episode that was directed by David Paymer? | SELECT Original air date FROM table WHERE Directed by = David Paymer |
Translate the following into a SQL query | If the amount of U.S. viewers is 2.14 million, who was the episode directed by? | SELECT Directed by FROM table WHERE U.S. viewers (in millions) = 2.14 |
Translate the following into a SQL query | If the amount of U.S. viewers is 2.05 milliom, who was the episode directed by? | SELECT Directed by FROM table WHERE U.S. viewers (in millions) = 2.05 |
Translate the following into a SQL query | What is the director name is the U.S. viewers is 2.22 million? | SELECT Directed by FROM table WHERE U.S. viewers (in millions) = 2.22 |
Translate the following into a SQL query | What date did "we are no longer in the bible belt" air on? | SELECT Airdate FROM table WHERE Episode = "We Are No Longer in the Bible Belt" |
Translate the following into a SQL query | How many million viewers watched the episode that had a 2.6/7 rating/share (18-49) | SELECT Viewers (millions) FROM table WHERE Rating/Share (18β49) = 2.6/7 |
Translate the following into a SQL query | How many million viewers watched "nanna is kickin' your butt"? | SELECT Viewers (millions) FROM table WHERE Episode = "Nanna Is Kickin' Your Butt" |
Translate the following into a SQL query | How many million viewers watched the episode that aired on March 28, 2010? | SELECT Viewers (millions) FROM table WHERE Airdate = March 28, 2010 |
Translate the following into a SQL query | How many rankings (timeslot) were there for the episode that aired on May 2, 2010? | SELECT COUNT Rank (Timeslot) FROM table WHERE Airdate = May 2, 2010 |
Translate the following into a SQL query | Who was the writer for the episode called "What Are You Made of?" | SELECT Written by FROM table WHERE Title = "What Are You Made Of?" |
Translate the following into a SQL query | What episode had 1.42 million viewers? | SELECT Series # FROM table WHERE U.S. viewers (in millions) = 1.42 |
Translate the following into a SQL query | What is the original air date for episode 4? | SELECT Original air date FROM table WHERE Season # = 4 |
Translate the following into a SQL query | Who was the writer for the show titled "and the rocky goes to..."? | SELECT Written by FROM table WHERE Title = "And the Rocky Goes To..." |
Translate the following into a SQL query | Which team uses lola t92/00/ buick for their chassis/engine? | SELECT Team FROM table WHERE Chassis/Engine = Lola T92/00/ Buick |
Translate the following into a SQL query | When the pos equals 18 what is the max amount of points? | SELECT MAX Points FROM table WHERE Pos = 18 |
Translate the following into a SQL query | How many drivers used lola t92/00/ buick for their chassis/engine? | SELECT COUNT No. FROM table WHERE Chassis/Engine = Lola T92/00/ Buick |
Translate the following into a SQL query | What's the series number of the episode with a season number 5, written by Bernie Ancheta? | SELECT MIN No. in series FROM table WHERE Written by = Bernie Ancheta AND No. in season = 5 |
Translate the following into a SQL query | When did the episode with production code 213 air for the first time? | SELECT Original air date FROM table WHERE Prod. code = 213 |
Translate the following into a SQL query | Who directed the episode with production code 208? | SELECT Directed by FROM table WHERE Prod. code = 208 |
Translate the following into a SQL query | How many millions of people in the US saw the episode titled "Ball of Trash"? | SELECT U.S. Viewers (in millions) FROM table WHERE Title = "Ball of Trash" |
Translate the following into a SQL query | What is every direction with 24 mountains as Wei ζͺ Kun ε€ Shen η³? | SELECT Direction FROM table WHERE 24 Mountains = Wei ζͺ Kun ε€ Shen η³ |
Translate the following into a SQL query | How many values for 24 mountains when the bearing or degrees is 67.6 - 82.5 82.6 - 97.5 97.6 - 112.5? | SELECT COUNT 24 Mountains FROM table WHERE Bearing / Degrees = 67.6 - 82.5 82.6 - 97.5 97.6 - 112.5 |
Translate the following into a SQL query | What is every trigram when direction is Northwest? | SELECT Trigram FROM table WHERE Direction = Northwest |
Translate the following into a SQL query | What are all values for 24 mountains when direction is Northeast? | SELECT 24 Mountains FROM table WHERE Direction = Northeast |
Translate the following into a SQL query | How many career titles does roy emerson have? | SELECT Total Career titles FROM table WHERE Player = Roy Emerson |
Translate the following into a SQL query | What were the total career titles of the player who led for 5 years? | SELECT COUNT Total Career titles FROM table WHERE Span of years led = 5 |
Translate the following into a SQL query | Of the players whose lead began at the australian championships, what was the shortest span of years led? | SELECT MIN Span of years led FROM table WHERE Tournament at which lead began = Australian Championships |
Translate the following into a SQL query | At which tournament did william renshaw begin his lead when he had won 7 titles? | SELECT Tournament at which lead began FROM table WHERE Player = William Renshaw AND Titles won at point of lead = 7 |
Translate the following into a SQL query | At what tournament did pete sampras begin his lead? | SELECT Tournament at which lead began FROM table WHERE Player = Pete Sampras |
Translate the following into a SQL query | Who are all directors when Sherwood Schwartz is the writer? | SELECT Directed by FROM table WHERE Written by = Sherwood Schwartz |
Translate the following into a SQL query | What is the highest episode# with the writer Paul West? | SELECT MAX Episode # FROM table WHERE Written by = Paul West |
Translate the following into a SQL query | What is every production code for episode # 13? | SELECT Production code (order they were made) # FROM table WHERE Episode # = 13 |
Translate the following into a SQL query | What is the highest episode number written by Harry Winkler? | SELECT MAX Episode # FROM table WHERE Written by = Harry Winkler |
Translate the following into a SQL query | List all directors when Brad Radnitz was the writer? | SELECT Directed by FROM table WHERE Written by = Brad Radnitz |
Translate the following into a SQL query | Name the airdate for the episode written by howard ostroff | SELECT Original airdate FROM table WHERE Written by = Howard Ostroff |
Translate the following into a SQL query | Name the production code # for episode 109 | SELECT COUNT Production code # FROM table WHERE Episode # = 109 |
Translate the following into a SQL query | Name who drected the episode written by george tibbles | SELECT Directed by FROM table WHERE Written by = George Tibbles |
Translate the following into a SQL query | How many different people directed the episode titled "Fright Night"? | SELECT COUNT Directed by FROM table WHERE Title = "Fright Night" |
Translate the following into a SQL query | What's the number of the episode titled "Everyone can't be George Washington"? | SELECT MIN Episode # FROM table WHERE Title = "Everyone Can't Be George Washington" |
Translate the following into a SQL query | How many original air dates are there for the episode titled "Everyone can't be George Washington"? | SELECT COUNT Original airdate FROM table WHERE Title = "Everyone Can't Be George Washington" |
Translate the following into a SQL query | What's the title of the episode written by Harry Winkler? | SELECT Title FROM table WHERE Written by = Harry Winkler |
Translate the following into a SQL query | What's the production code of the episode titled "The subject was noses"? | SELECT MIN Production code # FROM table WHERE Title = "The Subject Was Noses" |
Translate the following into a SQL query | During the 1st Place (Won the Series), who was the act? | SELECT Act FROM table WHERE Place came = 1st Place (Won the Series) |
Translate the following into a SQL query | During the act, Playing on Glasses, what was the semi-final? | SELECT Semi-final FROM table WHERE Act = Playing on Glasses |
Translate the following into a SQL query | During the act, Performance of "Lost" by Anouk, what was the result? | SELECT Result FROM table WHERE Act = Performance of "Lost" by Anouk |
Translate the following into a SQL query | During the act, Performance of "Lost" by Anouk, what was the result? | SELECT Result FROM table WHERE Act = Performance of "Lost" by Anouk |
Translate the following into a SQL query | What was the final place came for the performance of Erlend Bratland? | SELECT Place came FROM table WHERE Artist = Erlend Bratland |
Translate the following into a SQL query | During the act, Performance of "Lost" by Anouk, what was the result? | SELECT COUNT Result FROM table WHERE Act = Performance of "Lost" by Anouk |
Translate the following into a SQL query | How many imr* have 64.3 life expectancy males? | SELECT MIN IMR* FROM table WHERE Life expectancy males = 64.3 |
Translate the following into a SQL query | How many imr* have tfr* of 4.31? | SELECT IMR* FROM table WHERE TFR* = 4.31 |
Translate the following into a SQL query | How many deaths per year have 66.3 as the life expectancy females? | SELECT Deaths per year FROM table WHERE Life expectancy females = 66.3 |
Translate the following into a SQL query | How many imr* have tfr* 5.35? | SELECT COUNT IMR* FROM table WHERE TFR* = 5.35 |
Translate the following into a SQL query | Which leagues entered in rounds where there were 16 winners from the previous round? | SELECT Leagues entering at this round FROM table WHERE Winners from previous round = 16 |
Translate the following into a SQL query | Which rounds had 32 clubs involved? | SELECT Round FROM table WHERE Clubs involved = 32 |
Translate the following into a SQL query | Which round had 24 new entries? | SELECT Round FROM table WHERE New entries this round = 24 |
Translate the following into a SQL query | Which leagues entered an extra preliminary round? | SELECT Leagues entering at this round FROM table WHERE Round = Extra Preliminary Round |
Translate the following into a SQL query | Name the location of buffalo sabres | SELECT Location FROM table WHERE Opponent = Buffalo Sabres |
Translate the following into a SQL query | Name the game for 13β17β9 | SELECT Game FROM table WHERE Record = 13β17β9 |
Translate the following into a SQL query | Name the score for december 19 | SELECT Score FROM table WHERE Date = December 19 |
Translate the following into a SQL query | Name the date for new york islanders | SELECT Date FROM table WHERE Opponent = New York Islanders |
Translate the following into a SQL query | Name the opponents for december 3 | SELECT COUNT Opponent FROM table WHERE Date = December 3 |
Translate the following into a SQL query | How many games did they play the carolina hurricanes? | SELECT COUNT Game FROM table WHERE Opponent = Carolina Hurricanes |
Translate the following into a SQL query | What was the score when they had 62 points? | SELECT Score FROM table WHERE Points = 62 |
Translate the following into a SQL query | What team did the Maple Leafs score 9 points against? | SELECT Opponent FROM table WHERE Points = 9 |
Translate the following into a SQL query | What time was achieved on Saturday 29th August by the rider who recorded 23' 18.82 97.102mph on Tuesday 25th August? | SELECT Sat 29 Aug FROM table WHERE Tues 25 Aug = 23' 18.82 97.102mph |
Translate the following into a SQL query | What time was achieved on Saturday 29th August by the rider who recorded 24' 17.26 93.208mph on Monday 24th August? | SELECT Sat 29 Aug FROM table WHERE Mon 24 Aug = 24' 17.26 93.208mph |
Translate the following into a SQL query | What time was achieved on Saturday 29th August by the rider who recorded 22' 54.20 98.842mph on Tuesday 25th August? | SELECT Sat 29 Aug FROM table WHERE Tues 25 Aug = 22' 54.20 98.842mph |
Translate the following into a SQL query | What time was achieved on Saturday 29th August by the rider who recorded 25' 01.89 90.438mph on Friday 28th August? | SELECT Sat 29 Aug FROM table WHERE Fri 28 Aug = 25' 01.89 90.438mph |
Translate the following into a SQL query | What was the event on Wed 26 Aug where rider is Andrew Farrell 400cc Kawasaki? | SELECT Wed 26 Aug FROM table WHERE Rider = Andrew Farrell 400cc Kawasaki |
Translate the following into a SQL query | What was the event on Thurs 27 Aug when Tues 25 Aug was 23' 00.59 98.384mph? | SELECT Thurs 27 Aug FROM table WHERE Tues 25 Aug = 23' 00.59 98.384mph |
Translate the following into a SQL query | What was the Tues 25 Aug time and speed when Mon 24 Aug was 22' 24.56 101.021mph? | SELECT Tues 25 Aug FROM table WHERE Mon 24 Aug = 22' 24.56 101.021mph |
Translate the following into a SQL query | Who was the rider when Fri 28 Aug was 24' 23.36 92.820mph? | SELECT Rider FROM table WHERE Fri 28 Aug = 24' 23.36 92.820mph |
Translate the following into a SQL query | Which opponent has 32194 as the attendance? | SELECT Opponent FROM table WHERE Attendance = 32194 |
Translate the following into a SQL query | Which opponent has 36102 is the attendance? | SELECT Opponent FROM table WHERE Attendance = 36102 |
Translate the following into a SQL query | What is the attendance? | SELECT MAX Attendance FROM table |
Translate the following into a SQL query | What is the hometown of contestants who are from the province of Huesca? | SELECT Hometown FROM table WHERE Province = Huesca |
Translate the following into a SQL query | What is the height in inches of contestants who are from the province of La Rioja? | SELECT Height (in) FROM table WHERE Province = La Rioja |
Translate the following into a SQL query | How many contestants of whatever age are there whose hometown of Andujar? | SELECT COUNT Age FROM table WHERE Hometown = Andujar |
Translate the following into a SQL query | How tall are contestants whose home province is La Rioja? | SELECT Height (in) FROM table WHERE Province = La Rioja |
Translate the following into a SQL query | What's the service number of the Jammu Duronto train? | SELECT MAX Service FROM table WHERE Train name = Jammu Duronto |
Translate the following into a SQL query | What's the name of the train to Madurai Junction? | SELECT Train name FROM table WHERE Destination = Madurai Junction |
Translate the following into a SQL query | What's the service number of the Pune Duronto train that departures at 21:35? | SELECT Service FROM table WHERE Train name = Pune Duronto AND Departure = 21:35 |
Translate the following into a SQL query | What's the name of the train that goes to Bhubaneswar? | SELECT Train name FROM table WHERE Destination = Bhubaneswar |
Translate the following into a SQL query | What is the record when the opposing team was the Pittsburgh Penguins? | SELECT Record FROM table WHERE Opponent = Pittsburgh Penguins |
Translate the following into a SQL query | What was the game number when the opposing team was the Buffalo Sabres? | SELECT MIN Game FROM table WHERE Opponent = Buffalo Sabres |
Translate the following into a SQL query | What is the product code for the episode titled "Kafelnikov"? | SELECT Prod. Code FROM table WHERE Title = "Kafelnikov" |
Translate the following into a SQL query | Who directed episode no. 44 in the series? | SELECT Directed by FROM table WHERE No. in series = 44 |
Translate the following into a SQL query | What is the number in the season of the episode with a production code of 2-05? | SELECT COUNT No. in season FROM table WHERE Prod. Code = 2-05 |
Translate the following into a SQL query | What is the title of the episode with the production code 2-19? | SELECT Title FROM table WHERE Prod. Code = 2-19 |
Translate the following into a SQL query | What is the total number of titles for the episode numbered 29 in the series? | SELECT COUNT Title FROM table WHERE No. in series = 29 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.