instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query | When the under-11 was Aly Abou El Einen, who was the under-13? | SELECT Under-13 FROM table WHERE Under-11 = Aly Abou El Einen |
Translate the following into a SQL query | What is the election date for those politicians who left office on 1850-11-15? | SELECT COUNT Election date FROM table WHERE Left office = 1850-11-15 |
Translate the following into a SQL query | What are the election date for elections held in the province of Albacete? | SELECT Election date FROM table WHERE Province = Albacete |
Translate the following into a SQL query | What is the date in which a politician who left office on 1840-10-11 for a politician whose election number was 11? | SELECT Left office FROM table WHERE Election number = 11 |
Translate the following into a SQL query | In how many district has a politician took office on 1844-10-14? | SELECT District FROM table WHERE Took office = 1844-10-14 |
Translate the following into a SQL query | What are the dates of leaving office for politician from the province of Seville? | SELECT Left office FROM table WHERE Province = Seville |
Translate the following into a SQL query | When united arab emirates is the country how many fastest qualifying are there? | SELECT COUNT Fastest Qualifying FROM table WHERE Country = United Arab Emirates |
Translate the following into a SQL query | When cancelled is the fastest qualifying where is the location? | SELECT Location FROM table WHERE Fastest Qualifying = Cancelled |
Translate the following into a SQL query | When united arab emirates is the country what is the winning aircraft? | SELECT Winning Aircraft FROM table WHERE Country = United Arab Emirates |
Translate the following into a SQL query | List the number of assists against illinois-chicago. | SELECT Assists FROM table WHERE Opponent = Illinois-Chicago |
Translate the following into a SQL query | List the opposing team on february 15, 2003. | SELECT Opponent FROM table WHERE Date = February 15, 2003 |
Translate the following into a SQL query | List the number of recovers for player #2. | SELECT Rebounds FROM table WHERE # = 2 |
Translate the following into a SQL query | List the opposing team from february 22, 1983. | SELECT Opponent FROM table WHERE Date = February 22, 1983 |
Translate the following into a SQL query | List the lowest number of assists. | SELECT MIN Assists FROM table |
Translate the following into a SQL query | What is every value for Under-11 when value of under-17 is Salma Nassar? | SELECT Under-11 FROM table WHERE Under-17 = Salma Nassar |
Translate the following into a SQL query | What is every value for Under-13 when value for Under-15 is Maria Elena Ubina? | SELECT Under-13 FROM table WHERE Under-15 = Maria Elena Ubina |
Translate the following into a SQL query | What is every value for Under-17 if Under-15 is Maria Elena Ubina? | SELECT Under-17 FROM table WHERE Under-15 = Maria Elena Ubina |
Translate the following into a SQL query | What is every value for Under-11 if Under-19 is Leong Siu Lynn? | SELECT Under-11 FROM table WHERE Under-19 = Leong Siu Lynn |
Translate the following into a SQL query | Who is everyone Under-11 if Under-17 is Salma Nassar? | SELECT Under-11 FROM table WHERE Under-17 = Salma Nassar |
Translate the following into a SQL query | Who is every Under-15 if Under-11 is Reeham Sedky? | SELECT Under-15 FROM table WHERE Under-11 = Reeham Sedky |
Translate the following into a SQL query | How many couples had a vote percentage of 9.5%? | SELECT COUNT Rank FROM table WHERE Vote percentage = 9.5% |
Translate the following into a SQL query | What was the lowest judge rank for danny and frankie? | SELECT MIN Judges FROM table WHERE Couple = Danny and Frankie |
Translate the following into a SQL query | What couple had a total of 8? | SELECT Couple FROM table WHERE Total = 8 |
Translate the following into a SQL query | In what region was the change in % of the country's population since 1993 at 0.3? | SELECT Region FROM table WHERE Change in % of countrys population since 1993 = 0.3 |
Translate the following into a SQL query | What is the change in population since 1993 in the region where the % of country's population was 4.2? | SELECT COUNT Change in population since 1993 FROM table WHERE % of countrys population = 4.2 |
Translate the following into a SQL query | What is the change in % of the country's population since 1993 in the Lambayeque region? | SELECT Change in % of countrys population since 1993 FROM table WHERE Region = Lambayeque |
Translate the following into a SQL query | What is the broadcast are for channel 1? | SELECT Broadcast area FROM table WHERE Channel = 1 |
Translate the following into a SQL query | What is the call sign for channel 6? | SELECT Callsign FROM table WHERE Channel = 6 |
Translate the following into a SQL query | What is the channel number for TBS? | SELECT MIN Channel FROM table WHERE Channel name = TBS |
Translate the following into a SQL query | How many channels are there in the Greater Tokyo area? | SELECT COUNT Channel FROM table WHERE Broadcast area = Greater Tokyo |
Translate the following into a SQL query | What is the signal power for JOAB-DTV? | SELECT Signal power FROM table WHERE Callsign = JOAB-DTV |
Translate the following into a SQL query | How many times is the voting percentage 10.7% | SELECT COUNT Rank FROM table WHERE Vote percentage = 10.7% |
Translate the following into a SQL query | What is the vote percentage for the couple gary and maria? | SELECT Vote percentage FROM table WHERE Couple = Gary and Maria |
Translate the following into a SQL query | what couple had a vote percentage of 5.8%? | SELECT Couple FROM table WHERE Vote percentage = 5.8% |
Translate the following into a SQL query | What is the public when the vote percentage is 16.0% | SELECT Public FROM table WHERE Vote percentage = 16.0% |
Translate the following into a SQL query | How many judges were there when the result is safe with a vote percentage of 10.7%? | SELECT MIN Judges FROM table WHERE Result = Safe AND Vote percentage = 10.7% |
Translate the following into a SQL query | How many times was the vote percentage 15.0%? | SELECT COUNT Total FROM table WHERE Vote percentage = 15.0% |
Translate the following into a SQL query | What is the least place when the couple is Keiron & Brianne? | SELECT MIN Place FROM table WHERE Couple = Keiron & Brianne |
Translate the following into a SQL query | How many numbers of dances for place 1? | SELECT COUNT Number of dances FROM table WHERE Place = 1 |
Translate the following into a SQL query | How many ranks by average when Keiron & Brianne are the couple? | SELECT COUNT Rank by average FROM table WHERE Couple = Keiron & Brianne |
Translate the following into a SQL query | What is every average when number of dances is 1? | SELECT Average FROM table WHERE Number of dances = 1 |
Translate the following into a SQL query | How many ranks by average for the couple Tana and Stuart? | SELECT COUNT Rank by average FROM table WHERE Couple = Tana and Stuart |
Translate the following into a SQL query | Name the rank for mikey and melanie | SELECT Rank FROM table WHERE Couple = Mikey and Melanie |
Translate the following into a SQL query | Name the public for mikey and melanie | SELECT Public FROM table WHERE Couple = Mikey and Melanie |
Translate the following into a SQL query | Name the judges for 4 public | SELECT Judges FROM table WHERE Public = 4 |
Translate the following into a SQL query | Name the total number for 3 public | SELECT COUNT Total FROM table WHERE Public = 3 |
Translate the following into a SQL query | What is the number of directors for the film title Eldra? | SELECT COUNT Director FROM table WHERE Film title = Eldra |
Translate the following into a SQL query | What is the year (ceremony) for the film title Eldra? | SELECT Year (Ceremony) FROM table WHERE Film title = Eldra |
Translate the following into a SQL query | Who is the director for the film title Eldra? | SELECT Director FROM table WHERE Film title = Eldra |
Translate the following into a SQL query | In the year (ceremony) 1998 (71st), what are all the main languages? | SELECT Main Language(s) FROM table WHERE Year (Ceremony) = 1998 (71st) |
Translate the following into a SQL query | In the year (ceremony) 2009 (82nd), who are all the directors? | SELECT Director FROM table WHERE Year (Ceremony) = 2009 (82nd) |
Translate the following into a SQL query | In the year (ceremony) 1995 (68th), what is the film title? | SELECT Film title FROM table WHERE Year (Ceremony) = 1995 (68th) |
Translate the following into a SQL query | If the country of Origin is South Africa, who is the primary user? | SELECT primary user FROM table WHERE Country of origin = South Africa |
Translate the following into a SQL query | If the Country of Origin is Denmark and the year of introduction is 1962, what is the primary cartridge? | SELECT Primary cartridge FROM table WHERE Year of introduction = 1962 AND Country of origin = Denmark |
Translate the following into a SQL query | How many different years was the name/designation cetme? | SELECT COUNT Year of introduction FROM table WHERE Name / designation = CETME |
Translate the following into a SQL query | If the country of origin is switzerland, what is the name/ designation? | SELECT Name / designation FROM table WHERE Country of origin = Switzerland |
Translate the following into a SQL query | How many singles does Lisa Stansfield have? | SELECT COUNT Single FROM table WHERE Artist = Lisa Stansfield |
Translate the following into a SQL query | How many weeks in the top-10 did Beats International have? | SELECT Weeks in top 10 FROM table WHERE Artist = Beats International |
Translate the following into a SQL query | Name the final score for barcelona dragons | SELECT Final score FROM table WHERE Opponent = Barcelona Dragons |
Translate the following into a SQL query | Name the least week for l 26β42 | SELECT MIN Week FROM table WHERE Final score = L 26β42 |
Translate the following into a SQL query | Name the game site for l 26β42 | SELECT Game site FROM table WHERE Final score = L 26β42 |
Translate the following into a SQL query | Name the most attendance | SELECT MIN Attendance FROM table |
Translate the following into a SQL query | What is the elected year when the 2010 candidates were jesse stone (r) 93.51 diane evans (i) 6.49%? | SELECT Elected FROM table WHERE 2010 Candidates = Jesse Stone (R) 93.51 Diane Evans (I) 6.49% |
Translate the following into a SQL query | What is the party when 2010 candidates is gloria butler (d) unopposed? | SELECT Party FROM table WHERE 2010 Candidates = Gloria Butler (D) unopposed |
Translate the following into a SQL query | How many times were the 2010 candidates Judson hill (r) unopposed? | SELECT COUNT Elected FROM table WHERE 2010 Candidates = Judson Hill (R) unopposed |
Translate the following into a SQL query | What is the elected year when the party is democratic and the 2010 candidates is jason carter (d) unopposed? | SELECT Elected FROM table WHERE Party = Democratic AND 2010 Candidates = Jason Carter (D) unopposed |
Translate the following into a SQL query | Who is the incumbent when the elected year is 2004, the status is re-elected and the party is republican? | SELECT Incumbent FROM table WHERE Elected = 2004 AND Status = Re-elected AND Party = Republican |
Translate the following into a SQL query | what number is the episode "there will be bad blood" in the series? | SELECT MIN No. in series FROM table WHERE Title = "There Will Be Bad Blood" |
Translate the following into a SQL query | who wrote the episode having joe daniello as director with production code 6ajn05? | SELECT Written by FROM table WHERE Directed by = Joe Daniello AND Production code = 6AJN05 |
Translate the following into a SQL query | what title was given to the episode with production code 6ajn08? | SELECT Title FROM table WHERE Production code = 6AJN08 |
Translate the following into a SQL query | what is the production code of the episode viewed by 5.36 million u.s. people? | SELECT Production code FROM table WHERE U.S. viewers (millions) = 5.36 |
Translate the following into a SQL query | How many cast members had sydney walker as their fresh meat partner? | SELECT COUNT Hometown FROM table WHERE Fresh Meat Partner = Sydney Walker |
Translate the following into a SQL query | What alumni had noor jehangir as their fresh meat partner? | SELECT Alumni FROM table WHERE Fresh Meat Partner = Noor Jehangir |
Translate the following into a SQL query | What alumni were in rw: cancun as their original season? | SELECT Alumni FROM table WHERE Original season = RW: Cancun |
Translate the following into a SQL query | How many people were from portland, or? | SELECT COUNT Age FROM table WHERE Hometown = Portland, OR |
Translate the following into a SQL query | What conference is Tennessee? | SELECT Conference FROM table WHERE School = Tennessee |
Translate the following into a SQL query | What seed was California? | SELECT Seed FROM table WHERE School = California |
Translate the following into a SQL query | What is the Ξ΅ (m β1 cm β1 ) of the red dye? | SELECT Ξ΅ (M β1 cm β1 ) FROM table WHERE Color = red |
Translate the following into a SQL query | How much absorption in nm does the orange dye have? | SELECT MIN Absorb (nm) FROM table WHERE Color = orange |
Translate the following into a SQL query | What is the Ξ΅ (m β1 cm β1 ) of the orange flourescent dye? | SELECT Ξ΅ (M β1 cm β1 ) FROM table WHERE Color = orange |
Translate the following into a SQL query | What is the lowest dye absoprtion in nm? | SELECT MIN Absorb (nm) FROM table |
Translate the following into a SQL query | What is the name of chapter 8 of season 4? | SELECT Title FROM table WHERE No. in season = 8 |
Translate the following into a SQL query | What is the code of production in the chapter "high top fade-out" | SELECT COUNT Production code FROM table WHERE Title = "High Top Fade-Out" |
Translate the following into a SQL query | Who directed the episode entitled "From the Earth to the Starbucks"? | SELECT Directed by FROM table WHERE Title = "From the Earth to the Starbucks" |
Translate the following into a SQL query | How many different production codes are there for the episode with 4.69 million US viewers? | SELECT COUNT Production code FROM table WHERE U.S. viewers (millions) = 4.69 |
Translate the following into a SQL query | Who was in the 2005 film with the role mark cohen? | SELECT 2005 film FROM table WHERE Role = Mark Cohen |
Translate the following into a SQL query | Who had the 2008 final performance film when the 2011 off-broadway revival was annaleigh ashford? | SELECT 2008 Final Performance Film FROM table WHERE 2011 Off-Broadway Revival = Annaleigh Ashford |
Translate the following into a SQL query | who was in the 2005 role when the original broadway cast was played by jesse l. martin? | SELECT 2005 film FROM table WHERE Original Broadway Cast = Jesse L. Martin |
Translate the following into a SQL query | How many times was mj rodriguez cast? | SELECT COUNT Role FROM table WHERE 2011 Off-Broadway Revival = MJ Rodriguez |
Translate the following into a SQL query | Who wrote the episode that is production code 202? | SELECT Written by FROM table WHERE Production code = 202 |
Translate the following into a SQL query | How many millions of US viewers watched "Helen Back Again"? | SELECT U.S. viewers (millions) FROM table WHERE Title = "Helen Back Again" |
Translate the following into a SQL query | What title was watched by 3.8 million US viewers? | SELECT Title FROM table WHERE U.S. viewers (millions) = 3.8 |
Translate the following into a SQL query | What is the original air date of "Helen Back Again"? | SELECT Original air date FROM table WHERE Title = "Helen Back Again" |
Translate the following into a SQL query | What season number in the season has production code 210? | SELECT MIN No. in season FROM table WHERE Production code = 210 |
Translate the following into a SQL query | He wrote production number 102? | SELECT Written by FROM table WHERE Production code = 102 |
Translate the following into a SQL query | What is the title of the episode watched by 3.2 million viewers? | SELECT Title FROM table WHERE U.S. viewers (millions) = 3.2 |
Translate the following into a SQL query | What is the title of the episode with production code 305? | SELECT Title FROM table WHERE Production code = 305 |
Translate the following into a SQL query | How many air dates had 3.2 million viewers? | SELECT COUNT Original air date FROM table WHERE U.S. viewers (millions) = 3.2 |
Translate the following into a SQL query | What is the highest production code? | SELECT MAX Production code FROM table |
Translate the following into a SQL query | What are the point value(s) for when the athlete was Barney Berlinger? | SELECT Points FROM table WHERE Athlete = Barney Berlinger |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.