instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query | What numbered episode was directed by greg colton and written by patrick meighan? | SELECT No. (episode #) FROM table WHERE Directed by = Greg Colton AND Written by = Patrick Meighan |
Translate the following into a SQL query | Who directed # (season #) is 1 ( 2 )? | SELECT Directed by FROM table WHERE # (season #) = 1 ( 2 ) |
Translate the following into a SQL query | Who is everyone on the men's doubles when men's singles is Ma Wenge? | SELECT Mens Doubles FROM table WHERE Mens Singles = Ma Wenge |
Translate the following into a SQL query | Who are all men's doubles when men's singles is Jean-Michel Saive? | SELECT Mens Doubles FROM table WHERE Mens Singles = Jean-Michel Saive |
Translate the following into a SQL query | Who are all men's doubles when men's singles is Jean-Michel Saive? | SELECT Mens Doubles FROM table WHERE Mens Singles = Jean-Michel Saive |
Translate the following into a SQL query | Who are all hosts when men's singles is Ma Wenge? | SELECT Host FROM table WHERE Mens Singles = Ma Wenge |
Translate the following into a SQL query | How many people are women's singles in the season of 2000/01? | SELECT COUNT Womens Singles FROM table WHERE Season = 2000/01 |
Translate the following into a SQL query | Name the winners of the mens doubles in the season of 1963/64. | SELECT Mens Doubles FROM table WHERE Season = 1963/64 |
Translate the following into a SQL query | Who was the director of the episode with series number 116? | SELECT Directed by FROM table WHERE No. in series = 116 |
Translate the following into a SQL query | Who's the writer of the episode titled "Safe Haven"? | SELECT Written by FROM table WHERE Title = "Safe Haven" |
Translate the following into a SQL query | What's the title of the episode seen by 12.85 millions of people in the US? | SELECT Title FROM table WHERE U.S. viewers (millions) = 12.85 |
Translate the following into a SQL query | How many different people wrote the episode titled "Reflection of Desire"? | SELECT COUNT Written by FROM table WHERE Title = "Reflection of Desire" |
Translate the following into a SQL query | How many episodes had 11.86 million US viewers? | SELECT COUNT No. in Series FROM table WHERE U.S. viewers (millions) = 11.86 |
Translate the following into a SQL query | What is the title(s) of episodes written by aron eli coleite? | SELECT Title FROM table WHERE Written by = Aron Eli Coleite |
Translate the following into a SQL query | What are the original air date(s) for episodes written by aron eli coleite? | SELECT Original air date FROM table WHERE Written by = Aron Eli Coleite |
Translate the following into a SQL query | How many episodes were titled "second chances"? | SELECT COUNT U.S. viewers (millions) FROM table WHERE Title = "Second Chances" |
Translate the following into a SQL query | how many producers are responsible for the song 'calling out to marlboro? | SELECT COUNT Producer (s) FROM table WHERE Song (s) = Calling Out to Marlboro |
Translate the following into a SQL query | what was the first year that kid creole and the coconuts recorded with I Too Have Seen The Woods / Sire Records? | SELECT MIN Year FROM table WHERE Artist = Kid Creole and the Coconuts |
Translate the following into a SQL query | How many seasons are there with Formula Holden? | SELECT COUNT Seasons FROM table WHERE Series = Formula Holden |
Translate the following into a SQL query | How many poles are there with 2 races? | SELECT MAX Poles FROM table WHERE Races = 2 |
Translate the following into a SQL query | What's the most amount of point finishes for v8supercar? | SELECT MAX Point Finishes (Non-podium) FROM table WHERE Series = V8Supercar |
Translate the following into a SQL query | How many people had high rebounds in game 14? | SELECT COUNT High rebounds FROM table WHERE Game = 14 |
Translate the following into a SQL query | What is every score when the date is January 2? | SELECT Score FROM table WHERE Date = January 2 |
Translate the following into a SQL query | What was the highest number of students in attendance for the university of north texas? | SELECT MAX Enrollment FROM table WHERE Institution = University of North Texas |
Translate the following into a SQL query | What is the mascot for texas tech university? | SELECT Team Nickname FROM table WHERE Institution = Texas Tech University |
Translate the following into a SQL query | What is the total enrollment for private/ disciples of christ? | SELECT Enrollment FROM table WHERE Affiliation = Private/ Disciples of Christ |
Translate the following into a SQL query | How many mascotts are there for college station, texas | SELECT COUNT Team Nickname FROM table WHERE Location = College Station, Texas |
Translate the following into a SQL query | List the highest number of students in attendance for the institution that started in 1923. | SELECT MAX Enrollment FROM table WHERE Founded = 1923 |
Translate the following into a SQL query | How many next in lines had heirs of Archduke Karl? | SELECT COUNT Next in line FROM table WHERE Heir = Archduke Karl |
Translate the following into a SQL query | Which team has a song based on "wee deoch an doris"? | SELECT Club name FROM table WHERE Basis for team song = "Wee Deoch an Doris" |
Translate the following into a SQL query | Name the team that has a song writer named larry spokes. | SELECT Club name FROM table WHERE Writer/composer = Larry Spokes |
Translate the following into a SQL query | How man teams have a writer named harry angus? | SELECT COUNT Name of team song FROM table WHERE Writer/composer = Harry Angus |
Translate the following into a SQL query | Name the team anthem that was written by quentin eyers and les kaczmarek. | SELECT Name of team song FROM table WHERE Writer/composer = Quentin Eyers and Les Kaczmarek |
Translate the following into a SQL query | How many team songs does fremantle have? | SELECT COUNT Basis for team song FROM table WHERE Club name = Fremantle |
Translate the following into a SQL query | What is the name of the team song written by ken walther? | SELECT Basis for team song FROM table WHERE Writer/composer = Ken Walther |
Translate the following into a SQL query | In how many different years was the team nicknamed Comets founded? | SELECT COUNT Founded FROM table WHERE Team Nickname = Comets |
Translate the following into a SQL query | What's the nickname of the team with enrollment of 40747? | SELECT Team Nickname FROM table WHERE Enrollment = 40747 |
Translate the following into a SQL query | What school is located in Huntsville, Texas? | SELECT Institution FROM table WHERE Location = Huntsville, Texas |
Translate the following into a SQL query | How many students are enrolled in the team nicknamed Comets? | SELECT Enrollment FROM table WHERE Team Nickname = Comets |
Translate the following into a SQL query | Name the number of tenants for russia at the saransk stadium | SELECT COUNT Tenant FROM table WHERE Country = Russia AND Stadium = Saransk Stadium |
Translate the following into a SQL query | Name the country for lusail national stadium | SELECT Country FROM table WHERE Stadium = Lusail National Stadium |
Translate the following into a SQL query | Name the city for los angeles stadium | SELECT City FROM table WHERE Stadium = Los Angeles Stadium |
Translate the following into a SQL query | Name the stadium for nizhny novgorod | SELECT Stadium FROM table WHERE City = Nizhny Novgorod |
Translate the following into a SQL query | Name the country for athens | SELECT COUNT Country FROM table WHERE City = Athens |
Translate the following into a SQL query | When did the episode 1.13 air for the first time? | SELECT Date Aired FROM table WHERE Episode = 1.13 |
Translate the following into a SQL query | What's the weekly rank of episode 1.03? | SELECT Weekly Rank FROM table WHERE Episode = 1.03 |
Translate the following into a SQL query | What is the rating of episode 1.04? | SELECT Rating FROM table WHERE Episode = 1.04 |
Translate the following into a SQL query | How many items are listed under caps when burnley is the club team? | SELECT COUNT Cap(s) FROM table WHERE Club(s) = Burnley |
Translate the following into a SQL query | What club did the championship player come from who had 10 goals? | SELECT Club(s) FROM table WHERE Goal(s) = 10 |
Translate the following into a SQL query | How many goals did the player from Ipswich town score? | SELECT MIN Goal(s) FROM table WHERE Club(s) = Ipswich Town |
Translate the following into a SQL query | When 16 is the cap who is the player? | SELECT Player FROM table WHERE Cap(s) = 16 |
Translate the following into a SQL query | When 2010 v australia is the interantional debut what is the club? | SELECT Club(s) FROM table WHERE International Debut = 2010 v Australia |
Translate the following into a SQL query | When winston reid category:articles with hcards is the player what is the club? | SELECT Club(s) FROM table WHERE Player = Winston Reid Category:Articles with hCards |
Translate the following into a SQL query | When tommy smith category:articles with hcards is the player and 1 is the goal how many cap(s) are there? | SELECT COUNT Cap(s) FROM table WHERE Goal(s) = 1 AND Player = Tommy Smith Category:Articles with hCards |
Translate the following into a SQL query | When rory fallon category:articles with hcards is the player when is the international debut? | SELECT International Debut FROM table WHERE Player = Rory Fallon Category:Articles with hCards |
Translate the following into a SQL query | What is th title of the episode written by Nick Thiel? | SELECT Title FROM table WHERE Written by = Nick Thiel |
Translate the following into a SQL query | How many million u.s. viewers watched the episode with a production code of 2t7004? | SELECT U.S. viewers (millions) FROM table WHERE Production code = 2T7004 |
Translate the following into a SQL query | What is the name of the episode that was directed by Dennis Smith? | SELECT Title FROM table WHERE Directed by = Dennis Smith |
Translate the following into a SQL query | What date did "The runner" originally air on? | SELECT Original air date FROM table WHERE Title = "The Runner" |
Translate the following into a SQL query | What is the name of the episode nick thiel wrote? | SELECT Title FROM table WHERE Written by = Nick Thiel |
Translate the following into a SQL query | How many site entries are there at 3:30pm and the visiting team is coastal carolina? | SELECT COUNT Site FROM table WHERE Time = 3:30pm AND Visiting team = Coastal Carolina |
Translate the following into a SQL query | What is the result when the visiting team is syracuse? | SELECT Result FROM table WHERE Visiting team = Syracuse |
Translate the following into a SQL query | When svein tuft is the winner what is the highest stage? | SELECT MAX Stage FROM table WHERE Winner = Svein Tuft |
Translate the following into a SQL query | when svein tuft is the winner how many stages are there? | SELECT COUNT Stage FROM table WHERE Winner = Svein Tuft |
Translate the following into a SQL query | when hayden roulston is the winner what is the team classification? | SELECT Team classification FROM table WHERE Winner = Hayden Roulston |
Translate the following into a SQL query | When michael reihs is the mountains classification what is the stage? | SELECT Stage FROM table WHERE Mountains classification = Michael Reihs |
Translate the following into a SQL query | When michael van stayen is the points classification what is the team classification? | SELECT Team classification FROM table WHERE Points classification = Michael Van Stayen |
Translate the following into a SQL query | When hayden roulston is the winner what is the stage? | SELECT Stage FROM table WHERE Winner = Hayden Roulston |
Translate the following into a SQL query | What date was the game where Texas Southern was the visiting team? | SELECT Date FROM table WHERE Visiting team = Texas Southern |
Translate the following into a SQL query | How many Connecticut home games were broadcast? | SELECT COUNT Broadcast FROM table WHERE Home team = Connecticut |
Translate the following into a SQL query | In what facility was Pittsburgh's home game played? | SELECT Site FROM table WHERE Home team = Pittsburgh |
Translate the following into a SQL query | What was the final score of Washington's home game? | SELECT Result FROM table WHERE Home team = Washington |
Translate the following into a SQL query | Where is the team that has a stadium capable of a capacity of 10,517 5,006 located? | SELECT Location FROM table WHERE Capacity = 10,517 5,006 |
Translate the following into a SQL query | Where is the home venue of the team founded in 1993? | SELECT Home Venue FROM table WHERE Founded = 1993 |
Translate the following into a SQL query | How long has the team who owns North Shore Events Centre Vector Arena been active? | SELECT Years Active FROM table WHERE Home Venue = North Shore Events Centre Vector Arena |
Translate the following into a SQL query | What is the capacity for the Home Venue of the New Zealand Breakers club? | SELECT Capacity FROM table WHERE Club = New Zealand Breakers |
Translate the following into a SQL query | Who directed "From Russia With Love"? | SELECT Directed by FROM table WHERE Title = "From Russia With Love" |
Translate the following into a SQL query | How many episodes were directed by Jeff Melman and 1.21million viewers? | SELECT MIN No. in season FROM table WHERE Directed by = Jeff Melman AND U.S. viewers (millions) = 1.21 |
Translate the following into a SQL query | What air date had 1.01 million U.S. viewers? | SELECT Original air date FROM table WHERE U.S. viewers (millions) = 1.01 |
Translate the following into a SQL query | Name the aircraft type for furstenau/vorden | SELECT Aircraft Type FROM table WHERE Geschwader Base = Furstenau/Vorden |
Translate the following into a SQL query | Name the parent unit for ludwig franzisket | SELECT Parent unit FROM table WHERE Commanding Officer = Ludwig Franzisket |
Translate the following into a SQL query | Name the aircraft type for jagdgeschwader 6 | SELECT Aircraft Type FROM table WHERE Parent unit = Jagdgeschwader 6 |
Translate the following into a SQL query | Name the aircraft type for jagdgeschwader 26 | SELECT Aircraft Type FROM table WHERE Parent unit = Jagdgeschwader 26 |
Translate the following into a SQL query | Name the parent unit for josef priller | SELECT Parent unit FROM table WHERE Commanding Officer = Josef Priller |
Translate the following into a SQL query | Name who directed the episode "bro-lo el cuñado" | SELECT Directed by FROM table WHERE Title = "Bro-Lo El Cuñado" |
Translate the following into a SQL query | Name the production code for number 8 | SELECT Production code FROM table WHERE # = 8 |
Translate the following into a SQL query | Name the least number for xle02007 | SELECT MIN No. FROM table WHERE Production code = XLE02007 |
Translate the following into a SQL query | Who wrote the episode with the code xle05012? | SELECT Written by FROM table WHERE Production code = XLE05012 |
Translate the following into a SQL query | what are the numbers of episodes that had 0.79 million US views? | SELECT # FROM table WHERE U.S. viewers (million) = 0.79 |
Translate the following into a SQL query | What female fenced with a saber on the team that had an average fencer rank of 3.5? | SELECT Female saber FROM table WHERE Average fencers rank = 3.5 |
Translate the following into a SQL query | What team had an average fencer rank of 1.33? | SELECT Team FROM table WHERE Average fencers rank = 1.33 |
Translate the following into a SQL query | What is the name of the corporation that incorporated on october 15, 1955? | SELECT Corporate name FROM table WHERE Incorporation date (city) = October 15, 1955 |
Translate the following into a SQL query | What is the area of the corporation named the powell river, the corporation of the city of? | SELECT Area (km²) FROM table WHERE Corporate name = Powell River, The Corporation of the City of |
Translate the following into a SQL query | How many Area's are there for Armstrong? | SELECT COUNT Area (km²) FROM table WHERE Name = Armstrong |
Translate the following into a SQL query | What is the name of the city which incorporated on july 16, 1860? | SELECT Name FROM table WHERE Incorporation date (city) = July 16, 1860 |
Translate the following into a SQL query | What is the name of the corporation with an area of 15.63 km? | SELECT Corporate name FROM table WHERE Area (km²) = 15.63 |
Translate the following into a SQL query | How many areas are there for the corporation named fort st. john, city of? | SELECT COUNT Area (km²) FROM table WHERE Corporate name = Fort St. John, City of |
Translate the following into a SQL query | What was Emma Bunton's score for the performance with a total score of 22? | SELECT Emma Bunton FROM table WHERE Total = 22 |
Translate the following into a SQL query | What was the total score when the guest judge gave a score of 10? | SELECT Total FROM table WHERE Guest Judge = 10 |
Translate the following into a SQL query | how many millions of north american viewers had the episode called "smother"? | SELECT U.S. viewers (million) FROM table WHERE Title = "Smother" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.