instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query | What is the highest value of PF when Ends Lost is 51? | SELECT MAX PF FROM table WHERE Ends Lost = 51 |
Translate the following into a SQL query | What is the total of all Shot PCT occurrences when the value of Blank Ends is 8? | SELECT COUNT Shot Pct. FROM table WHERE Blank Ends = 8 |
Translate the following into a SQL query | Where is the Locale when L is 2. | SELECT Locale FROM table WHERE L = 2 |
Translate the following into a SQL query | What is the lowest value of Blank Ends when Stolen Ends is 7. | SELECT MIN Blank Ends FROM table WHERE Stolen Ends = 7 |
Translate the following into a SQL query | What is the value of Ends Lost when Blank Ends is 9. | SELECT Ends Lost FROM table WHERE Blank Ends = 9 |
Translate the following into a SQL query | How many combination classifications have the winner as Erik Zabel and a points classification as Alessandro Petacchi | SELECT COUNT Combination classification FROM table WHERE Points classification = Alessandro Petacchi AND Winner = Erik Zabel |
Translate the following into a SQL query | If winner is alejandro Valverde and the points Classification is by Erik Zabel, who is the mountain classification? | SELECT Mountains classification FROM table WHERE Winner = Alejandro Valverde AND Points classification = Erik Zabel |
Translate the following into a SQL query | How many teams have a combination classification of Alejandro Valverde and a Points classification of Alessandro Petacchi? | SELECT COUNT Team classification FROM table WHERE Combination classification = Alejandro Valverde AND Points classification = Alessandro Petacchi |
Translate the following into a SQL query | How many times were the winnings $3,816,362? | SELECT COUNT Avg. Finish FROM table WHERE Winnings = $3,816,362 |
Translate the following into a SQL query | How many wins were there when the position was 26th? | SELECT COUNT Wins FROM table WHERE Position = 26th |
Translate the following into a SQL query | What was the average finish when the average start was 18.4? | SELECT Avg. Finish FROM table WHERE Avg. Start = 18.4 |
Translate the following into a SQL query | How many teams had a 76th position finish? | SELECT COUNT Team(s) FROM table WHERE Position = 76th |
Translate the following into a SQL query | What is the maximumum number of wins? | SELECT MIN Wins FROM table |
Translate the following into a SQL query | What teams won in 2007? | SELECT Team(s) FROM table WHERE Year = 2007 |
Translate the following into a SQL query | How many entries arr there for the top 10 for the 78th position? | SELECT COUNT Top 10 FROM table WHERE Position = 78th |
Translate the following into a SQL query | Where does team #55/#83 robby gordon motorsports rank in the top 10? | SELECT MAX Top 10 FROM table WHERE Team(s) = #55/#83 Robby Gordon Motorsports |
Translate the following into a SQL query | How many entries are shown for winnings for team #07 robby gordon motorsports? | SELECT COUNT Winnings FROM table WHERE Team(s) = #07 Robby Gordon Motorsports |
Translate the following into a SQL query | What are all values for 'to par' for the winning score of 67-67-69-69=272? | SELECT To par FROM table WHERE Winning score = 67-67-69-69=272 |
Translate the following into a SQL query | The tournament Buick Classic occured on what dates? | SELECT Date FROM table WHERE Tournament = Buick Classic |
Translate the following into a SQL query | Who are all runner-ups for No. 2? | SELECT Runner-up FROM table WHERE No. = 2 |
Translate the following into a SQL query | when the nickname halley is used, what are the date completed | SELECT DATE COMPLETED FROM table WHERE NICKNAME = Halley |
Translate the following into a SQL query | the date complted is 02/91, what framed size was used | SELECT FRAMED SIZE FROM table WHERE DATE COMPLETED = 02/91 |
Translate the following into a SQL query | for the robot black nickname, what framed size is used | SELECT FRAMED SIZE FROM table WHERE NICKNAME = Robot Black |
Translate the following into a SQL query | What are the attributes when the type is "DOMNodeRemoved"? | SELECT Attribute FROM table WHERE Type = DOMNodeRemoved |
Translate the following into a SQL query | How many categories are there when the attribute is "onreset"? | SELECT COUNT Category FROM table WHERE Attribute = onreset |
Translate the following into a SQL query | How many descriptions are there when the attribute is "ondragstart"? | SELECT COUNT Description FROM table WHERE Attribute = ondragstart |
Translate the following into a SQL query | When the type is "reset" what is the description? | SELECT Description FROM table WHERE Type = reset |
Translate the following into a SQL query | Name all the team clasification where the combination classification is mederic clain | SELECT Team classification FROM table WHERE Combination classification = Mederic Clain |
Translate the following into a SQL query | In how many stages did Jose Vicente Garcia Acosta won? | SELECT COUNT Stage FROM table WHERE Winner = Jose Vicente Garcia Acosta |
Translate the following into a SQL query | What is the minimum stage where Sergei Smetanine won? | SELECT MIN Stage FROM table WHERE Winner = Sergei Smetanine |
Translate the following into a SQL query | what is the minimum stage where mountains classification is aitor osa and aitor gonzález won? | SELECT MIN Stage FROM table WHERE Mountains classification = Aitor Osa AND Winner = Aitor González |
Translate the following into a SQL query | How many seasons in the top division for the team that finished 005 5th in 2012-2013 | SELECT COUNT Number of seasons in top division FROM table WHERE Position in 2012–13 = 005 5th |
Translate the following into a SQL query | How many countries does honoree Roberto de Vicenzo represent? | SELECT COUNT Country FROM table WHERE Honoree(s) = Roberto De Vicenzo |
Translate the following into a SQL query | For which country does Keith Fergus play? | SELECT Country FROM table WHERE Player = Keith Fergus |
Translate the following into a SQL query | Who won the tournament for Australia in the year when Byron Nelson was Honoree? | SELECT Player FROM table WHERE Country = Australia AND Honoree(s) = Byron Nelson |
Translate the following into a SQL query | What was the margin of victory in the year when the honoree was Tommy Armour? | SELECT Margin of victory FROM table WHERE Honoree(s) = Tommy Armour |
Translate the following into a SQL query | What year was the most recent US Open championship? | SELECT MAX Year FROM table WHERE Championship = US Open |
Translate the following into a SQL query | When li fuyu is the stage winner what is points classification? | SELECT Points classification FROM table WHERE Stage winner = Li Fuyu |
Translate the following into a SQL query | When anuar manan is the stage winner and the team classification is japan and suhardi hassan is the malaysian rider classification who is the points classification? | SELECT Points classification FROM table WHERE Malaysian rider classification = Suhardi Hassan AND Team classification = Japan AND Stage winner = Anuar Manan |
Translate the following into a SQL query | When li fuyu is the stage winner who is the general classification? | SELECT General classification FROM table WHERE Stage winner = Li Fuyu |
Translate the following into a SQL query | When hossein askari is the stage winner who is the malaysian rider classification ? | SELECT Malaysian rider classification FROM table WHERE Stage winner = Hossein Askari |
Translate the following into a SQL query | How many nominees had a net voice of 15.17% | SELECT COUNT Nominee FROM table WHERE Net vote = 15.17% |
Translate the following into a SQL query | What nominees had a net vote of 34.46%? | SELECT Nominee FROM table WHERE Net vote = 34.46% |
Translate the following into a SQL query | How many nominee's had a vote to evict percentage of 3.92% | SELECT COUNT Nominee FROM table WHERE Vote to Evict = 3.92% |
Translate the following into a SQL query | How many eviction results occurred with a eviction no. 12 and a vote to save of 2.76%? | SELECT COUNT Eviction result FROM table WHERE Eviction No. = 12 AND Vote to Save = 2.76% |
Translate the following into a SQL query | What was the final result when the viewers selected ejay? | SELECT Result FROM table WHERE Viewers selection = Ejay |
Translate the following into a SQL query | What was the description when the viewers selected Nan? | SELECT Description FROM table WHERE Viewers selection = Nan |
Translate the following into a SQL query | What is the name of series episode 11-02's segment c? | SELECT Segment C FROM table WHERE Series Ep. = 11-02 |
Translate the following into a SQL query | What is the title of series episode 11-05's segment d? | SELECT Segment D FROM table WHERE Series Ep. = 11-05 |
Translate the following into a SQL query | In seris episode 11-04, what is the B segment titled? | SELECT Segment B FROM table WHERE Series Ep. = 11-04 |
Translate the following into a SQL query | In the episode where segment a is microphones, what is segment d? | SELECT Segment D FROM table WHERE Segment A = Microphones |
Translate the following into a SQL query | What is Segment B for series episode 12-08? | SELECT Segment B FROM table WHERE Series Ep. = 12-08 |
Translate the following into a SQL query | What is the series episode where Segment B is popcorn ? | SELECT Series Ep. FROM table WHERE Segment B = Popcorn |
Translate the following into a SQL query | What is the Netflix where Segment C is car washes? | SELECT Netflix FROM table WHERE Segment C = Car Washes |
Translate the following into a SQL query | What is Segment B for series episode 12-02? | SELECT Segment B FROM table WHERE Series Ep. = 12-02 |
Translate the following into a SQL query | What is Segment A where Segment B is Kevlar S Canoe? | SELECT Segment A FROM table WHERE Segment B = Kevlar s Canoe |
Translate the following into a SQL query | What is the Netflix where Segment D is pressure gauges ? | SELECT Netflix FROM table WHERE Segment D = Pressure Gauges |
Translate the following into a SQL query | Name the segment d for bowling balls | SELECT Segment D FROM table WHERE Segment A = Bowling Balls |
Translate the following into a SQL query | Name the segment b for pressure cookers | SELECT Segment B FROM table WHERE Segment A = Pressure Cookers |
Translate the following into a SQL query | Name the segment b for 167 | SELECT Segment B FROM table WHERE Episode = 167 |
Translate the following into a SQL query | Name the segment a for 162 | SELECT Segment A FROM table WHERE Episode = 162 |
Translate the following into a SQL query | Name the total number of segment c for pressure cookers | SELECT COUNT Segment C FROM table WHERE Segment A = Pressure Cookers |
Translate the following into a SQL query | What was segment C when segment D was fluorescent tubes? | SELECT Segment C FROM table WHERE Segment D = Fluorescent Tubes |
Translate the following into a SQL query | What was segment C when segment B was package printing? | SELECT Segment C FROM table WHERE Segment B = Package printing |
Translate the following into a SQL query | What was segment A when segment B was snowboards? | SELECT Segment A FROM table WHERE Segment B = Snowboards |
Translate the following into a SQL query | What was segment D when segment B was jeans? | SELECT Segment D FROM table WHERE Segment B = Jeans |
Translate the following into a SQL query | In what episode was segment D ned Can Corn? | SELECT MAX Episode FROM table WHERE Segment D = ned Can Corn |
Translate the following into a SQL query | Name the segment c for crash test dummies | SELECT COUNT Segment C FROM table WHERE Segment D = Crash Test Dummies |
Translate the following into a SQL query | Name the segment b for s dress form | SELECT Segment B FROM table WHERE Segment A = s Dress Form |
Translate the following into a SQL query | Name the segment a for s duvet | SELECT Segment A FROM table WHERE Segment C = s Duvet |
Translate the following into a SQL query | Name the total number of episodes for s fire extinguisher | SELECT COUNT Episode FROM table WHERE Segment A = s Fire Extinguisher |
Translate the following into a SQL query | Name the total number of segment b for s banjo | SELECT COUNT Segment B FROM table WHERE Segment D = s Banjo |
Translate the following into a SQL query | Name the total number of segment d for wooden s barrel | SELECT COUNT Segment D FROM table WHERE Segment A = Wooden s Barrel |
Translate the following into a SQL query | How many segment A were in series episode 14-05 | SELECT COUNT Segment A FROM table WHERE Series Ep. = 14-05 |
Translate the following into a SQL query | What is segment C in s07e05 | SELECT Segment C FROM table WHERE Netflix = S07E05 |
Translate the following into a SQL query | What is the netflix episode number where Segment D is high-performance engines? | SELECT Netflix FROM table WHERE Segment D = High-Performance Engines |
Translate the following into a SQL query | What was segment D for episode 183? | SELECT Segment D FROM table WHERE Episode = 183 |
Translate the following into a SQL query | What is Segment A where Segment C is Sushi (part 1)? | SELECT Segment A FROM table WHERE Segment C = Sushi (Part 1) |
Translate the following into a SQL query | How many episodes have the Netflix episode number S08E04? | SELECT COUNT Episode FROM table WHERE Netflix = S08E04 |
Translate the following into a SQL query | What is Segment A where Segment D is luxury sports cars? | SELECT Segment A FROM table WHERE Segment D = Luxury Sports Cars |
Translate the following into a SQL query | What episode number is the episode with a segment on thinning shears? | SELECT MIN Episode FROM table WHERE Segment A = Thinning Shears |
Translate the following into a SQL query | Which episode has segment D on custom motorcycle tanks? | SELECT MIN Episode FROM table WHERE Segment D = Custom Motorcycle Tanks |
Translate the following into a SQL query | How many segment C are there in the episode where segment D is bicycle tires? | SELECT COUNT Segment C FROM table WHERE Segment D = Bicycle Tires |
Translate the following into a SQL query | What is the first episode number? | SELECT MIN Episode FROM table |
Translate the following into a SQL query | How many segment b's when segment a is filigree glass | SELECT COUNT Segment B FROM table WHERE Segment A = Filigree Glass |
Translate the following into a SQL query | Whats the name of segment in s08e21 | SELECT Segment A FROM table WHERE Netflix = S08E21 |
Translate the following into a SQL query | Whats the season/episode of segment a digital dentistry | SELECT Netflix FROM table WHERE Segment A = Digital Dentistry |
Translate the following into a SQL query | Whats the name of segment D in the episode where segment A is tequila | SELECT Segment D FROM table WHERE Segment A = Tequila |
Translate the following into a SQL query | Name the segment D of the episode where segment A is tequila | SELECT Segment D FROM table WHERE Segment A = Tequila |
Translate the following into a SQL query | Name the number of episods for segment c being s oyster | SELECT COUNT Episode FROM table WHERE Segment C = s Oyster |
Translate the following into a SQL query | Name the least episode for fibre cement siding | SELECT MIN Episode FROM table WHERE Segment D = Fibre Cement Siding |
Translate the following into a SQL query | Name the segment b for 226 episode | SELECT Segment B FROM table WHERE Episode = 226 |
Translate the following into a SQL query | Name the number of sement d for solar water heaters | SELECT COUNT Segment D FROM table WHERE Segment B = Solar Water Heaters |
Translate the following into a SQL query | Name the segment d for s cufflink | SELECT Segment D FROM table WHERE Segment A = s Cufflink |
Translate the following into a SQL query | What is the segment B of episode 242? | SELECT Segment B FROM table WHERE Episode = 242 |
Translate the following into a SQL query | What is the segment C of the episode where segment B is Film Digitization? | SELECT Segment C FROM table WHERE Segment B = Film Digitization |
Translate the following into a SQL query | What is the segment A on episode 237? | SELECT Segment A FROM table WHERE Episode = 237 |
Translate the following into a SQL query | What is the last episode which has segment d as blown glass? | SELECT MAX Episode FROM table WHERE Segment D = Blown Glass |
Translate the following into a SQL query | What is the first episode with a netflix episode code of s02e20? | SELECT MIN Episode FROM table WHERE Netflix = S02E20 |
Translate the following into a SQL query | What is the netflix code for episode 46? | SELECT Netflix FROM table WHERE Episode = 46 |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.