instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query | Who is the original artist of the song choice " Under My Thumb "? | SELECT Original artist FROM table WHERE Song choice = " Under My Thumb " |
Translate the following into a SQL query | How many themes are there where the order # is 9? | SELECT COUNT Theme FROM table WHERE Order # = 9 |
Translate the following into a SQL query | The order # is what for the week # Top 10? | SELECT Order # FROM table WHERE Week # = Top 10 |
Translate the following into a SQL query | The original artist The Temptations has what week #? | SELECT Week # FROM table WHERE Original artist = The Temptations |
Translate the following into a SQL query | Name the total number of founded for public and 780 enrollment | SELECT COUNT Founded FROM table WHERE Type = Public AND Enrollment = 780 |
Translate the following into a SQL query | Name the founded for school closed in 2005 | SELECT Founded FROM table WHERE Current Conference = school closed in 2005 |
Translate the following into a SQL query | what is the nickname that joined 1902 1? | SELECT Nickname FROM table WHERE Joined = 1902 1 |
Translate the following into a SQL query | what type of institution is ottawa university? | SELECT Type FROM table WHERE Institution = Ottawa University |
Translate the following into a SQL query | what is the total number of nicknames for southwestern college? | SELECT COUNT Nickname FROM table WHERE Institution = Southwestern College |
Translate the following into a SQL query | what type was joined in 1902 5? | SELECT Type FROM table WHERE Joined = 1902 5 |
Translate the following into a SQL query | what is the institution located in north newton, kansas? | SELECT Institution FROM table WHERE Location = North Newton, Kansas |
Translate the following into a SQL query | Name the place that was founded in 1920 | SELECT Institution FROM table WHERE Founded = 1920 |
Translate the following into a SQL query | Name the type that joined 2007 | SELECT Type FROM table WHERE Joined = 2007 |
Translate the following into a SQL query | how many series had 6.55 u.s. viewers (million) and were directed by pete michels | SELECT COUNT No. in series FROM table WHERE U.S. viewers (million) = 6.55 AND Directed by = Pete Michels |
Translate the following into a SQL query | how many series have production code 8acx05 | SELECT No. in series FROM table WHERE Production code = 8ACX05 |
Translate the following into a SQL query | how many u.s. viewers (million) have seen a production written by chris sheridan & danny smith | SELECT COUNT U.S. viewers (million) FROM table WHERE Written by = Chris Sheridan & Danny Smith |
Translate the following into a SQL query | which production codes were written by andrew goldberg | SELECT Production code FROM table WHERE Written by = Andrew Goldberg |
Translate the following into a SQL query | Which production code had original air dated february20,2011 | SELECT Production code FROM table WHERE Original air date = February20,2011 |
Translate the following into a SQL query | What school joined the conference in 1996-97 and left it in 2011-12? | SELECT Institution FROM table WHERE Joined = 1996-97 AND Left = 2011-12 |
Translate the following into a SQL query | What location has a school with enrollment of 850? | SELECT Location FROM table WHERE Enrollment = 850 |
Translate the following into a SQL query | How many schools left in 2002-03? | SELECT COUNT Location FROM table WHERE Left = 2002-03 |
Translate the following into a SQL query | Which city has a school where the nickname is Pioneers? | SELECT Location FROM table WHERE Nickname = Pioneers |
Translate the following into a SQL query | What type of school has the nickname the Oilers? | SELECT Type FROM table WHERE Nickname = Oilers |
Translate the following into a SQL query | How many locations have a school that is nicknamed the Panthers? | SELECT COUNT Location FROM table WHERE Nickname = Panthers |
Translate the following into a SQL query | How many sprints classifications were associated with an overall winner of Joaquin Rodriguez? | SELECT COUNT Sprints Classification FROM table WHERE Winner = Joaquin Rodriguez |
Translate the following into a SQL query | Who led team classification during the stage whose winner was Chris Horner? | SELECT Team Classification FROM table WHERE Winner = Chris Horner |
Translate the following into a SQL query | Who led sprints classification when Chris Horner led general classification? | SELECT Sprints Classification FROM table WHERE General classification = Chris Horner |
Translate the following into a SQL query | What are all the report for the Belgian Grand Prix? | SELECT Report FROM table WHERE Grand Prix = Belgian Grand Prix |
Translate the following into a SQL query | How many winning constructor catagories are there when Mark Webber had the fastest lap? | SELECT COUNT Winning constructor FROM table WHERE Fastest lap = Mark Webber |
Translate the following into a SQL query | Who had the pole position in the Canadian Grand Prix? | SELECT Pole position FROM table WHERE Grand Prix = Canadian Grand Prix |
Translate the following into a SQL query | What year was the institution of St. Catharine College founded? | SELECT MIN Founded FROM table WHERE Institution = St. Catharine College |
Translate the following into a SQL query | What is the enrollment for the institution that is located in Lebanon, Tennessee (20,235)? | SELECT Enrollment FROM table WHERE Location (Population) = Lebanon, Tennessee (20,235) |
Translate the following into a SQL query | What is the location and population of the institution called Bluefield College? | SELECT Location (Population) FROM table WHERE Institution = Bluefield College |
Translate the following into a SQL query | How many times was the result is hired by serepisos? | SELECT COUNT Hometown FROM table WHERE Result = Hired by Serepisos |
Translate the following into a SQL query | What is the age when the result is fired in week 8 | SELECT MIN Age FROM table WHERE Result = Fired in week 8 |
Translate the following into a SQL query | What is the background of the candidate daniel phillips? | SELECT Background FROM table WHERE Candidate = Daniel Phillips |
Translate the following into a SQL query | How many times was the background self-employed - media agency? | SELECT COUNT Candidate FROM table WHERE Background = Self-employed - media agency |
Translate the following into a SQL query | How many times was the background university student? | SELECT COUNT Result FROM table WHERE Background = University Student |
Translate the following into a SQL query | What is the candidate whose age is 27? | SELECT Candidate FROM table WHERE Age = 27 |
Translate the following into a SQL query | In Round 6, who is the winning team? | SELECT Winning Team FROM table WHERE Round = 6 |
Translate the following into a SQL query | On what date is the winning team Abt Sportsline and pole position Mattias Ekström in the Circuit Ricardo Tormo , Valencia? | SELECT Date FROM table WHERE Winning Team = Abt Sportsline AND Pole Position = Mattias Ekström AND Circuit = Circuit Ricardo Tormo , Valencia |
Translate the following into a SQL query | Round 1 is in what circuit? | SELECT Circuit FROM table WHERE Round = 1 |
Translate the following into a SQL query | In the circuit Showevent Olympiastadion München, where the winning driver is Bruno Spengler, what is the pole position? | SELECT Pole Position FROM table WHERE Winning Driver = Bruno Spengler AND Circuit = Showevent Olympiastadion München |
Translate the following into a SQL query | Where the fastest lap is Mike Rockenfeller, who is the winning driver? | SELECT Winning Driver FROM table WHERE Fastest Lap = Mike Rockenfeller |
Translate the following into a SQL query | How many dates are there in round 3? | SELECT COUNT Date FROM table WHERE Round = 3 |
Translate the following into a SQL query | Name the least series number written by brenda hampton and directed by burt brinckerhoff | SELECT MIN Series # FROM table WHERE Written by = Brenda Hampton AND Directed by = Burt Brinckerhoff |
Translate the following into a SQL query | Name the original air date for series number 15 | SELECT Original air date FROM table WHERE Series # = 15 |
Translate the following into a SQL query | What team was Pearson on when his winnings were $5,200? | SELECT Team(s) FROM table WHERE Winnings = $5,200 |
Translate the following into a SQL query | How many starts did Pearson have when his winnings were $101,438? | SELECT Starts FROM table WHERE Winnings = $101,438 |
Translate the following into a SQL query | How many top 10's did Pearson have the year he was in 8th position? | SELECT MIN Top 10 FROM table WHERE Position = 8th |
Translate the following into a SQL query | what is the title of the episode daphne field wrote? | SELECT Title FROM table WHERE Written by = Daphne Field |
Translate the following into a SQL query | who directed the episode james clavell wrote? | SELECT Directed by FROM table WHERE Written by = James Clavell |
Translate the following into a SQL query | how many times was the episode directed by maury geraghty originally aired? | SELECT COUNT Originalairdate FROM table WHERE Directed by = Maury Geraghty |
Translate the following into a SQL query | What Film Festival had participants/recipients of Isao Tomita? | SELECT Film Festival FROM table WHERE Participants/Recipients = Isao Tomita |
Translate the following into a SQL query | Who was the participant or recipient for the Best Female Actor? | SELECT Participants/Recipients FROM table WHERE Category = Best Female Actor |
Translate the following into a SQL query | What date was the participant/recipient takakazu watanabe? | SELECT Date of ceremony FROM table WHERE Participants/Recipients = Takakazu Watanabe |
Translate the following into a SQL query | What film festival had the Best Male Actor? | SELECT Film Festival FROM table WHERE Category = Best Male Actor |
Translate the following into a SQL query | What film festival was the participant/recipient Isao Tomita? | SELECT Film Festival FROM table WHERE Participants/Recipients = Isao Tomita |
Translate the following into a SQL query | What category was the the participant/recipient otōto? | SELECT Category FROM table WHERE Participants/Recipients = Otōto |
Translate the following into a SQL query | Name the performance order of the velasco brothers | SELECT Performance Order FROM table WHERE Artist = Velasco Brothers |
Translate the following into a SQL query | Name the number of semi final results for 12 performance order | SELECT COUNT Semi Finals Result FROM table WHERE Performance Order = 12 |
Translate the following into a SQL query | Name the performance order for 2.15% | SELECT Performance Order FROM table WHERE Percentage of votes = 2.15% |
Translate the following into a SQL query | Name the percentage of votes for 3rd finished | SELECT Percentage of votes FROM table WHERE Finished = 3rd |
Translate the following into a SQL query | Name the percentage of votes for violinist | SELECT Percentage of votes FROM table WHERE Act = Violinist |
Translate the following into a SQL query | what are all the hometown where the average age is 16 | SELECT Hometown FROM table WHERE Age(s) = 16 |
Translate the following into a SQL query | What is the population in 2011 for the name Beaubassin East? | SELECT Population (2011) FROM table WHERE Name = Beaubassin East |
Translate the following into a SQL query | What is every population density if name is Beaubassin East? | SELECT Population density FROM table WHERE Name = Beaubassin East |
Translate the following into a SQL query | What is every value for area for population density of 100.8? | SELECT Area (km²) FROM table WHERE Population density = 100.8 |
Translate the following into a SQL query | What is every value for change% for area of 1835.01? | SELECT Change (%) FROM table WHERE Area (km²) = 1835.01 |
Translate the following into a SQL query | How many names correspond to an area of 8.12? | SELECT COUNT Name FROM table WHERE Area (km²) = 8.12 |
Translate the following into a SQL query | What is every value for area if change% is -3.6? | SELECT Area (km²) FROM table WHERE Change (%) = -3.6 |
Translate the following into a SQL query | Name the hdi 2012 for dominica | SELECT HDI 2012 FROM table WHERE Country = Dominica |
Translate the following into a SQL query | Name the fsi 2012 for 42.7 cpi | SELECT FSI 2012 FROM table WHERE CPI 2012 = 42.7 |
Translate the following into a SQL query | Name the gdp per capita for haiti | SELECT GDP (PPP) per capita ( Intl. $ ) 2011 FROM table WHERE Country = Haiti |
Translate the following into a SQL query | How many times was lakpa tashi sherpa ( bhu ) w pts 12-5 in round of 32? | SELECT COUNT Round of 16 FROM table WHERE Round of 32 = Lakpa Tashi Sherpa ( BHU ) W PTS 12-5 |
Translate the following into a SQL query | If the quarterfinals was nabil talal ( jor ) l pts 3-3, who was the athlete? | SELECT Athlete FROM table WHERE Quarterfinals = Nabil Talal ( JOR ) L PTS 3-3 |
Translate the following into a SQL query | If the event was bantamweight (-63kg), and the quarterfinals did not advance, then who was in round of 32? | SELECT Round of 32 FROM table WHERE Quarterfinals = Did not advance AND Event = Bantamweight (-63kg) |
Translate the following into a SQL query | If the round of 16 was yulius fernando ( ina ) l pts 5-6, what was the semifinals? | SELECT Semifinals FROM table WHERE Round of 16 = Yulius Fernando ( INA ) L PTS 5-6 |
Translate the following into a SQL query | If round of 32 is sawatvilay phimmasone ( lao ) w pts 9-7, what was the event? | SELECT Event FROM table WHERE Round of 32 = Sawatvilay Phimmasone ( LAO ) W PTS 9-7 |
Translate the following into a SQL query | What date was the district incumbent Saxby Chambliss elected? | SELECT MAX Elected FROM table WHERE Incumbent = Saxby Chambliss |
Translate the following into a SQL query | What is the status in the district with the incumbent Bob Barr? | SELECT Status FROM table WHERE Incumbent = Bob Barr |
Translate the following into a SQL query | How many elected catagories are there for the district with Saxby Chambliss as the incumbent? | SELECT COUNT Elected FROM table WHERE Incumbent = Saxby Chambliss |
Translate the following into a SQL query | What was the result for the district with an election in 1986 | SELECT Result FROM table WHERE Elected = 1986 |
Translate the following into a SQL query | how many party classifications are there for the incumbent Mac Collins? | SELECT COUNT Party FROM table WHERE Incumbent = Mac Collins |
Translate the following into a SQL query | For the engine family MaxxForce 11, what is the years produced? | SELECT Years produced FROM table WHERE Engine Family = MaxxForce 11 |
Translate the following into a SQL query | The cylinder layout v8 is produced in what years? | SELECT Years produced FROM table WHERE Cylinder Layout = V8 |
Translate the following into a SQL query | The years produced for the cylinder layout v8 are what? | SELECT Years produced FROM table WHERE Cylinder Layout = V8 |
Translate the following into a SQL query | The engine family MaxxForce 5 in the years produced 2007-current, have what cylinder layout? | SELECT Cylinder Layout FROM table WHERE Years produced = 2007-current AND Engine Family = MaxxForce 5 |
Translate the following into a SQL query | Where the displacement(s) is 10.5L is, what is the engine family? | SELECT Engine Family FROM table WHERE Displacement(s) = 10.5L |
Translate the following into a SQL query | The displacement(s) 466 cubic inches (7.6L), has what engine family? | SELECT Engine Family FROM table WHERE Displacement(s) = 466 cubic inches (7.6L) |
Translate the following into a SQL query | What is the coinage metal for a KM number of S75? | SELECT Coinage metal FROM table WHERE KM number = S75 |
Translate the following into a SQL query | What is the maximum date for a mintage of 150 and a KM number of S66? | SELECT MAX Date FROM table WHERE Mintage = 150 AND KM number = S66 |
Translate the following into a SQL query | What is the mintage for a location of Sion and a denomination of 00500 500 Francs? | SELECT Mintage FROM table WHERE Location = Sion AND Denomination = 00500 500 francs |
Translate the following into a SQL query | What is the coinage metal for KM numbers of S45? | SELECT Coinage metal FROM table WHERE KM number = S45 |
Translate the following into a SQL query | What is the coinage metal for a location of Fribourg and denomination of 00005 5 Francs? | SELECT Coinage metal FROM table WHERE Location = Fribourg AND Denomination = 00005 5 francs |
Translate the following into a SQL query | When the under-17 was Antonio Glez, who was the under-13? | SELECT Under-13 FROM table WHERE Under-17 = Antonio Glez |
Translate the following into a SQL query | In the year 2009 who was the under-13? | SELECT Under-13 FROM table WHERE Year = 2009 |
Translate the following into a SQL query | When Julian Illingworth was the under-19, who was the under-15? | SELECT Under-15 FROM table WHERE Under-19 = Julian Illingworth |
Translate the following into a SQL query | Who was the under-15 when Moises Galvez was the under-17? | SELECT Under-15 FROM table WHERE Under-17 = Moises Galvez |
Translate the following into a SQL query | How many years are there where the the under-15 is Arturo Salazar Martinez and the under-19 is Moises Galvez? | SELECT COUNT Year FROM table WHERE Under-15 = Arturo Salazar Martinez AND Under-19 = Moises Galvez |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.