instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query | what is the number of the episode in the season whose production code is 101? | SELECT COUNT No. FROM table WHERE Production code = 101 |
Translate the following into a SQL query | During what conference is North Carolina listed as the tournament winner? | SELECT Conference FROM table WHERE Tournament Winner = North Carolina |
Translate the following into a SQL query | During the Big Seven Conference which team was the regular season winner? | SELECT Regular Season Winner FROM table WHERE Conference = Big Seven Conference |
Translate the following into a SQL query | What tournament venue is listed during the Missouri Valley Conference? | SELECT Tournament Venue (City) FROM table WHERE Conference = Missouri Valley Conference |
Translate the following into a SQL query | During the Mid-American Conference who is listed as the tournament winner? | SELECT Tournament Winner FROM table WHERE Conference = Mid-American Conference |
Translate the following into a SQL query | When Yale is listed as the regular season winner, what tournament venue is given? | SELECT Tournament Venue (City) FROM table WHERE Regular Season Winner = Yale |
Translate the following into a SQL query | How many entries for conference tournament are listed when Texas Western is the regular season winner? | SELECT COUNT Conference Tournament FROM table WHERE Regular Season Winner = Texas Western |
Translate the following into a SQL query | Which team drafted the player from the HC Lada Togliatti (Russia)? | SELECT NHL team FROM table WHERE College/junior/club team = HC Lada Togliatti (Russia) |
Translate the following into a SQL query | who is the person that plays left wing and is from canada that plays on the st. louis blues | SELECT Player FROM table WHERE Position = Left Wing AND Nationality = Canada AND NHL team = St. Louis Blues |
Translate the following into a SQL query | what is the overall number of chosen ideas where the person is scott parker | SELECT COUNT Pick FROM table WHERE Player = Scott Parker |
Translate the following into a SQL query | what is the number of the chosen club where the hc dukla trenčín (slovakia) is from | SELECT COUNT Pick FROM table WHERE College/junior/club team = HC Dukla Trenčín (Slovakia) |
Translate the following into a SQL query | How many players were drafted by the Edmonton Oilers? | SELECT COUNT Player FROM table WHERE NHL team = Edmonton Oilers |
Translate the following into a SQL query | Who was drafted by the Washington Capitals? | SELECT Player FROM table WHERE NHL team = Washington Capitals |
Translate the following into a SQL query | Which team drafted Travis Brigley? | SELECT NHL team FROM table WHERE Player = Travis Brigley |
Translate the following into a SQL query | What is the minimum pick of a centre from the Czech Republic? | SELECT MIN Pick FROM table WHERE Position = Centre AND Nationality = Czech Republic |
Translate the following into a SQL query | Which player made exactly 223 passes? | SELECT Player FROM table WHERE Passes = 223 |
Translate the following into a SQL query | What is the fewest minutes played for the player with exactly 638 good passes? | SELECT MIN Mins played FROM table WHERE Good passes = 638 |
Translate the following into a SQL query | What is the most number of assists for players with exactly 25 games played? | SELECT MAX Assists FROM table WHERE Games played = 25 |
Translate the following into a SQL query | What is the largest number of passes for players starting exactly 34 games? | SELECT MAX Passes FROM table WHERE Starting = 34 |
Translate the following into a SQL query | When καθ are the letters what is the nickname? | SELECT Nickname FROM table WHERE Letters = ΚΑΘ |
Translate the following into a SQL query | When 1873-12-25 is the founding date how many organizations are there? | SELECT COUNT Organization FROM table WHERE Founding Date = 1873-12-25 |
Translate the following into a SQL query | When 1872-10-10 is the founding date what are the canadian chapters? | SELECT Canadian Chapters FROM table WHERE Founding Date = 1872-10-10 |
Translate the following into a SQL query | When 1 active, 1 inactive is the canadian chapters how many founding dates are there? | SELECT COUNT Founding Date FROM table WHERE Canadian Chapters = 1 Active, 1 Inactive |
Translate the following into a SQL query | when was the ending time where the enemy met in the iron bowl | SELECT Last Meeting FROM table WHERE Name of Rivalry = Iron Bowl |
Translate the following into a SQL query | what was the lowest number that auburn triumphed where the activities took part was 92 | SELECT MIN AU Won FROM table WHERE Games Played = 92 |
Translate the following into a SQL query | what are all the adversary where the beginning is 1899 | SELECT Rival FROM table WHERE First Meeting = 1899 |
Translate the following into a SQL query | what is the length where the time is 2009 | SELECT Streak FROM table WHERE Last Meeting = 2009 |
Translate the following into a SQL query | What was the distance in the round where the supporter was champ car world series ( grand prix of cleveland ) and the tc winning car was pierre kleinubing? | SELECT Distance FROM table WHERE Supporting = Champ Car World Series ( Grand Prix of Cleveland ) AND TC Winning Car = Pierre Kleinubing |
Translate the following into a SQL query | What is the earliest round where the gt winning car is max angelelli? | SELECT MIN Rnd FROM table WHERE GT Winning Car = Max Angelelli |
Translate the following into a SQL query | Who was supporting in round 1 where the gt winning car was dodge viper? | SELECT Supporting FROM table WHERE GT Winning Car = Dodge Viper AND Rnd = 1 |
Translate the following into a SQL query | Who was supporting in the round when the gt winning car was dino crescentini? | SELECT Supporting FROM table WHERE GT Winning Car = Dino Crescentini |
Translate the following into a SQL query | How many writers wrote the episode "Woke Up Dead"? | SELECT COUNT Written by FROM table WHERE Title = "Woke Up Dead" |
Translate the following into a SQL query | Who wrote the episode with production code 2j5568? | SELECT Written by FROM table WHERE Production code = 2J5568 |
Translate the following into a SQL query | Who directed the episode watched by 2.01 million US viewers? | SELECT Directed by FROM table WHERE U.S. viewers (million) = 2.01 |
Translate the following into a SQL query | How many divisions in bowling ? | SELECT # of Divisions FROM table WHERE Sport = Bowling |
Translate the following into a SQL query | How many 7th season episodes had 2nd season viewerships of 6 594 469? | SELECT COUNT 7th season FROM table WHERE 2nd season = 6 594 469 |
Translate the following into a SQL query | How many first tournaments were winter sports with exactly 1 division? | SELECT COUNT 1st Tournament FROM table WHERE Season = Winter AND # of Divisions = 1 |
Translate the following into a SQL query | Where was the 2011-2012 soccer state tournament held? | SELECT 2011-2012 State Tournament Location FROM table WHERE Sport = Soccer |
Translate the following into a SQL query | How many first tournaments are associated with bowling? | SELECT COUNT 1st Tournament FROM table WHERE Sport = Bowling |
Translate the following into a SQL query | How many times is the player vaughn taylor listed? | SELECT COUNT Before FROM table WHERE Player = Vaughn Taylor |
Translate the following into a SQL query | What is the lowest after when the player is adam scott? | SELECT MIN After FROM table WHERE Player = Adam Scott |
Translate the following into a SQL query | What is the country for the score 72-63-71-68=274? | SELECT Country FROM table WHERE Score = 72-63-71-68=274 |
Translate the following into a SQL query | What is the after for the player kevin streelman? | SELECT After FROM table WHERE Player = Kevin Streelman |
Translate the following into a SQL query | What is the to par when the after is 33? | SELECT To par FROM table WHERE After = 33 |
Translate the following into a SQL query | What country is charley hoffman from? | SELECT Country FROM table WHERE Player = Charley Hoffman |
Translate the following into a SQL query | What is the before for the score of 63-67-66-71=267? | SELECT MIN Before FROM table WHERE Score = 63-67-66-71=267 |
Translate the following into a SQL query | What is the to par for the winnings of 232500? | SELECT To par FROM table WHERE Winnings ($) = 232500 |
Translate the following into a SQL query | What were the winnings for the score of 66-64-67-71=268? | SELECT Winnings ($) FROM table WHERE Score = 66-64-67-71=268 |
Translate the following into a SQL query | What is the after for geoff ogilvy? | SELECT MAX After FROM table WHERE Player = Geoff Ogilvy |
Translate the following into a SQL query | what is the most number where the person is luke donald | SELECT MAX Reset points FROM table WHERE Player = Luke Donald |
Translate the following into a SQL query | what is the place where the person is luke donald | SELECT Country FROM table WHERE Player = Luke Donald |
Translate the following into a SQL query | what is the person there the numbers is 2343 | SELECT Player FROM table WHERE Points = 2343 |
Translate the following into a SQL query | what is the number of pieces where the person is charley hoffman | SELECT COUNT Reset points FROM table WHERE Player = Charley Hoffman |
Translate the following into a SQL query | what is the number of people where the pieces is 3015 | SELECT COUNT Player FROM table WHERE Points = 3015 |
Translate the following into a SQL query | Which team drafted Ron Annear? | SELECT NHL team FROM table WHERE Player = Ron Annear |
Translate the following into a SQL query | Which team drafted Joakim Persson? | SELECT NHL team FROM table WHERE Player = Joakim Persson |
Translate the following into a SQL query | Which team drafted a player from HC Slavia Praha (Czechoslovakia)? | SELECT NHL team FROM table WHERE College/junior/club team = HC Slavia Praha (Czechoslovakia) |
Translate the following into a SQL query | Which player was drafted by the New York Rangers? | SELECT Player FROM table WHERE NHL team = New York Rangers |
Translate the following into a SQL query | Which team drafted Michael Orn? | SELECT NHL team FROM table WHERE Player = Michael Orn |
Translate the following into a SQL query | What position was the player who was drafted by the Washington Capitals? | SELECT Position FROM table WHERE NHL team = Washington Capitals |
Translate the following into a SQL query | What is Timo Lehkonen's highest pick number? | SELECT MAX Pick # FROM table WHERE Player = Timo Lehkonen |
Translate the following into a SQL query | What college/junior/club team played right wing position with NHL team Chicago Black Hawks? | SELECT College/junior/club team FROM table WHERE Position = Right Wing AND NHL team = Chicago Black Hawks |
Translate the following into a SQL query | How many college/junior/club teams are from Sweden? | SELECT COUNT College/junior/club team FROM table WHERE Nationality = Sweden |
Translate the following into a SQL query | What is Robert Dirk's nationality? | SELECT Nationality FROM table WHERE Player = Robert Dirk |
Translate the following into a SQL query | What country is Trent Yawney from? | SELECT Nationality FROM table WHERE Player = Trent Yawney |
Translate the following into a SQL query | What is Michal Pivonka's pick number? | SELECT COUNT Pick # FROM table WHERE Player = Michal Pivonka |
Translate the following into a SQL query | Which team did David McLay play for? | SELECT College/junior/club team FROM table WHERE Player = David McLay |
Translate the following into a SQL query | What is Robert Dirk's team? | SELECT College/junior/club team FROM table WHERE Player = Robert Dirk |
Translate the following into a SQL query | What is Graeme Bonar's lowest pick number? | SELECT MIN Pick # FROM table WHERE Player = Graeme Bonar |
Translate the following into a SQL query | where did glenn greenough come from | SELECT College/junior/club team FROM table WHERE Player = Glenn Greenough |
Translate the following into a SQL query | how many parts does detroit red wings person urban nordin play | SELECT COUNT Position FROM table WHERE NHL team = Detroit Red Wings AND Player = Urban Nordin |
Translate the following into a SQL query | What is the affiliation of the school with the website http://www.nicholasbreakspearschool.co.uk/? | SELECT Religious Affiliation FROM table WHERE School website = http://www.nicholasbreakspearschool.co.uk/ |
Translate the following into a SQL query | What is the gender of the Roman Catholic school is AL4? | SELECT Gender FROM table WHERE Religious Affiliation = Roman Catholic AND Location = AL4 |
Translate the following into a SQL query | What is the gender of the school which has the website http://www.nicholasbreakspearschool.co.uk/? | SELECT Gender FROM table WHERE School website = http://www.nicholasbreakspearschool.co.uk/ |
Translate the following into a SQL query | What is the affiliation of the school with website http://www.townsend.herts.sch.uk/? | SELECT Religious Affiliation FROM table WHERE School website = http://www.townsend.herts.sch.uk/ |
Translate the following into a SQL query | What is the affiliation of the school whose website is http://www.samuelryderacademy.co.uk/? | SELECT Religious Affiliation FROM table WHERE School website = http://www.samuelryderacademy.co.uk/ |
Translate the following into a SQL query | What is the website of the school affiliated with the Church of England? | SELECT School website FROM table WHERE Religious Affiliation = Church of England |
Translate the following into a SQL query | What nationality is listed when the college/junior/club team is oshawa generals (ohl)? | SELECT Nationality FROM table WHERE College/junior/club team = Oshawa Generals (OHL) |
Translate the following into a SQL query | What is the name of the player when the college/junior/club team is new westminster bruins (whl)? | SELECT Player FROM table WHERE College/junior/club team = New Westminster Bruins (WHL) |
Translate the following into a SQL query | How many college/junior/club teams are ther when nhl team is edmonton oilers? | SELECT COUNT College/junior/club team FROM table WHERE NHL team = Edmonton Oilers |
Translate the following into a SQL query | What is the postion when the nhl team is los angeles kings? | SELECT Position FROM table WHERE NHL team = Los Angeles Kings |
Translate the following into a SQL query | How many nhl teams are listed when college/junior/club team is listed as newton north high school (ushs-ma)? | SELECT COUNT NHL team FROM table WHERE College/junior/club team = Newton North High School (USHS-MA) |
Translate the following into a SQL query | What date did the episode directed by Victor Cook and Written by Brat Jennett air in the U.S.? | SELECT Original air date (U.S.) FROM table WHERE Directed by = Victor Cook AND Written by = Brat Jennett |
Translate the following into a SQL query | What date did the episode written by Mitch Watson and directed by Curt Geda originally air in the U.S.? | SELECT Original air date (U.S.) FROM table WHERE Directed by = Curt Geda AND Written by = Mitch Watson |
Translate the following into a SQL query | When Alberto Contador Kanstantsin Sivtsov was the general classification and Alessandro Petacchi was the points classification at the same time while Mark Cavendish is the winner, who was the mountain classification? | SELECT Mountains classification FROM table WHERE General classification = Alberto Contador Kanstantsin Sivtsov AND Points classification = Alessandro Petacchi AND Winner = Mark Cavendish |
Translate the following into a SQL query | Who was the young rider classification when Alessandro Petacchi won? | SELECT Young rider classification FROM table WHERE Winner = Alessandro Petacchi |
Translate the following into a SQL query | Who was the young rider classification when Diego Ulissi won? | SELECT COUNT Young rider classification FROM table WHERE Winner = Diego Ulissi |
Translate the following into a SQL query | What is the name of the young rider classification when Paolo Tiralongo won? | SELECT Young rider classification FROM table WHERE Winner = Paolo Tiralongo |
Translate the following into a SQL query | What's the version in the 1.0.4 release? | SELECT Version FROM table WHERE Release = 1.0.4 |
Translate the following into a SQL query | What's the release date in the 1.1.10 release? | SELECT Release date FROM table WHERE Release = 1.1.10 |
Translate the following into a SQL query | When's the end of maintenance in the august 11, 2013 release date? | SELECT End of maintenance FROM table WHERE Release date = August 11, 2013 |
Translate the following into a SQL query | What's the version of the 1.0.12 release? | SELECT Version FROM table WHERE Release = 1.0.12 |
Translate the following into a SQL query | What's the number of the 1.0.9 release version? | SELECT COUNT Version FROM table WHERE Release = 1.0.9 |
Translate the following into a SQL query | What's the number of the 1.0.12 release version? | SELECT COUNT Version FROM table WHERE Release = 1.0.12 |
Translate the following into a SQL query | What is the event 3 africa stone result for the man with an 1= (11 reps) event 2 squat lift result and a 3= (5 reps) event 4 overhead lift i result? | SELECT Event 3 Africa Stone FROM table WHERE Event 2 Squat Lift = 1= (11 reps) AND Event 4 Overhead Lift = 3= (5 reps) |
Translate the following into a SQL query | For how many series were there 11.84 million watchers? | SELECT No. in series FROM table WHERE U.S. viewers (million) = 11.84 |
Translate the following into a SQL query | What's the smallest season number? | SELECT MIN No. in season FROM table |
Translate the following into a SQL query | How many people watched the episode "bad girls"? | SELECT U.S. viewers (million) FROM table WHERE Title = "Bad Girls" |
Translate the following into a SQL query | Who wrote the episodes that were directed by Peter O'Fallon? | SELECT Written by FROM table WHERE Directed by = Peter O'Fallon |
Translate the following into a SQL query | What was the latest episode number that Meredith Averill wrote? | SELECT MAX No. in series FROM table WHERE Written by = Meredith Averill |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.