instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query | What is the 3-dart average with a high checkout of 112? | SELECT 3-dart Average FROM table WHERE High Checkout = 112 |
Translate the following into a SQL query | What is the high checkout when played is 2 and 36 is 100+? | SELECT MIN High Checkout FROM table WHERE Played = 2 AND 100+ = 36 |
Translate the following into a SQL query | How many 180s have legs won of 45? | SELECT MAX 180s FROM table WHERE Legs Won = 45 |
Translate the following into a SQL query | How many legs won have 95.29 as a 3-dart average? | SELECT Legs Won FROM table WHERE 3-dart Average = 95.29 |
Translate the following into a SQL query | The player who had 145 yards had how many touchdowns? | SELECT COUNT Touchdowns FROM table WHERE Yards = 145 |
Translate the following into a SQL query | Which team did the player have who had 27 total carries? | SELECT Team FROM table WHERE Carries = 27 |
Translate the following into a SQL query | What was the player's team's opponent for Week 12? | SELECT Opponent FROM table WHERE Week = 12 |
Translate the following into a SQL query | Who directed the episode that originally aired on March 18, 1988? | SELECT Directed by FROM table WHERE Original air date = March 18, 1988 |
Translate the following into a SQL query | What is the episode number in the series for "graduation" that was directed by Don Corvan? | SELECT MIN Ep. FROM table WHERE Directed by = Don Corvan AND Title = "Graduation" |
Translate the following into a SQL query | What was the name of the episode that aired originally on March 11, 1988? | SELECT Title FROM table WHERE Original air date = March 11, 1988 |
Translate the following into a SQL query | What is the production code of the episode written by Jack Carrerrow? | SELECT Prod. Code FROM table WHERE Written by = Jack Carrerrow |
Translate the following into a SQL query | How many episodes had a production code of 5m13? | SELECT COUNT Ep. FROM table WHERE Prod. Code = 5M13 |
Translate the following into a SQL query | Name the title that aired for november 08, 1985 | SELECT Title FROM table WHERE Original air date = November 08, 1985 |
Translate the following into a SQL query | Name the production code for november 08, 1985 | SELECT Prod. Code FROM table WHERE Original air date = November 08, 1985 |
Translate the following into a SQL query | Name the written by for production code 4g07 | SELECT Written by FROM table WHERE Prod. Code = 4G07 |
Translate the following into a SQL query | Name the least episode for november 29, 1985 | SELECT MIN Ep. FROM table WHERE Original air date = November 29, 1985 |
Translate the following into a SQL query | What was the final score when tracy austin was runner up? | SELECT Score in Final FROM table WHERE Runner-up = Tracy Austin |
Translate the following into a SQL query | When "jobless" is the title who are the writers? | SELECT Written by FROM table WHERE Title = "Jobless" |
Translate the following into a SQL query | When 5a06 is the production code what is the highest episode? | SELECT MAX Ep. FROM table WHERE Prod. Code = 5A06 |
Translate the following into a SQL query | When it is season 10 who are the writers? | SELECT Written by FROM table WHERE Season = 10 |
Translate the following into a SQL query | when womens singles is wang yihan and tour is french super series, what were the men's singles? | SELECT Mens singles FROM table WHERE Womens singles = Wang Yihan AND Tour = French Super Series |
Translate the following into a SQL query | when mixed doubles is zheng bo ma jin and womens singles is wang yihan, what was the tour? | SELECT Tour FROM table WHERE Mixed doubles = Zheng Bo Ma Jin AND Womens singles = Wang Yihan |
Translate the following into a SQL query | How many titles were directed by Alex Chapple? | SELECT COUNT Title FROM table WHERE Director = Alex Chapple |
Translate the following into a SQL query | Who is the director of the "Adam's Family"? | SELECT Director FROM table WHERE Title = "Adam's Family" |
Translate the following into a SQL query | What was the us airdate for "Bear Breasts"? | SELECT U.S. airdate FROM table WHERE Title = "Bear Breasts" |
Translate the following into a SQL query | What was the USA airdate for "Jenny From the Block"? | SELECT U.S. airdate FROM table WHERE Title = "Jenny from the Block" |
Translate the following into a SQL query | Name the most number for air date 2009/12/29 | SELECT MAX # FROM table WHERE Air date Netherlands yyyy/mm/dd = 2009/12/29 |
Translate the following into a SQL query | How many millions viewers watched the episode that ran 23:25? | SELECT Viewers (in millions) FROM table WHERE Run time = 23:25 |
Translate the following into a SQL query | What is the broadcast date of the episode on 16mm t/r that ran 23:25? | SELECT Broadcast date FROM table WHERE Archive = 16mm t/r AND Run time = 23:25 |
Translate the following into a SQL query | Which episode was watched by 7.2 million viewers? | SELECT Episode FROM table WHERE Viewers (in millions) = 7.2 |
Translate the following into a SQL query | What episode had a run time of 24:18? | SELECT Episode FROM table WHERE Run time = 24:18 |
Translate the following into a SQL query | What is the greatest number of valves? | SELECT MIN Valves FROM table |
Translate the following into a SQL query | For the 1999 w210 e-class , 2000 w203 c-class, what is the stroke? | SELECT Stroke FROM table WHERE Applications = 1999 W210 E-Class , 2000 W203 C-Class |
Translate the following into a SQL query | What is the displacement for torque of n·m (lb·ft) @1500 rpm? | SELECT Displacement FROM table WHERE Torque = N·m (lb·ft) @1500 rpm |
Translate the following into a SQL query | If torque is n·m (lb·ft) @1600–2400 rpm and applications is 2000 w90x sprinter, what is the power? | SELECT Power FROM table WHERE Torque = N·m (lb·ft) @1600–2400 rpm AND Applications = 2000 W90x Sprinter |
Translate the following into a SQL query | List the torque possible when the stroke is 88.4mm? | SELECT Torque FROM table WHERE Stroke = 88.4mm |
Translate the following into a SQL query | Name the opponent for 7-1-0 | SELECT Opponent FROM table WHERE Record = 7-1-0 |
Translate the following into a SQL query | Name the episode for run time 25:05 | SELECT Episode FROM table WHERE Run time = 25:05 |
Translate the following into a SQL query | Name the broadcast date for run timke of 25:04 | SELECT Broadcast date FROM table WHERE Run time = 25:04 |
Translate the following into a SQL query | Name the archive for run time of 23:55 | SELECT Archive FROM table WHERE Run time = 23:55 |
Translate the following into a SQL query | Name the broadcast date for 7.4 viewers | SELECT Broadcast date FROM table WHERE Viewers (in millions) = 7.4 |
Translate the following into a SQL query | Name the broadcast date for 6.0 viewers | SELECT Broadcast date FROM table WHERE Viewers (in millions) = 6.0 |
Translate the following into a SQL query | What was the episode number for "Going Bodmin"? | SELECT MAX Episode No. FROM table WHERE Title = "Going Bodmin" |
Translate the following into a SQL query | When did "Going Bodmin" originally air? | SELECT Original airdate FROM table WHERE Title = "Going Bodmin" |
Translate the following into a SQL query | How many episodes were written by Kirstie Falkous & John Regier? | SELECT COUNT Episode No. FROM table WHERE Written by = Kirstie Falkous & John Regier |
Translate the following into a SQL query | How many episodes were titled "Going Bodmin"? | SELECT Episode No. FROM table WHERE Title = "Going Bodmin" |
Translate the following into a SQL query | What episode had 9.7 million viewers? | SELECT Episode FROM table WHERE Viewers (in millions) = 9.7 |
Translate the following into a SQL query | What date was an episode broadcasted on that had a run time of 24:40? | SELECT Broadcast date FROM table WHERE Run time = 24:40 |
Translate the following into a SQL query | What episode had a run time of 24:53? | SELECT Episode FROM table WHERE Run time = 24:53 |
Translate the following into a SQL query | What was the archive for the episode with a run time of 25:24? | SELECT Archive FROM table WHERE Run time = 25:24 |
Translate the following into a SQL query | What is he archive for the episode with a run time of 24:05? | SELECT Archive FROM table WHERE Run time = 24:05 |
Translate the following into a SQL query | Who directed the episode "the departed"? | SELECT Directed by FROM table WHERE Title = "The Departed" |
Translate the following into a SQL query | Who directed episode number 23? | SELECT Directed by FROM table WHERE Episode No. = 23 |
Translate the following into a SQL query | What was the numer of the game when the record was 4-0? | SELECT MAX Game FROM table WHERE Record = 4-0 |
Translate the following into a SQL query | How many opponents led to an exactly 7-0 record? | SELECT COUNT Opponent FROM table WHERE Record = 7-0 |
Translate the following into a SQL query | What number was the game against Kansas State? | SELECT Game FROM table WHERE Opponent = Kansas State |
Translate the following into a SQL query | How many episodes ran 24:33? | SELECT COUNT Episode FROM table WHERE Run time = 24:33 |
Translate the following into a SQL query | On broadcast date is 25april1970, how many people tuned in? | SELECT Viewers (in millions) FROM table WHERE Broadcast date = 25April1970 |
Translate the following into a SQL query | On broadcast date is 28march1970, how many people tuned in? | SELECT Viewers (in millions) FROM table WHERE Broadcast date = 28March1970 |
Translate the following into a SQL query | On broadcast date is 21march1970, how many people tuned in? | SELECT COUNT Viewers (in millions) FROM table WHERE Broadcast date = 21March1970 |
Translate the following into a SQL query | What is the archive of the show that aired on 18april1970? | SELECT Archive FROM table WHERE Broadcast date = 18April1970 |
Translate the following into a SQL query | What was the least amount of points scored by the golden bears when the opponent scored 15 points? | SELECT MIN Golden Bears points FROM table WHERE Opponents = 15 |
Translate the following into a SQL query | What is the total number of opponents played against the bears in game 4? | SELECT COUNT Opponents FROM table WHERE Game = 4 |
Translate the following into a SQL query | What opponent was playing against the Golden Bears when they scored 3 points? | SELECT Opponent FROM table WHERE Golden Bears points = 3 |
Translate the following into a SQL query | What is the Medal of Honor with Army Distinguished Service Medal? | SELECT Medal of Honor FROM table WHERE Air Force Cross = Army Distinguished Service Medal |
Translate the following into a SQL query | WHat is the Homeland security distinguished service medal when the medal of honor is Coast guard Medal? | SELECT Homeland Security Distinguished Service Medal FROM table WHERE Medal of Honor = Coast Guard Medal |
Translate the following into a SQL query | What is the distinguished service cross when the navy cross is Coast Guard commendation medal? | SELECT Distinguished Service Cross FROM table WHERE Navy Cross = Coast Guard Commendation Medal |
Translate the following into a SQL query | What is the air force cross when you recieve the Aerial achievement medal? | SELECT Air Force Cross FROM table WHERE Homeland Security Distinguished Service Medal = Aerial Achievement Medal |
Translate the following into a SQL query | What is the coast guard cross when you recieve the navy distinguished service medal? | SELECT Coast Guard Cross FROM table WHERE Distinguished Service Cross = Navy Distinguished Service Medal |
Translate the following into a SQL query | How many figures are given for Walker's percentage in Kenosha county? | SELECT COUNT Walker % FROM table WHERE County = Kenosha |
Translate the following into a SQL query | What percentage did Walker win in Calumet county? | SELECT Walker % FROM table WHERE County = Calumet |
Translate the following into a SQL query | How many total figures are given for Milwaukee county? | SELECT COUNT Won by FROM table WHERE County = Milwaukee |
Translate the following into a SQL query | What did they do in the game when their record was 3-2-1? | SELECT Result FROM table WHERE Record = 3-2-1 |
Translate the following into a SQL query | What did they do against Villanova? | SELECT Result FROM table WHERE Opponent = Villanova |
Translate the following into a SQL query | What did they do against Memphis? | SELECT Result FROM table WHERE Opponent = Memphis |
Translate the following into a SQL query | How many games did they play when their record 0-2-0? | SELECT COUNT Date FROM table WHERE Record = 0-2-0 |
Translate the following into a SQL query | When did the episode seen by is 2.267 million people get aired? | SELECT AU Air Date FROM table WHERE Viewers (m) = 2.267 |
Translate the following into a SQL query | Name the episode for run time in 24:44 | SELECT Episode FROM table WHERE Run time = 24:44 |
Translate the following into a SQL query | Name the total episode for runtime of 24:11 | SELECT COUNT Episode FROM table WHERE Run time = 24:11 |
Translate the following into a SQL query | Who did the team play against when a record of 3-1, #16 was achieved? | SELECT Opponent FROM table WHERE Record = 3-1, #16 |
Translate the following into a SQL query | What was the result of the game against Mississippi State? | SELECT Result FROM table WHERE Opponent = Mississippi State |
Translate the following into a SQL query | Who did the team play against in the game that resulted with a loss? | SELECT Opponent FROM table WHERE Result = Loss |
Translate the following into a SQL query | What game did the Bruins play Santa Clara? | SELECT Game FROM table WHERE Opponent = Santa Clara |
Translate the following into a SQL query | Santa Clara was played how many times? | SELECT Opponents FROM table WHERE Opponent = Santa Clara |
Translate the following into a SQL query | The game the Bruins scored 26 ,what was the result? | SELECT Result FROM table WHERE Opponents = 26 |
Translate the following into a SQL query | What was the record for game 9? | SELECT Record FROM table WHERE Game = 9 |
Translate the following into a SQL query | Who were the opponents of the Wildcats in game 4? | SELECT Opponent FROM table WHERE Game = 4 |
Translate the following into a SQL query | Who were the the opponents of the Wildcats for game 8 of the season? | SELECT Opponent FROM table WHERE Game = 8 |
Translate the following into a SQL query | What was the record of the Wildcats after playing Florida? | SELECT Record FROM table WHERE Opponent = Florida |
Translate the following into a SQL query | How many times did the Wildcats play a game 11 regardless of points scored? | SELECT COUNT Wildcats points FROM table WHERE Game = 11 |
Translate the following into a SQL query | Name the number of black knights points for 3 game | SELECT COUNT Black Knights points FROM table WHERE Game = 3 |
Translate the following into a SQL query | Name the opponents for game 5 | SELECT Opponents FROM table WHERE Game = 5 |
Translate the following into a SQL query | Name the result for 19 black knights points | SELECT Result FROM table WHERE Black Knights points = 19 |
Translate the following into a SQL query | Name the opponent for black knights points 27 | SELECT Opponent FROM table WHERE Black Knights points = 27 |
Translate the following into a SQL query | Name the date for game 8 | SELECT Date FROM table WHERE Game = 8 |
Translate the following into a SQL query | Name the number of date for 1-0 record | SELECT COUNT Date FROM table WHERE Record = 1-0 |
Translate the following into a SQL query | Name the game for record 1-0 | SELECT Game FROM table WHERE Record = 1-0 |
Translate the following into a SQL query | Name the most game | SELECT MAX Game FROM table |
Translate the following into a SQL query | How many games have a record of 3-4-0? | SELECT MAX Game FROM table WHERE Record = 3-4-0 |
Translate the following into a SQL query | How many dates have boston college as the opponent? | SELECT COUNT Date FROM table WHERE Opponent = Boston College |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.