instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query | How many numbers are there for kam wa7ed fina? | SELECT COUNT No. FROM table WHERE Title = Kam Wa7ed Fina |
Translate the following into a SQL query | Who was the composer of te3rafy? | SELECT Composer FROM table WHERE Title = Te3rafy |
Translate the following into a SQL query | How many sound engineers were there for law hakon '3er leek? | SELECT COUNT Sound Engineer FROM table WHERE Title = Law Hakon '3er Leek |
Translate the following into a SQL query | Which number was the lyricist ahmed metwally? | SELECT No. FROM table WHERE Lyricist = Ahmed Metwally |
Translate the following into a SQL query | What was the site of the game that had an 11-4 score? | SELECT Site/Stadium FROM table WHERE Score = 11-4 |
Translate the following into a SQL query | What was the NCAA Tournament record after the June 26 game? | SELECT NCAAT Record FROM table WHERE Date = June 26 |
Translate the following into a SQL query | Who had the save in the game in which Duke (3-2) took the loss? | SELECT Save FROM table WHERE Loss = Duke (3-2) |
Translate the following into a SQL query | How many event dates occurred when event details were women's sabre? | SELECT COUNT Event Date FROM table WHERE Event Details = Women's Sabre |
Translate the following into a SQL query | What is every value for approximate duration when event details is women's foil? | SELECT Approx. Duration FROM table WHERE Event Details = Women's Foil |
Translate the following into a SQL query | What is every event date on Sunday with a starting time of 9:30 am? | SELECT Event Date FROM table WHERE Event Day = Sunday AND Starting Time = 9:30 am |
Translate the following into a SQL query | How many items appear in the viewers column when the draw is 2? | SELECT COUNT Viewers FROM table WHERE Draw = 2 |
Translate the following into a SQL query | How many viewers are the when the draw is 3? | SELECT MAX Viewers FROM table WHERE Draw = 3 |
Translate the following into a SQL query | How many juries are there when the draw is 3? | SELECT MAX Juries FROM table WHERE Draw = 3 |
Translate the following into a SQL query | How many juries are there for Brolle? | SELECT MAX Juries FROM table WHERE Artist = Brolle |
Translate the following into a SQL query | What are the former counties of the Great Grimsby district? | SELECT Former county FROM table WHERE District = Great Grimsby |
Translate the following into a SQL query | How many statuses are there for the Durham district? | SELECT COUNT Status FROM table WHERE District = Durham |
Translate the following into a SQL query | What are the statuses of the districts whose successor is Wiltshire? | SELECT Status FROM table WHERE Successor = Wiltshire |
Translate the following into a SQL query | What is the SDLP of Belfast? | SELECT MAX SDLP FROM table WHERE Council = Belfast |
Translate the following into a SQL query | What is the smallest Alliance where the total is 25? | SELECT MIN Alliance FROM table WHERE Total = 25 |
Translate the following into a SQL query | Who wrote the episode that 2.93 million viewers? | SELECT Written by FROM table WHERE U.S. viewers (million) = 2.93 |
Translate the following into a SQL query | What series number is the episode with production code bdf101? | SELECT MAX Series # FROM table WHERE Production code = BDF101 |
Translate the following into a SQL query | What series number is the episode entitled "Booty"? | SELECT MAX Series # FROM table WHERE Title = "Booty" |
Translate the following into a SQL query | What is the series number for the episode with production code bdf109? | SELECT Series # FROM table WHERE Production code = BDF109 |
Translate the following into a SQL query | Who directed the episode with the production code of 6AKY11? | SELECT Directed by FROM table WHERE Production code = 6AKY11 |
Translate the following into a SQL query | Who wrote the episode titled "The Feet on the Beach"? | SELECT Written by FROM table WHERE Title = "The Feet on the Beach" |
Translate the following into a SQL query | What number episode in the season was titled "The Blackout in the Blizzard"? | SELECT No. in season FROM table WHERE Title = "The Blackout in the Blizzard" |
Translate the following into a SQL query | How many millions of U.S. viewers watched the episode with the production code of 6AKY07? | SELECT U.S. viewers (millions) FROM table WHERE Production code = 6AKY07 |
Translate the following into a SQL query | What number episode in the series was watched by 10.96 million U.S. viewers? | SELECT MIN No. in series FROM table WHERE U.S. viewers (millions) = 10.96 |
Translate the following into a SQL query | What dance had a score total of 31? | SELECT Dance/song FROM table WHERE Total = 31 |
Translate the following into a SQL query | What was the result for the dance that tonioli's scored an 8 and horwood scored a 6? | SELECT Result FROM table WHERE Tonioli = 8 AND Horwood = 6 |
Translate the following into a SQL query | How many times did tonioli score a 9 when horwood scored a 6? | SELECT COUNT Total FROM table WHERE Tonioli = 9 AND Horwood = 6 |
Translate the following into a SQL query | On week 11 when Dixon scored an 8, what was tonioli's score? | SELECT Tonioli FROM table WHERE Week # = 11 AND Dixon = 8 |
Translate the following into a SQL query | How many winners from previous round were there in the semi finals? | SELECT Winners from previous round FROM table WHERE Round = Semi finals |
Translate the following into a SQL query | What was the round that had 32 winners from previous round? | SELECT Round FROM table WHERE Winners from previous round = 32 |
Translate the following into a SQL query | How many clubs were remaining in the preliminary round? | SELECT Clubs remaining FROM table WHERE Round = Preliminary round |
Translate the following into a SQL query | What was the round when there were 16 winners from the previous round? | SELECT Round FROM table WHERE Winners from previous round = 16 |
Translate the following into a SQL query | How many clubs were involved in the second round? | SELECT Clubs involved FROM table WHERE Round = Second round |
Translate the following into a SQL query | When grand prix de sar la princesse lalla meryem is the tournament what is the town? | SELECT Town FROM table WHERE Tournament = Grand Prix De SAR La Princesse Lalla Meryem |
Translate the following into a SQL query | When stuttgart is the town what is the type? | SELECT Type FROM table WHERE Town = Stuttgart |
Translate the following into a SQL query | who is the person that is part of the belgian vw club that works with frédéric miclotte | SELECT Driver FROM table WHERE Entrant = Belgian VW Club AND Co-driver = Frédéric Miclotte |
Translate the following into a SQL query | what is the type of vehicle driven by mark higgins | SELECT Car FROM table WHERE Driver = Mark Higgins |
Translate the following into a SQL query | what is the entry where the other person is zdeněk hrůza | SELECT Entrant FROM table WHERE Co-driver = Zdeněk Hrůza |
Translate the following into a SQL query | who is the other person where the assistant is paulo babo | SELECT Driver FROM table WHERE Co-driver = Paulo Babo |
Translate the following into a SQL query | what are all the people where the entries is peugeot sport polska | SELECT Driver FROM table WHERE Entrant = Peugeot Sport Polska |
Translate the following into a SQL query | Who wrote the episode that had 6.05 million U.s. viewers? | SELECT Written by FROM table WHERE U.S. viewers (million) = 6.05 |
Translate the following into a SQL query | How many production codes are there for the episode that had 4.36 million u.s. viewers? | SELECT COUNT Production code FROM table WHERE U.S. viewers (million) = 4.36 |
Translate the following into a SQL query | How many people wrote the episode that had 7.26 million u.s. viewers? | SELECT COUNT Written by FROM table WHERE U.S. viewers (million) = 7.26 |
Translate the following into a SQL query | How many million u.s. viewers saw the episode that was directed by roger young and written by debra j. fisher? | SELECT U.S. viewers (million) FROM table WHERE Directed by = Roger Young AND Written by = Debra J. Fisher |
Translate the following into a SQL query | What is the name of the episode written by David Matthews? | SELECT Title FROM table WHERE Written by = David Matthews |
Translate the following into a SQL query | What are the colors of the Hudson school? | SELECT Colors FROM table WHERE School = Hudson |
Translate the following into a SQL query | When were the members tenured in the Field school? | SELECT Tenure FROM table WHERE School = Field |
Translate the following into a SQL query | How many pick# for CFL team of Toronto Argonauts? | SELECT COUNT Pick # FROM table WHERE CFL Team = Toronto Argonauts |
Translate the following into a SQL query | What is every CFL team from the Calgary college? | SELECT CFL Team FROM table WHERE College = Calgary |
Translate the following into a SQL query | What is every position for the CFL Edmonton? | SELECT Position FROM table WHERE CFL Team = Edmonton |
Translate the following into a SQL query | What is every CFL team for the college of Calgary? | SELECT CFL Team FROM table WHERE College = Calgary |
Translate the following into a SQL query | What is every CFL team with pick#1? | SELECT CFL Team FROM table WHERE Pick # = 1 |
Translate the following into a SQL query | What is every CFL team with the player Mark Farraway? | SELECT CFL Team FROM table WHERE Player = Mark Farraway |
Translate the following into a SQL query | What draft pick number was Andy Brereton? | SELECT MIN Pick # FROM table WHERE Player = Andy Brereton |
Translate the following into a SQL query | What pick number was the player that was picked by Edmonton? | SELECT Pick # FROM table WHERE CFL Team = Edmonton |
Translate the following into a SQL query | What position did the draft pick going to saskatchewan play? | SELECT Position FROM table WHERE CFL Team = Saskatchewan |
Translate the following into a SQL query | What is the highest numbered draft pick? | SELECT MAX Pick # FROM table |
Translate the following into a SQL query | What CFL team got the player from york? | SELECT CFL Team FROM table WHERE College = York |
Translate the following into a SQL query | How many positions does Trent Bagnail play? | SELECT COUNT Position FROM table WHERE Player = Trent Bagnail |
Translate the following into a SQL query | What position was the player who was drafted by Edmonton? | SELECT Position FROM table WHERE CFL Team = Edmonton |
Translate the following into a SQL query | What college did the player whose position was RB go to? | SELECT College FROM table WHERE Position = RB |
Translate the following into a SQL query | What college did Francis Bellefroid go to? | SELECT College FROM table WHERE Player = Francis Bellefroid |
Translate the following into a SQL query | Which player was drafted by Winnipeg? | SELECT Player FROM table WHERE CFL Team = Winnipeg |
Translate the following into a SQL query | What college did the player who was drafted by Calgary go to? | SELECT College FROM table WHERE CFL Team = Calgary |
Translate the following into a SQL query | What was the height of representative #1? | SELECT Height FROM table WHERE Represent = 1 |
Translate the following into a SQL query | Which contestant was sponsored by Yogurt Vita Slim? | SELECT Contestant FROM table WHERE Sponsor = Yogurt Vita Slim |
Translate the following into a SQL query | What was the height of representative #6? | SELECT Height FROM table WHERE Represent = 6 |
Translate the following into a SQL query | how many people wrote the episode directed by rob schrab? | SELECT COUNT Written by FROM table WHERE Directed by = Rob Schrab |
Translate the following into a SQL query | name the title of the episode with production code 201 | SELECT Title FROM table WHERE Production code = 201 |
Translate the following into a SQL query | Who were the authors of the episode first broadcast on August 10, 2012? | SELECT Written by FROM table WHERE Original air date = August 10, 2012 |
Translate the following into a SQL query | How many million people in the US viewed the episode titled "Behind the Scenes"? | SELECT U.S. viewers (millions) FROM table WHERE Title = "Behind the Scenes" |
Translate the following into a SQL query | When was originally aired the episode with an audience of 1.57 million us viewers? | SELECT Original air date FROM table WHERE U.S. viewers (millions) = 1.57 |
Translate the following into a SQL query | What season number was assigned to the episode identified with the production code 401? | SELECT Season no. FROM table WHERE Production code = 401 |
Translate the following into a SQL query | List the number of assists for the DF. | SELECT MAX Total FROM table WHERE Position = DF |
Translate the following into a SQL query | List the lowest super league for a 0 champion league. | SELECT MIN Super League FROM table WHERE Champions League = 0 |
Translate the following into a SQL query | What is the minimum sum? | SELECT MIN Total FROM table |
Translate the following into a SQL query | What was the intermediate sprint classification for the race whose winner was Daniel Martin? | SELECT Intermediate Sprints Classification Klasyfikacja najaktywniejszych FROM table WHERE Winner = Daniel Martin |
Translate the following into a SQL query | Which teams classification winners had a general classification winner of Allan Davis? | SELECT Teams classification FROM table WHERE General classification Żółta koszulka = Allan Davis |
Translate the following into a SQL query | Who won the points classification when the teams classification winner was Lampre-Farnese? | SELECT Points classification Klasyfikacja punktowa FROM table WHERE Teams classification = Lampre-Farnese |
Translate the following into a SQL query | How do you say the ukrainian word дякую (diakuju) in English? | SELECT English word FROM table WHERE Ukrainian = Дякую (diakuju) |
Translate the following into a SQL query | How many words are there in rusyn for the bulgarian word купува (kupuva)? | SELECT COUNT Rusyn FROM table WHERE Bulgarian = купува (kupuva) |
Translate the following into a SQL query | Name the new adherents per year for buddhism | SELECT New adherents per year FROM table WHERE Religion = Buddhism |
Translate the following into a SQL query | Name the number of new adherents per year for confucianism | SELECT COUNT New adherents per year FROM table WHERE Religion = Confucianism |
Translate the following into a SQL query | Name the least births for conversion being 26,333 | SELECT MIN Births FROM table WHERE Conversions = 26,333 |
Translate the following into a SQL query | Name the least amount of new adherents per year | SELECT MIN New adherents per year FROM table |
Translate the following into a SQL query | Name the religion that has a growth rate of 1.56% | SELECT Religion FROM table WHERE Growth rate = 1.56% |
Translate the following into a SQL query | What is the length when the propulsion is controllable pitch propeller? | SELECT Length FROM table WHERE Propulsion = Controllable pitch propeller |
Translate the following into a SQL query | What is the max speed when the vessel is gallion? | SELECT Max Speed FROM table WHERE Vessel = Gallion |
Translate the following into a SQL query | How many breadth entries are there when the vessel is marianarray? | SELECT COUNT Breadth FROM table WHERE Vessel = Marianarray |
Translate the following into a SQL query | What is the propulsion when the vessel is marianarray? | SELECT Propulsion FROM table WHERE Vessel = Marianarray |
Translate the following into a SQL query | How many breadth entries are there when propulsion is jet? | SELECT COUNT Breadth FROM table WHERE Propulsion = Jet |
Translate the following into a SQL query | What is the production code for "chuck versus the balcony"? | SELECT Production code FROM table WHERE Title = "Chuck Versus the Balcony" |
Translate the following into a SQL query | What episode title had a production code of 3x6306? | SELECT Title FROM table WHERE Production code = 3X6306 |
Translate the following into a SQL query | What date did the episode with a production code of 3x6316 originally air? | SELECT Original air date FROM table WHERE Production code = 3X6316 |
Translate the following into a SQL query | Who won the mens doubles when wu yang won the womens singles? | SELECT Mens Doubles FROM table WHERE Womens Singles = Wu Yang |
Translate the following into a SQL query | What year and where was the tournament when fan ying won the womens singles? | SELECT Year Location FROM table WHERE Womens Singles = Fan Ying |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.