instruction stringclasses 1 value | input stringlengths 12 244 | output stringlengths 22 468 |
|---|---|---|
Translate the following into a SQL query | When bmw activee is the vehicle type how many clean electric grid california (san francisco) measurements are there? | SELECT COUNT Clean electric grid California (San Francisco) FROM table WHERE Vehicle = BMW ActiveE |
Translate the following into a SQL query | When 102 mpg-e (33kw-hrs/100mi) is the epa rated combined fuel economy what is the vehicle type? | SELECT Vehicle FROM table WHERE EPA rated combined fuel economy = 102 mpg-e (33kW-hrs/100mi) |
Translate the following into a SQL query | When 100 g/mi (62 g/km) is the clean electric grid california (san francisco) how many vehicles are there? | SELECT COUNT Vehicle FROM table WHERE Clean electric grid California (San Francisco) = 100 g/mi (62 g/km) |
Translate the following into a SQL query | When 380 g/mi (236 g/km) is the dirty electric grid rocky mountains (denver) what is the u.s national average electric mix? | SELECT U.S. national average electric mix FROM table WHERE Dirty electric grid Rocky Mountains (Denver) = 380 g/mi (236 g/km) |
Translate the following into a SQL query | When bmw activee is the vehicle type what is the u.s national average electric mix? | SELECT U.S. national average electric mix FROM table WHERE Vehicle = BMW ActiveE |
Translate the following into a SQL query | When 87 mpg-e (39kw-hrs/100mi) is the epa rated combined fuel economy how many operating modes are there? | SELECT COUNT Operating mode FROM table WHERE EPA rated combined fuel economy = 87 mpg-e (39kW-hrs/100mi) |
Translate the following into a SQL query | Name the opponents for 6β2, 3β6, 6β3 | SELECT Opponents FROM table WHERE Score = 6β2, 3β6, 6β3 |
Translate the following into a SQL query | Name the championship for outcome being winner for 7β5, 4β6, 6β1 | SELECT Championship FROM table WHERE Outcome = Winner AND Score = 7β5, 4β6, 6β1 |
Translate the following into a SQL query | Name the score for winner and julie halard-decugis ai sugiyama | SELECT Score FROM table WHERE Outcome = Winner AND Opponents = Julie Halard-Decugis Ai Sugiyama |
Translate the following into a SQL query | Name the championship for hard surface 7β5, 6β4 | SELECT Championship FROM table WHERE Score = 7β5, 6β4 AND Surface = Hard |
Translate the following into a SQL query | Name the surface for nathalie tauziat | SELECT Surface FROM table WHERE Partner = Nathalie Tauziat |
Translate the following into a SQL query | Name the most year for money list rank is 74 | SELECT MAX Year FROM table WHERE Money list rank = 74 |
Translate the following into a SQL query | Name the team for avg start being 20.5 | SELECT Team(s) FROM table WHERE Avg. Start = 20.5 |
Translate the following into a SQL query | Name the team for wins being 0 and top 5 is 0 and poles is 0 and avg start is 37.0 | SELECT Team(s) FROM table WHERE Wins = 0 AND Top 5 = 0 AND Poles = 0 AND Avg. Start = 37.0 |
Translate the following into a SQL query | Name the winnings for 23rd position | SELECT Winnings FROM table WHERE Position = 23rd |
Translate the following into a SQL query | Name the winnings for 2004 | SELECT Winnings FROM table WHERE Year = 2004 |
Translate the following into a SQL query | Name the total number of top 10 for avg start being 37.3 | SELECT COUNT Top 10 FROM table WHERE Avg. Start = 37.3 |
Translate the following into a SQL query | What was the method of elimination in the chamber with a time of 24:02? | SELECT Method of elimination FROM table WHERE Time = 24:02 |
Translate the following into a SQL query | what is the maximum number that entered when the eliminator was Triple H? | SELECT MAX Entered FROM table WHERE Eliminated by = Triple H |
Translate the following into a SQL query | How many wrestlers are recorded for the chamber that's method of elimination was pinned after being hit by a lead pipe? | SELECT COUNT Wrestler FROM table WHERE Method of elimination = Pinned after being hit by a lead pipe |
Translate the following into a SQL query | What was the method of elimination for Kofi Kingston/ | SELECT Method of elimination FROM table WHERE Wrestler = Kofi Kingston |
Translate the following into a SQL query | What championships were played on clay and the opponent was virginia ruano pascual paola suΓ‘rez? | SELECT Championship FROM table WHERE Surface = Clay AND Opponent = Virginia Ruano Pascual Paola SuΓ‘rez |
Translate the following into a SQL query | What championships had a match where Natasha Zvereva played as partner? | SELECT Championship FROM table WHERE Partner = Natasha Zvereva |
Translate the following into a SQL query | What day did episode number 4 air originally? | SELECT Original air date FROM table WHERE β = 4 |
Translate the following into a SQL query | Who wrote the episode with 8.61 million U.S. viewers? | SELECT Written by FROM table WHERE U.S. viewers (million) = 8.61 |
Translate the following into a SQL query | What date did the episode with 8.61 million U.S. viewers originally air? | SELECT Original air date FROM table WHERE U.S. viewers (million) = 8.61 |
Translate the following into a SQL query | What is the name of the episode that had 9.89 million U.S. viewers? | SELECT Title FROM table WHERE U.S. viewers (million) = 9.89 |
Translate the following into a SQL query | What is the value for model if processor is Kentsfield and brand name is Xeon? | SELECT Model (list) FROM table WHERE Processor = Kentsfield AND Brand name = Xeon |
Translate the following into a SQL query | What is every value for TDP if model is x53xx? | SELECT TDP FROM table WHERE Model (list) = X53xx |
Translate the following into a SQL query | What is every value for cores if TDP is 17 W? | SELECT Cores FROM table WHERE TDP = 17 W |
Translate the following into a SQL query | What is the production code for the episode written by J. H. Wyman & Jeff Pinkner? | SELECT Production code FROM table WHERE Written by = J. H. Wyman & Jeff Pinkner |
Translate the following into a SQL query | What is the title of the episode directed by Charles Beeson? | SELECT Title FROM table WHERE Directed by = Charles Beeson |
Translate the following into a SQL query | How many original air dates for the episode written by David H. Goodman & Andrew Kreisberg? | SELECT COUNT Original air date FROM table WHERE Written by = David H. Goodman & Andrew Kreisberg |
Translate the following into a SQL query | What is the most recent episode number written by Matthew Pitts? | SELECT MAX # FROM table WHERE Written by = Matthew Pitts |
Translate the following into a SQL query | How many records for number of viewers is listed for episode number 8? | SELECT COUNT Viewers (millions) FROM table WHERE Episode = 8 |
Translate the following into a SQL query | What was the 18 to 49 rating when 9.50 million watched? | SELECT Rating (18β49) FROM table WHERE Viewers (millions) = 9.50 |
Translate the following into a SQL query | what episode number had 11.73 million viewers? | SELECT Episode FROM table WHERE Viewers (millions) = 11.73 |
Translate the following into a SQL query | How many episodes had 11.47 million viewers? | SELECT COUNT Episode FROM table WHERE Viewers (millions) = 11.47 |
Translate the following into a SQL query | Who wrote the episode that originally aired April 29, 1994? | SELECT Written by FROM table WHERE Original air date = April 29, 1994 |
Translate the following into a SQL query | What was the production code for the episode that debuted October 1, 1993? | SELECT MAX Production code FROM table WHERE Original air date = October 1, 1993 |
Translate the following into a SQL query | Who wrote the episode "Sister Act"? | SELECT Written by FROM table WHERE Title = "Sister Act" |
Translate the following into a SQL query | What was the title of series number 56? | SELECT Title FROM table WHERE No. in series = 56 |
Translate the following into a SQL query | What was the title of the episode written by Julia Newton in series 48? | SELECT Title FROM table WHERE Written by = Julia Newton AND No. in series = 48 |
Translate the following into a SQL query | What is the callsign that has a station type of relay and a channel number of TV-2? | SELECT Callsign FROM table WHERE Station Type = Relay AND Ch. # = TV-2 |
Translate the following into a SQL query | What is the station type of DWZM-TV? | SELECT Station Type FROM table WHERE Callsign = DWZM-TV |
Translate the following into a SQL query | What is the power in kilowatts of TV-12? | SELECT Power kW FROM table WHERE Ch. # = TV-12 |
Translate the following into a SQL query | What is the power in KW of the transmitter situated in Borongan? | SELECT Power kW FROM table WHERE Location (Transmitter site) = Borongan |
Translate the following into a SQL query | What is the channel number that has a branding of PTV 4 Laoag? | SELECT Ch. # FROM table WHERE Branding = PTV 4 Laoag |
Translate the following into a SQL query | What is the power in KW that has a station type of relay and a callsign of DXCL-TV? | SELECT Power kW FROM table WHERE Station Type = Relay AND Callsign = DXCL-TV |
Translate the following into a SQL query | When 15 is the number in season what is the highest number in series? | SELECT MAX No. in series FROM table WHERE No. in season = 15 |
Translate the following into a SQL query | When 123 is the number in series who is the director? | SELECT Directed by FROM table WHERE No. in series = 123 |
Translate the following into a SQL query | When "the kissing game" is the title who is the director? | SELECT Directed by FROM table WHERE Title = "The Kissing Game" |
Translate the following into a SQL query | When 120 is the number in series who is the writer? | SELECT Written by FROM table WHERE No. in series = 120 |
Translate the following into a SQL query | When 137 is the number in series what is the production code? | SELECT Production code FROM table WHERE No. in series = 137 |
Translate the following into a SQL query | How many victors where there in the War of 1730β1736 , first stage? | SELECT COUNT Victor FROM table WHERE Name of the war = War of 1730β1736 , first stage |
Translate the following into a SQL query | Who was the Ottoman Sultan where the treaty at the end of the war was the Treaty of Constantinople (1590)? | SELECT Ottoman sultan FROM table WHERE Treaty at the end of the war = Treaty of Constantinople (1590) |
Translate the following into a SQL query | What is the name of the war where the Ottoman sultan was Selim I? | SELECT Name of the war FROM table WHERE Ottoman sultan = Selim I |
Translate the following into a SQL query | When "baby come back" is the title what is the air date? | SELECT Original air date FROM table WHERE Title = "Baby Come Back" |
Translate the following into a SQL query | When 102 is the number in series who is the director? | SELECT Directed by FROM table WHERE No. in series = 102 |
Translate the following into a SQL query | When "we're going to disney world (part 1)" is the title what is the air date? | SELECT Original air date FROM table WHERE Title = "We're Going to Disney World (Part 1)" |
Translate the following into a SQL query | Name who wrote the episode directed by patrick duffy airing on november 7, 1997 | SELECT Written by FROM table WHERE Directed by = Patrick Duffy AND Original air date = November 7, 1997 |
Translate the following into a SQL query | What is the last year total for the team with a lowest of 23578? | SELECT MAX Last Year FROM table WHERE Lowest = 23578 |
Translate the following into a SQL query | How many highest figures for the team with lowest of 16415? | SELECT COUNT Highest FROM table WHERE Lowest = 16415 |
Translate the following into a SQL query | Which team has an up/down of + 3479? | SELECT Team FROM table WHERE Up/Down = + 3479 |
Translate the following into a SQL query | What is the average of the team where the total is 243017? | SELECT Average FROM table WHERE Total = 243017 |
Translate the following into a SQL query | How many episodes had celebrity guest stars Frank Skinner and Lee Mack? | SELECT COUNT Episode FROM table WHERE Celebrities = Frank Skinner and Lee Mack |
Translate the following into a SQL query | List episode directed and produced by Karen Selway? | SELECT Episode FROM table WHERE Directed and produced by = Karen Selway |
Translate the following into a SQL query | Which episode had celebrities Nick Hewer and Saira Khan in them? | SELECT Episode FROM table WHERE Celebrities = Nick Hewer and Saira Khan |
Translate the following into a SQL query | List the director and producer when Nick Hewer and Saira Khan were starring. | SELECT Directed and produced by FROM table WHERE Celebrities = Nick Hewer and Saira Khan |
Translate the following into a SQL query | List directors and producers when the celebrities involved were Bill Turnbull and Louise Minchin. | SELECT Directed and produced by FROM table WHERE Celebrities = Bill Turnbull and Louise Minchin |
Translate the following into a SQL query | when 0β100km/h (60mph) is 5.8 seconds (5.5), what is the torque? | SELECT Torque FROM table WHERE 0β100km/h (60mph) = 5.8 seconds (5.5) |
Translate the following into a SQL query | whe, co2 is 206g/km, what is the torque? | SELECT Torque FROM table WHERE CO2 = 206g/km |
Translate the following into a SQL query | when co2 is 192g/km, what is the power? | SELECT Power FROM table WHERE CO2 = 192g/km |
Translate the following into a SQL query | when co2 is 192g/km, what is the power? | SELECT Power FROM table WHERE CO2 = 192g/km |
Translate the following into a SQL query | when 0β100km/h (60mph) is 5.8 seconds (5.5), what is the engine? | SELECT Engine FROM table WHERE 0β100km/h (60mph) = 5.8 seconds (5.5) |
Translate the following into a SQL query | when0β100km/h (60mph) is 5.5 seconds (5.2), whats is the top speed? | SELECT Top speed FROM table WHERE 0β100km/h (60mph) = 5.5 seconds (5.2) |
Translate the following into a SQL query | What is the circuit of round 5? | SELECT Circuit FROM table WHERE Round = 5 |
Translate the following into a SQL query | What date did Mike Rockenfeller have the fastest lap? | SELECT Date FROM table WHERE Fastest lap = Mike Rockenfeller |
Translate the following into a SQL query | How many points for the driver who raced in seasons 2006 β 2007 , 2009? | SELECT Points FROM table WHERE Seasons = 2006 β 2007 , 2009 |
Translate the following into a SQL query | What's the name of the competition where the nationality is Brazil and the voting percentage is n/a? | SELECT Competition FROM table WHERE Vote percentage = N/A AND Nationality = Brazil |
Translate the following into a SQL query | What's the player's name whose nationality and team are Netherlands? | SELECT Player FROM table WHERE Nationality = Netherlands AND Team = Netherlands |
Translate the following into a SQL query | What was the score for the game in which Samir Nasri played? | SELECT Score FROM table WHERE Player = Samir Nasri |
Translate the following into a SQL query | Who is the player that played in the UEFA Euro 2012 qualifying Group A competition? | SELECT Player FROM table WHERE Competition = UEFA Euro 2012 qualifying Group A |
Translate the following into a SQL query | What is the ranking of the UEFA Euro 2012 qualifying Group A competition? | SELECT Rank FROM table WHERE Competition = UEFA Euro 2012 qualifying Group A |
Translate the following into a SQL query | Name the production for alpina model being b10 4,6 | SELECT Production FROM table WHERE Alpina model = B10 4,6 |
Translate the following into a SQL query | How many final score datas are there on Sunday, May 12? | SELECT COUNT Final score FROM table WHERE Date = Sunday, May 12 |
Translate the following into a SQL query | The game on Saturday, May 25 took place on which week? | SELECT MIN Week FROM table WHERE Date = Saturday, May 25 |
Translate the following into a SQL query | What was the final score on Saturday, May 25? | SELECT Final score FROM table WHERE Date = Saturday, May 25 |
Translate the following into a SQL query | When 10 is the number who is the writer? | SELECT Writer(s) FROM table WHERE # = 10 |
Translate the following into a SQL query | When 6.66 is the amount of viewers what is the lowest production code? | SELECT MIN Production code FROM table WHERE Viewers = 6.66 |
Translate the following into a SQL query | When 7.55 is the amount of viewers what is the lowest number? | SELECT MIN # FROM table WHERE Viewers = 7.55 |
Translate the following into a SQL query | How many figures are given for the New Democratic for the polling range May 11β31, 2010? | SELECT COUNT New Democratic FROM table WHERE Date of Polling = May 11β31, 2010 |
Translate the following into a SQL query | What format is the link for the polling data for February 10β28, 2011? | SELECT Link FROM table WHERE Date of Polling = February 10β28, 2011 |
Translate the following into a SQL query | When "gary is a boat guy" is the title how many sets of viewers are there? | SELECT COUNT Viewers FROM table WHERE Title = "Gary Is A Boat Guy" |
Translate the following into a SQL query | When 9 is the number what is the title? | SELECT Title FROM table WHERE # = 9 |
Translate the following into a SQL query | When 3 is the number what is the highest total? | SELECT MAX Total FROM table WHERE # = 3 |
Translate the following into a SQL query | When 7.08 is the amount of viewers what is the air date? | SELECT Air date FROM table WHERE Viewers = 7.08 |
Translate the following into a SQL query | When 7.08 is the amount of viewers how many directors are there? | SELECT COUNT Director FROM table WHERE Viewers = 7.08 |
Translate the following into a SQL query | What location did the episode that aired originally on August 26, 2009 take place at? | SELECT Location FROM table WHERE Original Airdate = August 26, 2009 |
Translate the following into a SQL query | How many dates originally aired episodes located in Philadelphia, pennsylvania? | SELECT COUNT Original Airdate FROM table WHERE Location = Philadelphia, Pennsylvania |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.