instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query | What is the lowest ru? | SELECT MIN RU FROM table |
Translate the following into a SQL query | What ga date do the models with 1.0, 1.2, 1.4ghz processor frequencies have? | SELECT GA Date FROM table WHERE Processor frequency = 1.0, 1.2, 1.4GHz |
Translate the following into a SQL query | What is the ga date of the t5120 model? | SELECT GA Date FROM table WHERE Model = T5120 |
Translate the following into a SQL query | What is the sport of the La Liga league? | SELECT Sport FROM table WHERE League = La Liga |
Translate the following into a SQL query | What's the minimum total attendance of the Premier League association football? | SELECT MIN Total attendance FROM table WHERE Sport = Association football AND League = Premier League |
Translate the following into a SQL query | What's the average attendance of the leagues in the season of 2013? | SELECT MIN Average attendance FROM table WHERE Season = 2013 |
Translate the following into a SQL query | What's the total attendance of the leagues in season of 2010? | SELECT COUNT Total attendance FROM table WHERE Season = 2010 |
Translate the following into a SQL query | Who were the directors of the film submitted with the title Young Törless? | SELECT Director FROM table WHERE Film title used in nomination = Young Törless |
Translate the following into a SQL query | What was the original title of the film submitted with the title A Woman in Flames? | SELECT Original title FROM table WHERE Film title used in nomination = A Woman in Flames |
Translate the following into a SQL query | In what years was a film submitted with the title The Enigma of Kaspar Hauser? | SELECT Year [e ] (Ceremony) FROM table WHERE Film title used in nomination = The Enigma of Kaspar Hauser |
Translate the following into a SQL query | Who were the directors of the film with the original title o.k.? | SELECT Director FROM table WHERE Original title = o.k. |
Translate the following into a SQL query | What is the division for the division semifinals playoffs? | SELECT Division FROM table WHERE Playoffs = Division Semifinals |
Translate the following into a SQL query | What is the number in series of "say uncle"? | SELECT No. in series FROM table WHERE Title = "Say Uncle" |
Translate the following into a SQL query | What is the title written by David Mamet? | SELECT Title FROM table WHERE Written by = David Mamet |
Translate the following into a SQL query | What was the finale for 潮爆大狀 | SELECT Finale FROM table WHERE Chinese title = 潮爆大狀 |
Translate the following into a SQL query | What was the finale for 潮爆大狀 | SELECT Finale FROM table WHERE Chinese title = 潮爆大狀 |
Translate the following into a SQL query | How many viewers were there for the premier with 34 | SELECT HK viewers FROM table WHERE Premiere = 34 |
Translate the following into a SQL query | How many are listed under 潮爆大狀 | SELECT COUNT Peak FROM table WHERE Chinese title = 潮爆大狀 |
Translate the following into a SQL query | Who was the director of the episode with a production code of 2393059? | SELECT Director FROM table WHERE Production code = 2393059 |
Translate the following into a SQL query | How many people wrote "Michael's Game"? | SELECT COUNT Writer(s) FROM table WHERE Title = "Michael's Game" |
Translate the following into a SQL query | When did the episode title "Duet For One" air? | SELECT Original air date FROM table WHERE Title = "Duet for One" |
Translate the following into a SQL query | Which episode had 16.38 million U.S. viewers? | SELECT Title FROM table WHERE U.S. viewers (millions) = 16.38 |
Translate the following into a SQL query | What is the production code of the episode written by José Molina that aired on October 12, 2004? | SELECT Production code FROM table WHERE Written by = José Molina AND Original air date = October 12, 2004 |
Translate the following into a SQL query | What was the original air date of the episode "Quarry"? | SELECT Original air date FROM table WHERE Title = "Quarry" |
Translate the following into a SQL query | Which episode was directed by Jean de Segonzac? | SELECT Title FROM table WHERE Directed by = Jean de Segonzac |
Translate the following into a SQL query | what are the original air dates with a production code of 2394087 | SELECT Original air date FROM table WHERE Production code = 2394087 |
Translate the following into a SQL query | Who are the writers for the title "boxing sydney" | SELECT Writer(s) FROM table WHERE Title = "Boxing Sydney" |
Translate the following into a SQL query | What are the production codes for the title "all about brooke" | SELECT Production code FROM table WHERE Title = "All About Brooke" |
Translate the following into a SQL query | Who are the writer(s) for the production code 2394084 | SELECT Writer(s) FROM table WHERE Production code = 2394084 |
Translate the following into a SQL query | What's the total number of episodes with the production code 2395113A? | SELECT COUNT Title FROM table WHERE Production code = 2395113A |
Translate the following into a SQL query | What's the number of the episode called "Melrose Unglued"? | SELECT MAX No. in series FROM table WHERE Title = "Melrose Unglued" |
Translate the following into a SQL query | Who's the writer for the episode with a production code 2395114? | SELECT Writer(s) FROM table WHERE Production code = 2395114 |
Translate the following into a SQL query | Who directed the episode titled "Full Metal Betsy"? | SELECT Director FROM table WHERE Title = "Full Metal Betsy" |
Translate the following into a SQL query | What's the number of the episode with production code 2395118? | SELECT No. in season FROM table WHERE Production code = 2395118 |
Translate the following into a SQL query | Who was the writer for the episode with production code 2395096? | SELECT Writer(s) FROM table WHERE Production code = 2395096 |
Translate the following into a SQL query | What generation of spectrograph is most likely to detect a planet with a radial velocity of 0.089 m/s? | SELECT Detectable by: FROM table WHERE Radial velocity (m/s) = 0.089 |
Translate the following into a SQL query | How long is the orbital period for the planet that has a semimajor axis of 5.20 au? | SELECT Orbital Period FROM table WHERE Semimajor Axis ( AU ) = 5.20 |
Translate the following into a SQL query | What generation of spectrograph is Jupiter detected by? | SELECT Detectable by: FROM table WHERE Planet = Jupiter |
Translate the following into a SQL query | Which planet has an orbital period of 11.86 years? | SELECT Planet FROM table WHERE Orbital Period = 11.86 years |
Translate the following into a SQL query | who directed the production code 2398204 | SELECT Director FROM table WHERE Production code = 2398204 |
Translate the following into a SQL query | when did "unpleasantville" air? | SELECT Original air date FROM table WHERE Title = "Unpleasantville" |
Translate the following into a SQL query | What is player Alexis Bwenge's pick number? | SELECT Pick # FROM table WHERE Player = Alexis Bwenge |
Translate the following into a SQL query | What player is pick #2? | SELECT Player FROM table WHERE Pick # = 2 |
Translate the following into a SQL query | Which player's college is Saskatchewan? | SELECT Player FROM table WHERE College = Saskatchewan |
Translate the following into a SQL query | What is McMaster College's pick number? | SELECT MIN Pick # FROM table WHERE College = McMaster |
Translate the following into a SQL query | give the least number of times an episode was shown from 1997-1998 | SELECT MIN No. in season FROM table |
Translate the following into a SQL query | when was the episode named "the doctor is in... deep" first broadcast | SELECT Original air date FROM table WHERE Title = "The Doctor Is In... Deep" |
Translate the following into a SQL query | how many times does the episode called "coop de grace" appear | SELECT COUNT No. in series FROM table WHERE Title = "Coop de Grace" |
Translate the following into a SQL query | what is season 6 sum of both the number of times processing ID 2397162 was assigned and the number of times chip chalmers managed an episode | SELECT MAX No. in season FROM table WHERE Director = Chip Chalmers AND Production code = 2397162 |
Translate the following into a SQL query | Which player went to Michigan State? | SELECT Player name FROM table WHERE College = Michigan State |
Translate the following into a SQL query | Which player went to college in Oklahoma? | SELECT Player name FROM table WHERE College = Oklahoma |
Translate the following into a SQL query | Which position does Colt Brennan play? | SELECT Position FROM table WHERE Player name = Colt Brennan |
Translate the following into a SQL query | What is the height of the person that weighs 320 pounds? | SELECT Height FROM table WHERE Weight = 320 |
Translate the following into a SQL query | How many colleges have a DB position? | SELECT COUNT College FROM table WHERE Position = DB |
Translate the following into a SQL query | What is the maximum number of picks for the CFL team Calgary Stampeders? | SELECT MAX Pick # FROM table WHERE CFL Team = Calgary Stampeders |
Translate the following into a SQL query | How many CFL teams are from York college? | SELECT COUNT CFL Team FROM table WHERE College = York |
Translate the following into a SQL query | What CFL teams are part of Simon Fraser college? | SELECT CFL Team FROM table WHERE College = Simon Fraser |
Translate the following into a SQL query | Which players have a pick number of 27? | SELECT Player FROM table WHERE Pick # = 27 |
Translate the following into a SQL query | How many times were players named brett ralph were selected? | SELECT COUNT Pick # FROM table WHERE Player = Brett Ralph |
Translate the following into a SQL query | What schools did lenard semajuste play for? | SELECT College FROM table WHERE Player = Lenard Semajuste |
Translate the following into a SQL query | What is the highest selection number for the saskatchewan roughriders team? | SELECT MAX Pick # FROM table WHERE CFL Team = Saskatchewan Roughriders |
Translate the following into a SQL query | How many fb players were drafted? | SELECT COUNT Pick # FROM table WHERE Position = FB |
Translate the following into a SQL query | How many players played for adams state school? | SELECT COUNT Player FROM table WHERE College = Adams State |
Translate the following into a SQL query | What teams drafted players that played for northwood school? | SELECT CFL Team FROM table WHERE College = Northwood |
Translate the following into a SQL query | What college did Craig Zimmer go to? | SELECT College FROM table WHERE Player = Craig Zimmer |
Translate the following into a SQL query | What is the pick number of regina? | SELECT Pick # FROM table WHERE College = Regina |
Translate the following into a SQL query | What is the player who is lb and cfl team is saskatchewan roughriders? | SELECT Player FROM table WHERE Position = LB AND CFL Team = Saskatchewan Roughriders |
Translate the following into a SQL query | What is the cfl team that has a position of ol? | SELECT CFL Team FROM table WHERE Position = OL |
Translate the following into a SQL query | What is the number of position where the pick number is 43? | SELECT COUNT Position FROM table WHERE Pick # = 43 |
Translate the following into a SQL query | What is the cfl team with ryan folk? | SELECT CFL Team FROM table WHERE Player = Ryan Folk |
Translate the following into a SQL query | What release date is when kids-270 is a reference? | SELECT Release date FROM table WHERE Reference = KIDS-270 |
Translate the following into a SQL query | what is the title where romaji is titles da.i.su.ki | SELECT Japanese title FROM table WHERE Romaji title = Da.i.su.ki |
Translate the following into a SQL query | what are the title in japanese where the reference is kids-430? | SELECT Japanese title FROM table WHERE Reference = KIDS-430 |
Translate the following into a SQL query | who is the reference when romaji title is heartbreak sniper? | SELECT Reference FROM table WHERE Romaji title = Heartbreak Sniper |
Translate the following into a SQL query | What rank is 愛のバカ on the Japanese singles chart? | SELECT COUNT Oricon FROM table WHERE Japanese title = 愛のバカ |
Translate the following into a SQL query | How many songs have mi-chemin as their Japanese name and romanji name? | SELECT COUNT Romaji title FROM table WHERE Japanese title = Mi-Chemin |
Translate the following into a SQL query | What was the partial thromboplastin time for factor x deficiency as seen in amyloid purpura | SELECT Partial thromboplastin time FROM table WHERE Condition = Factor X deficiency as seen in amyloid purpura |
Translate the following into a SQL query | How many conditions have an unaffected prothrombin time and a prolonged bleeding time | SELECT COUNT Condition FROM table WHERE Prothrombin time = Unaffected AND Bleeding time = Prolonged |
Translate the following into a SQL query | What was the bleeding time for the factor x deficiency as seen in amyloid purpura | SELECT Bleeding time FROM table WHERE Condition = Factor X deficiency as seen in amyloid purpura |
Translate the following into a SQL query | What conditions had both prolonged bleeding times and prolonged partial thromboplastin times | SELECT Condition FROM table WHERE Partial thromboplastin time = Prolonged AND Bleeding time = Prolonged |
Translate the following into a SQL query | What was the bleeding time for factor xii deficiency | SELECT Bleeding time FROM table WHERE Condition = Factor XII deficiency |
Translate the following into a SQL query | What were the bleeding times when both the platelet count was unaffected and the partial thromboplastin time was unaffected | SELECT Bleeding time FROM table WHERE Partial thromboplastin time = Unaffected AND Platelet count = Unaffected |
Translate the following into a SQL query | what's the tuesday time with location being millhopper | SELECT Tuesday FROM table WHERE Location = Millhopper |
Translate the following into a SQL query | what's the wednesday time with monday being 10:00-8:00 | SELECT Wednesday FROM table WHERE Monday = 10:00-8:00 |
Translate the following into a SQL query | what's the thursday time with location being hawthorne | SELECT Thursday FROM table WHERE Location = Hawthorne |
Translate the following into a SQL query | what's the saturday time with wednesday being 10:00-5:00 | SELECT Saturday FROM table WHERE Wednesday = 10:00-5:00 |
Translate the following into a SQL query | what's the thursday time with sunday being 1:00-5:00 and tuesday being 1:00-7:00 | SELECT Thursday FROM table WHERE Sunday = 1:00-5:00 AND Tuesday = 1:00-7:00 |
Translate the following into a SQL query | what's the monday time with tuesday being 9:00-6:00 | SELECT Monday FROM table WHERE Tuesday = 9:00-6:00 |
Translate the following into a SQL query | What are all the reports where Paul Tracy had the fastest lap? | SELECT Report FROM table WHERE Fastest lap = Paul Tracy |
Translate the following into a SQL query | Who drove the fastest lap at the Tenneco Automotive Grand Prix of Detroit? | SELECT Fastest lap FROM table WHERE Race Name = Tenneco Automotive Grand Prix of Detroit |
Translate the following into a SQL query | Who had the fastest lap in the races won by Max Papis? | SELECT Fastest lap FROM table WHERE Winning driver = Max Papis |
Translate the following into a SQL query | In Round 6, how many winning drivers were there? | SELECT COUNT Winning driver FROM table WHERE Rnd = 6 |
Translate the following into a SQL query | What are the original names of the districts where the population in the 2010 census was 210450? | SELECT Original name FROM table WHERE Population at 2010 Census = 210450 |
Translate the following into a SQL query | What is the original name of the district with the current English name of South Bogor? | SELECT Original name FROM table WHERE English name = South Bogor |
Translate the following into a SQL query | What is the listed population from the 2010 census of West Bogor? | SELECT MIN Population at 2010 Census FROM table WHERE English name = West Bogor |
Translate the following into a SQL query | How many districts have an area of 17.72 KM2? | SELECT COUNT English name FROM table WHERE Area in km² = 17.72 |
Translate the following into a SQL query | What is the area in km2 for the district whose original name was Kecamatan Bogor Timur? | SELECT Area in km² FROM table WHERE Original name = Kecamatan Bogor Timur |
Translate the following into a SQL query | What is the number of colour with the regisration number of mg-509? | SELECT COUNT Colour FROM table WHERE Registration No. = MG-509 |
Translate the following into a SQL query | What is the title of the episode directed by Mark Tinker? | SELECT Title FROM table WHERE Directed by = Mark Tinker |
Translate the following into a SQL query | What episode in the season was directed by Jeff Melman? | SELECT MIN No. in season FROM table WHERE Directed by = Jeff Melman |