instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query | How many verbs mean to grow, to produce | SELECT COUNT Part 1 FROM table WHERE Verb meaning = to grow, to produce |
Translate the following into a SQL query | Who wrote the episode "The Dream Lover", which was viewed by 3.96 million viewers? | SELECT Written by FROM table WHERE U.S. viewers (million) = 3.96 |
Translate the following into a SQL query | What is the original air date of episode 8? Answer: Dec. 21, 2006 | SELECT COUNT Original airdate FROM table WHERE Episode # = 8 |
Translate the following into a SQL query | Who wrote the episode "The Cold Turkey", which was viewed by 3.73 million viewers? | SELECT Written by FROM table WHERE U.S. viewers (million) = 3.73 |
Translate the following into a SQL query | What is the production code of the episode "The Night Moves", which was directed by Patrick Norris? | SELECT Production Code FROM table WHERE Directed by = Patrick Norris AND Title = "The Night Moves" |
Translate the following into a SQL query | Who wrote episode 11? | SELECT Written by FROM table WHERE Episode # = 11 |
Translate the following into a SQL query | What was the original airdate of the episode "The Cold Turkey", which was viewed by 3.73 million viewers? | SELECT Original airdate FROM table WHERE U.S. viewers (million) = 3.73 |
Translate the following into a SQL query | Name the class for boten | SELECT Class FROM table WHERE Part 3 = boten |
Translate the following into a SQL query | Name the part 3 for treffen | SELECT Part 3 FROM table WHERE Part 1 = treffen |
Translate the following into a SQL query | Name the part one for to give | SELECT Part 1 FROM table WHERE Verb meaning = to give |
Translate the following into a SQL query | Name the class for schliefen | SELECT Class FROM table WHERE Part 3 = schliefen |
Translate the following into a SQL query | Name the verb meaning for half drosch | SELECT Verb meaning FROM table WHERE Part 2 = half drosch |
Translate the following into a SQL query | If the product code is 2t6267, who was the director? | SELECT Directed by FROM table WHERE Production Code = 2T6267 |
Translate the following into a SQL query | What is the air date when the U.S. viewers was 5.50 million? | SELECT Original airdate FROM table WHERE U.S. viewers (million) = 5.50 |
Translate the following into a SQL query | Who were the writers for production code 2t6268? | SELECT Written by FROM table WHERE Production Code = 2T6268 |
Translate the following into a SQL query | Name the number of builders for number 96 | SELECT COUNT Builder FROM table WHERE Number = 96 |
Translate the following into a SQL query | Name the builder for date built is january 1910 | SELECT Builder FROM table WHERE Date built = January 1910 |
Translate the following into a SQL query | Name the disposition for date built is march 1909 | SELECT Disposition FROM table WHERE Date built = March 1909 |
Translate the following into a SQL query | What is the title of episode number 96 in the series? | SELECT Title FROM table WHERE No. in series = 96 |
Translate the following into a SQL query | What number in season is the episode directed by Gene Stupnitsky? | SELECT No. in season FROM table WHERE Directed by = Gene Stupnitsky |
Translate the following into a SQL query | How many viewers did the episode written by Warren Lieberstein & Halsted Sullivan have? | SELECT U.S. viewers (millions) FROM table WHERE Written by = Warren Lieberstein & Halsted Sullivan |
Translate the following into a SQL query | How many writers are listed for the episode with a production code of 5008? | SELECT COUNT Written by FROM table WHERE Production code = 5008 |
Translate the following into a SQL query | What number in the series are the episodes with production code 5016/5017? | SELECT No. in series FROM table WHERE Production code = 5016/5017 |
Translate the following into a SQL query | How many locations have the call signs dxjp-fm? | SELECT COUNT Location FROM table WHERE Callsign = DXJP-FM |
Translate the following into a SQL query | What is the call sign of the station with the frequency of 90.3mhz | SELECT Callsign FROM table WHERE Frequency = 90.3MHz |
Translate the following into a SQL query | What is the call sign for the station that uses the branding, mom's radio 101.5 tacloban? | SELECT Callsign FROM table WHERE Branding = Mom's Radio 101.5 Tacloban |
Translate the following into a SQL query | What is the branding for stations located in Cebu? | SELECT Branding FROM table WHERE Location = Cebu |
Translate the following into a SQL query | Which eagle riders whose ova (harmony gold dub) is dr. kozaburo nambu? | SELECT Eagle Riders FROM table WHERE OVA (Harmony Gold Dub) = Dr. Kozaburo Nambu |
Translate the following into a SQL query | Which battle of the planets where ova (harmony gold dub) is solaris? | SELECT Battle of the Planets FROM table WHERE OVA (Harmony Gold Dub) = Solaris |
Translate the following into a SQL query | Which eagle riders have battle of the planets as zoltar? | SELECT Eagle Riders FROM table WHERE Battle of the Planets = Zoltar |
Translate the following into a SQL query | Which gatchaman has eagle riders as lukan? | SELECT Gatchaman FROM table WHERE Eagle Riders = Lukan |
Translate the following into a SQL query | What eagle riders where ova (harmony gold dub) is lord zortek? | SELECT Eagle Riders FROM table WHERE OVA (Harmony Gold Dub) = Lord Zortek |
Translate the following into a SQL query | What pregame host was on espn and had taylor twellman color commentating? | SELECT Pregame host FROM table WHERE Network = ESPN AND Color commentator = Taylor Twellman |
Translate the following into a SQL query | What pregame analyst(s) had rob stone and monica gonzalez as sideline reporters and were on tsn2? | SELECT Pregame analysts FROM table WHERE Sideline reporters = Rob Stone and Monica Gonzalez AND Network = TSN2 |
Translate the following into a SQL query | What color commentator(s) were in 2010? | SELECT Color commentator FROM table WHERE Year = 2010 |
Translate the following into a SQL query | What is the last year that had sideline reporters rob stone and monica gonzalez? | SELECT MAX Year FROM table WHERE Sideline reporters = Rob Stone and Monica Gonzalez |
Translate the following into a SQL query | Who had the play-by-play on espn with sideline reporter monica gonzalez? | SELECT Play-by-play FROM table WHERE Network = ESPN AND Sideline reporters = Monica Gonzalez |
Translate the following into a SQL query | What was the name of race #28? | SELECT Name FROM table WHERE Number = 28 |
Translate the following into a SQL query | The Eyserweg race was which race #? | SELECT MAX Number FROM table WHERE Name = Eyserweg |
Translate the following into a SQL query | Which race had an average climb of 40%? | SELECT Location FROM table WHERE Average climb (%) = 40 |
Translate the following into a SQL query | The Keutenberg race had what race length? | SELECT MAX Length (in m) FROM table WHERE Name = Keutenberg |
Translate the following into a SQL query | In the Champions league, what is the Minimum | SELECT MIN Champions League FROM table |
Translate the following into a SQL query | In the Champions league is the forward position smaller than 6.0 | SELECT COUNT Champions League FROM table WHERE Position = Forward AND League < 6.0 |
Translate the following into a SQL query | when the total is 8 and copa del rey is 0 what is the minimum league | SELECT MIN League FROM table WHERE Total = 8 AND Copa del Rey = 0 |
Translate the following into a SQL query | when the position is forward and the league is 5 what number is the Champion league | SELECT COUNT Champions League FROM table WHERE League = 5 AND Position = Forward |
Translate the following into a SQL query | if p is bigger than 4.0 what is total number | SELECT COUNT Total FROM table WHERE P > 4.0 |
Translate the following into a SQL query | What was the 2008 election status when glenn nye was the running democrat? | SELECT 2008 Status FROM table WHERE Democratic = Glenn Nye |
Translate the following into a SQL query | Who was the republican candidate in the race with incumbent thelma drake? | SELECT Republican FROM table WHERE Incumbent = Thelma Drake |
Translate the following into a SQL query | How many districts had republican Bob Goodlatte as a candidate? | SELECT COUNT District FROM table WHERE Republican = Bob Goodlatte |
Translate the following into a SQL query | Who was the democratic candidate when the republican was frank wolf? | SELECT Democratic FROM table WHERE Republican = Frank Wolf |
Translate the following into a SQL query | How many won when points against is 410? | SELECT COUNT Won FROM table WHERE Points against = 410 |
Translate the following into a SQL query | How many bonus points are there when points for is 385? | SELECT Bonus Points FROM table WHERE Points for = 385 |
Translate the following into a SQL query | How many clubs have 62 points? | SELECT COUNT Club FROM table WHERE Points = 62 |
Translate the following into a SQL query | How many bonus points were won by 5? | SELECT Bonus Points FROM table WHERE Won = 5 |
Translate the following into a SQL query | How many have been played for 362 points? | SELECT Played FROM table WHERE Points for = 362 |
Translate the following into a SQL query | How many points against have a lose of 13? | SELECT Points against FROM table WHERE Lost = 13 |
Translate the following into a SQL query | What is the highest possible level? | SELECT MAX Level FROM table |
Translate the following into a SQL query | What is the shuttle time for the level where the speed is 15.5 km/h? | SELECT Shuttle Time (seconds) FROM table WHERE Speed (km/h) = 15.5 |
Translate the following into a SQL query | What is the fewest number of shuttles where the shuttle time is 6.55 seconds? | SELECT MIN Shuttles FROM table WHERE Shuttle Time (seconds) = 6.55 |
Translate the following into a SQL query | What is the distance (in meters) when the shuttle time is 6.86 seconds? | SELECT MIN Distance (m) FROM table WHERE Shuttle Time (seconds) = 6.86 |
Translate the following into a SQL query | Name the number of lead margin for republican joe kenney being 31% | SELECT COUNT Lead Margin FROM table WHERE Republican: Joe Kenney = 31% |
Translate the following into a SQL query | Namethe democrat john lynch for joe kenney being 27% | SELECT Democrat: John Lynch FROM table WHERE Republican: Joe Kenney = 27% |
Translate the following into a SQL query | Name the poll source for republican joe kenney being 28% | SELECT Poll Source FROM table WHERE Republican: Joe Kenney = 28% |
Translate the following into a SQL query | Name the lead margin for democrat john lynch being 62% | SELECT Lead Margin FROM table WHERE Democrat: John Lynch = 62% |
Translate the following into a SQL query | Name the most lead margin for republican joe kenney being 23% | SELECT MAX Lead Margin FROM table WHERE Republican: Joe Kenney = 23% |
Translate the following into a SQL query | How many 3rd ru does Costa Rica have? | SELECT MAX 3rd RU FROM table WHERE Country = Costa Rica |
Translate the following into a SQL query | How many 3rd ru does Canada have? | SELECT COUNT 3rd RU FROM table WHERE Country = Canada |
Translate the following into a SQL query | What is the least number of miss united continents? | SELECT MIN Miss United Continent FROM table |
Translate the following into a SQL query | Who's the poll source that claimed the Lead Margin was 17 and the Democrat: Jay Nixon had 54% of the votes? | SELECT Poll Source FROM table WHERE Democrat: Jay Nixon = 54% AND Lead Margin = 17 |
Translate the following into a SQL query | What poll source claimed that Republican: Kenny Hulshof had 43%? | SELECT Poll Source FROM table WHERE Republican: Kenny Hulshof = 43% |
Translate the following into a SQL query | How many different lead margins were stated in the poll administered on September 11, 2008? | SELECT COUNT Lead Margin FROM table WHERE Dates administered = September 11, 2008 |
Translate the following into a SQL query | What percentage was claimed that Republican: Kenny Hulshof got in the poll that also claimed Democrat: Jay Nixon got 48%? | SELECT Republican: Kenny Hulshof FROM table WHERE Democrat: Jay Nixon = 48% |
Translate the following into a SQL query | Name the common name for rhampholeon spectrum | SELECT Common name FROM table WHERE Scientific name = Rhampholeon spectrum |
Translate the following into a SQL query | Name the scientific name for veiled chameleon | SELECT Scientific name FROM table WHERE Common name = Veiled chameleon |
Translate the following into a SQL query | Name the common name for furcifer pardalis | SELECT Common name FROM table WHERE Scientific name = Furcifer pardalis |
Translate the following into a SQL query | Name the number of color for furcifer pardalis | SELECT COUNT Color FROM table WHERE Scientific name = Furcifer pardalis |
Translate the following into a SQL query | Name the number of international frieghts for domestic mail of 260 | SELECT COUNT International freight FROM table WHERE Domestic mail = 260 |
Translate the following into a SQL query | Name the total number of domestic mail for 7853 for total frieght and mail | SELECT COUNT Domestic mail FROM table WHERE Total freight and mail = 7853 |
Translate the following into a SQL query | Namw the total number for domestic freight for international mail is larger than 1.0 with domestic mail for 260 | SELECT COUNT Domestic freight FROM table WHERE International mail > 1.0 AND Domestic mail = 260 |
Translate the following into a SQL query | What was the highest vote for others? | SELECT MAX Others# FROM table |
Translate the following into a SQL query | When the result was +2.5, what were the kerry%? | SELECT Kerry% FROM table WHERE 2000 result = +2.5 |
Translate the following into a SQL query | When Kerry# was 199060, what was the percentage? | SELECT Kerry% FROM table WHERE Kerry# = 199060 |
Translate the following into a SQL query | What was the highest vote number for Bush? | SELECT MAX Bush# FROM table |
Translate the following into a SQL query | When the 200 result was +1.6, what was the percentage? | SELECT Kerry% FROM table WHERE 2000 result = +1.6 |
Translate the following into a SQL query | How many transfer windows coming from Crystal Palace? | SELECT COUNT Transfer window FROM table WHERE Moving from = Crystal Palace |
Translate the following into a SQL query | What country has a P of GK? | SELECT Country FROM table WHERE P = GK |
Translate the following into a SQL query | What is the P for the player moving from Everton? | SELECT P FROM table WHERE Moving from = Everton |
Translate the following into a SQL query | Name the competition of panathinaikos | SELECT Competition FROM table WHERE Opposition = Panathinaikos |
Translate the following into a SQL query | What is every value for viewers for ranking #51 for the Tuesday 9:00 p.m. timeslot? | SELECT Viewers (in millions) FROM table WHERE Ranking = #51 AND Timeslot = Tuesday 9:00 p.m. |
Translate the following into a SQL query | What finales took place in the Tuesday 9:30 p.m. timeslot? | SELECT Finale FROM table WHERE Timeslot = Tuesday 9:30 p.m. |
Translate the following into a SQL query | What premieres had a finale on May 25, 2004? | SELECT Premiere FROM table WHERE Finale = May 25, 2004 |
Translate the following into a SQL query | What seasons had a finale on May 25, 2004? | SELECT Season FROM table WHERE Finale = May 25, 2004 |
Translate the following into a SQL query | What seasons had a ranking of #47? | SELECT Season FROM table WHERE Ranking = #47 |
Translate the following into a SQL query | What are all values for viewers for 1st season? | SELECT Viewers (in millions) FROM table WHERE Season = 1st |
Translate the following into a SQL query | What is the withdraw date for secr no. 771? | SELECT Date Withdrawn FROM table WHERE SECR No. = 771 |
Translate the following into a SQL query | Who is the builder for br no. 31779? | SELECT Builder FROM table WHERE BR No. = 31779 |
Translate the following into a SQL query | what ist he country where the loan club is fulham? | SELECT Country FROM table WHERE Loan Club = Fulham |
Translate the following into a SQL query | what ist he total number of ages where the start date is 6 november? | SELECT COUNT Age FROM table WHERE Started = 6 November |
Translate the following into a SQL query | What was the name of eipsode 618? | SELECT Title FROM table WHERE Production code = 618 |
Translate the following into a SQL query | When did "secrets" air? | SELECT Original air date FROM table WHERE Title = "Secrets" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.