instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query | What is the latest episode number that was directed by Tom Dicillo? | SELECT MAX No. in series FROM table WHERE Directed by = Tom DiCillo |
Translate the following into a SQL query | How many years did Germany participate, when the team from Italy was Naples LL Naples and the team from England was London Area Youth London? | SELECT COUNT Germany FROM table WHERE Italy = Naples LL Naples AND England = London Area Youth London |
Translate the following into a SQL query | What was the team from Austria when the Netherlands sent Brunssum/Schinnen LL Brunssum and Belgium sent Shape and Waterloo LL Brussels? | SELECT Austria FROM table WHERE Netherlands = Brunssum/Schinnen LL Brunssum AND Belgium = SHAPE and Waterloo LL Brussels |
Translate the following into a SQL query | How many times has the 100s record been 1? | SELECT COUNT Highest Score FROM table WHERE 100s = 1 |
Translate the following into a SQL query | What is the maximum number of matches in a game? | SELECT MAX Matches FROM table |
Translate the following into a SQL query | What is the highest score in those games where the average is 9.88? | SELECT MIN Highest Score FROM table WHERE Average = 9.88 |
Translate the following into a SQL query | What digital channel corresponds to virtual channel 23.2? | SELECT Digital channel FROM table WHERE Virtual channel = 23.2 |
Translate the following into a SQL query | What digital channel corresponds to virtual channel 5.2? | SELECT Digital channel FROM table WHERE Virtual channel = 5.2 |
Translate the following into a SQL query | What network airs on virtual channel 23.1? | SELECT Network FROM table WHERE Virtual channel = 23.1 |
Translate the following into a SQL query | How many networks run on virtual channel 23.4? | SELECT COUNT Network FROM table WHERE Virtual channel = 23.4 |
Translate the following into a SQL query | What city licensed the broadcast on virtual channel 8.2? | SELECT City of license FROM table WHERE Virtual channel = 8.2 |
Translate the following into a SQL query | What was the title of the episode with production code 2J5515? | SELECT Title FROM table WHERE Production code = 2J5515 |
Translate the following into a SQL query | What is the 2007/08number when the 2010/11 is 1,633.6? | SELECT 2007/08 FROM table WHERE 2010/11 = 1,633.6 |
Translate the following into a SQL query | When 2007/08 is 6,443.8 what is ime exchange (including spot, credit and forward transactions)? | SELECT IME Exchange (Including spot, credit and forward transactions) FROM table WHERE 2007/08 = 6,443.8 |
Translate the following into a SQL query | When ime exchange (including spot, credit and forward transactions) is agricultural - volume (thousand tons) what is 2008/09? | SELECT 2008/09 FROM table WHERE IME Exchange (Including spot, credit and forward transactions) = Agricultural - Volume (thousand tons) |
Translate the following into a SQL query | When ime exchange (including spot, credit and forward transactions) is oil products - value (billion rials) what is the 2008/09 number? | SELECT COUNT 2008/09 FROM table WHERE IME Exchange (Including spot, credit and forward transactions) = Oil Products - Value (billion rials) |
Translate the following into a SQL query | What is the 2010/11 number when the 2007/08 is 772.6? | SELECT 2010/11 FROM table WHERE 2007/08 = 772.6 |
Translate the following into a SQL query | When the ime exchange (including spot, credit and forward transactions) is agricultural - value (billion rials ) what is 2010/11? | SELECT 2010/11 FROM table WHERE IME Exchange (Including spot, credit and forward transactions) = Agricultural - Value (billion rials ) |
Translate the following into a SQL query | Name the chassis for ludwig fischer | SELECT Chassis FROM table WHERE Driver = Ludwig Fischer |
Translate the following into a SQL query | Name the entrant for bruno sterzi | SELECT Entrant FROM table WHERE Driver = Bruno Sterzi |
Translate the following into a SQL query | Name the least number for nello pagani | SELECT MIN No FROM table WHERE Driver = Nello Pagani |
Translate the following into a SQL query | What is the largest number of consecutive starts for jason gildon? | SELECT MAX Consecutive starts FROM table WHERE Player = Jason Gildon |
Translate the following into a SQL query | What team(s) had 120 consecutive starts? | SELECT Teams FROM table WHERE Consecutive starts = 120 |
Translate the following into a SQL query | What period(s) featured a left inside linebacker? | SELECT Period FROM table WHERE Position = Left inside linebacker |
Translate the following into a SQL query | How many consecutive starts for the linebacker who played from 9/21/1975 – 12/16/1984? | SELECT MAX Total FROM table WHERE Period = 9/21/1975 – 12/16/1984 |
Translate the following into a SQL query | What episode is "Standoff"? | SELECT No. in series FROM table WHERE Title = "Standoff" |
Translate the following into a SQL query | What is the title of the episode written by Frank Military? | SELECT Title FROM table WHERE Written by = Frank Military |
Translate the following into a SQL query | How many seasons had 16.15 million viewers? | SELECT COUNT No. in series FROM table WHERE Viewers (millions) = 16.15 |
Translate the following into a SQL query | What is air date of the episode directed by John P. Kousakis? | SELECT Original air date FROM table WHERE Directed by = John P. Kousakis |
Translate the following into a SQL query | Who was the player when totals were 105-161? | SELECT Player FROM table WHERE Totals = 105-161 |
Translate the following into a SQL query | How many items appear in the average column when the totals were 105-161? | SELECT COUNT Average FROM table WHERE Totals = 105-161 |
Translate the following into a SQL query | What were the totals when the average is 6.25? | SELECT Totals FROM table WHERE Average = 6.25 |
Translate the following into a SQL query | Who was the team when the category is field goal percentage? | SELECT Team FROM table WHERE Category = Field goal percentage |
Translate the following into a SQL query | Name the election for the percent of popular vote being 4.48% | SELECT Election FROM table WHERE % of popular vote = 4.48% |
Translate the following into a SQL query | How many times was taiwan 3rd runner-up? | SELECT MAX 3rd Runner-up FROM table WHERE Country = Taiwan |
Translate the following into a SQL query | How many miss universes did south africa have? | SELECT COUNT Miss Universe FROM table WHERE Country = South Africa |
Translate the following into a SQL query | How many placements in total does russia have? | SELECT MAX Total FROM table WHERE Country = Russia |
Translate the following into a SQL query | Which country has had 6 miss universe's? | SELECT Country FROM table WHERE Miss Universe = 6 |
Translate the following into a SQL query | Which country has had 8 miss universes? | SELECT Country FROM table WHERE Miss Universe = 8 |
Translate the following into a SQL query | What is the minimum number of points for teams averaging 1.412? | SELECT MIN Points FROM table WHERE Average = 1.412 |
Translate the following into a SQL query | What is the 2004-2005 value associated with a 2005-2006 value of 56/38? | SELECT 2004-05 FROM table WHERE 2005-06 = 56/38 |
Translate the following into a SQL query | How many averages are associated with a 2003-2004 value of 62/38? | SELECT COUNT Average FROM table WHERE 2003-04 = 62/38 |
Translate the following into a SQL query | What 2003-2004 values are associated with an average of 1.377? | SELECT 2003-04 FROM table WHERE Average = 1.377 |
Translate the following into a SQL query | How many teams have a 2004-05 value of 49/38? | SELECT COUNT Team FROM table WHERE 2004-05 = 49/38 |
Translate the following into a SQL query | How many 2003-04 values have a 2004-05 value of 73/38? | SELECT COUNT 2003-04 FROM table WHERE 2004-05 = 73/38 |
Translate the following into a SQL query | How many millions of viewers are listed where the writer is Matthew Okumura? | SELECT U.S. viewers (million) FROM table WHERE Written by = Matthew Okumura |
Translate the following into a SQL query | What is the U.S air date when the title is "calling"? | SELECT U.S. air date FROM table WHERE Title = "Calling" |
Translate the following into a SQL query | What is the U.S. air date when the U.S. viewers are 7.5 million? | SELECT U.S. air date FROM table WHERE U.S. viewers (million) = 7.5 |
Translate the following into a SQL query | How many u.s. viewers (million) have 6 as the #? | SELECT U.S. viewers (million) FROM table WHERE # = 6 |
Translate the following into a SQL query | Who is directed by when "fade" is the title? | SELECT Directed by FROM table WHERE Title = "Fade" |
Translate the following into a SQL query | Who is the directed by when 2t6404 is the production code? | SELECT Directed by FROM table WHERE Production code = 2T6404 |
Translate the following into a SQL query | what is the number of the episode in the season that had 5.60 millions of north american spectors? | SELECT No. FROM table WHERE U.S. viewers (million) = 5.60 |
Translate the following into a SQL query | who are the writers of the episode whose production code is 176206? | SELECT Written by FROM table WHERE Production code = 176206 |
Translate the following into a SQL query | What stadium does FK Rudar play in? | SELECT Stadium FROM table WHERE Home team = FK Rudar |
Translate the following into a SQL query | What town holds Stadion Zlatica? | SELECT City / Town FROM table WHERE Stadium = Stadion Zlatica |
Translate the following into a SQL query | What stadium does FK Jedinstvo play in? | SELECT Stadium FROM table WHERE Home team = FK Jedinstvo |
Translate the following into a SQL query | What is listed in tor floysvik when karianne gulliksen is 6? | SELECT MIN Tor Fløysvik FROM table WHERE Karianne Gulliksen = 6 |
Translate the following into a SQL query | How many music entries are there when tor floysvik is 3? | SELECT COUNT Music FROM table WHERE Tor Fløysvik = 3 |
Translate the following into a SQL query | What is listed under chister tornell when karianne gulliksen is 7? | SELECT MIN Christer Tornell FROM table WHERE Karianne Gulliksen = 7 |
Translate the following into a SQL query | What is listed under tor floysvik when couple is maria & asmund? | SELECT MIN Tor Fløysvik FROM table WHERE Couple = Maria & Asmund |
Translate the following into a SQL query | What are Unit 2's dates of commissioning? | SELECT COUNT Date of Commissioning FROM table WHERE Unit Number = 2 |
Translate the following into a SQL query | What is the boiler provider for Bhel, India's TG Set provider? | SELECT Boiler Provider FROM table WHERE TG set Provider = BHEL, India |
Translate the following into a SQL query | Name the trine dehli cleve for english waltz | SELECT MIN Trine Dehli Cleve FROM table WHERE Style = English Waltz |
Translate the following into a SQL query | Name the style for 39 | SELECT Style FROM table WHERE Total = 39 |
Translate the following into a SQL query | Name the style for 27 | SELECT Style FROM table WHERE Total = 27 |
Translate the following into a SQL query | Name the most for fløysvik for 8 | SELECT MAX Tor Fløysvik FROM table WHERE Karianne Gulliksen = 8 |
Translate the following into a SQL query | how many for floysvik and christer tornell is 7? | SELECT COUNT Tor Fløysvik FROM table WHERE Christer Tornell = 7 |
Translate the following into a SQL query | how many for christer tornell where the total is 30? | SELECT COUNT Christer Tornell FROM table WHERE Total = 30 |
Translate the following into a SQL query | What score did Karianne Gulliksen give to the couple that danced to " la cumparsita "— tango argentino? | SELECT Karianne Gulliksen FROM table WHERE Music = " La Cumparsita "— Tango Argentino |
Translate the following into a SQL query | What is the couple that received a total score of 38? | SELECT Couple FROM table WHERE Total = 38 |
Translate the following into a SQL query | What is the greatest total score received by aylar & egor when karianne Gulliksen gave an 8? | SELECT MAX Total FROM table WHERE Couple = Aylar & Egor AND Karianne Gulliksen = 8 |
Translate the following into a SQL query | What is the total score received by the couple that danced to " ymca "— village people? | SELECT MAX Total FROM table WHERE Music = " YMCA "— Village People |
Translate the following into a SQL query | How many different scores did Christer Tornell give to the couple that danced to " song triste "— charlie chaplin? | SELECT COUNT Christer Tornell FROM table WHERE Music = " Song Triste "— Charlie Chaplin |
Translate the following into a SQL query | What is the largest number for trine dehli cleve? | SELECT MAX Trine Dehli Cleve FROM table |
Translate the following into a SQL query | How many couples are there for the song " i wonder why "— curtis stigers? | SELECT COUNT Couple FROM table WHERE Music = " I Wonder Why "— Curtis Stigers |
Translate the following into a SQL query | What is the largest number for karianne gulliksen? | SELECT MAX Karianne Gulliksen FROM table |
Translate the following into a SQL query | How many entries arr there for christer tornell for the song " you light up my life "— whitney houston? | SELECT COUNT Christer Tornell FROM table WHERE Music = " You Light Up My Life "— Whitney Houston |
Translate the following into a SQL query | How many styles had a total score of exactly 33? | SELECT COUNT Style FROM table WHERE Total = 33 |
Translate the following into a SQL query | Which style led to a score given by Tor Floysvik of 8? | SELECT Style FROM table WHERE Tor Fløysvik = 8 |
Translate the following into a SQL query | What is the smallest total score for the Pasodoble style? | SELECT MIN Total FROM table WHERE Style = Pasodoble |
Translate the following into a SQL query | Who directed the episode titled "Playing the Cancer Car"? | SELECT Directed by FROM table WHERE Title = "Playing the Cancer Car" |
Translate the following into a SQL query | What is the title of the episode watched by 0.88 million U.S. viewers? | SELECT Title FROM table WHERE U.S. viewers (million) = 0.88 |
Translate the following into a SQL query | How many millions of U.S. viewers watched the episode titled "New Beginnings"? | SELECT U.S. viewers (million) FROM table WHERE Title = "New Beginnings" |
Translate the following into a SQL query | Who directed the episode titled "Everything That Rises Must Converge"? | SELECT Directed by FROM table WHERE Title = "Everything That Rises Must Converge" |
Translate the following into a SQL query | What is the original air date of the episode that was watched by 0.88 million U.S. viewers? | SELECT Original air date FROM table WHERE U.S. viewers (million) = 0.88 |
Translate the following into a SQL query | How many million U.S. viewers watched "musical chairs"? | SELECT U.S. viewers (million) FROM table WHERE Title = "Musical Chairs" |
Translate the following into a SQL query | How many episodes in the series were titled "a little death"? | SELECT COUNT No. in series FROM table WHERE Title = "A Little Death" |
Translate the following into a SQL query | How many people directed "a little death"? | SELECT COUNT Directed by FROM table WHERE Title = "A Little Death" |
Translate the following into a SQL query | How may players have a passing yard score of 208? | SELECT COUNT Player FROM table WHERE Passing yards = 208 |
Translate the following into a SQL query | What is the name of the player with total offense of 454? | SELECT Player FROM table WHERE Total offense = 454 |
Translate the following into a SQL query | What is the number of rushing yards when the opponentis Indiana and the player is Denard Robinson? | SELECT MAX Rushing yards FROM table WHERE Opponent = Indiana AND Player = Denard Robinson |
Translate the following into a SQL query | What is the number of total offense when the opponentis Penn State? | SELECT MAX Total offense FROM table WHERE Opponent = Penn State |
Translate the following into a SQL query | How many rushing yards are listed when the passing yards are 244? | SELECT Rushing yards FROM table WHERE Passing yards = 244 |
Translate the following into a SQL query | What is listed in drainage basin when the type is gravity and the reservoir surface is 34.36? | SELECT Drainage basin (km²) FROM table WHERE Type = Gravity AND Reservoir surface (ha) = 34.36 |
Translate the following into a SQL query | What is the drainage basin when the reservoir suface is 6.14? | SELECT Drainage basin (km²) FROM table WHERE Reservoir surface (ha) = 6.14 |
Translate the following into a SQL query | What is the volume when the resrvoir is Tanes? | SELECT Volume (hm³) FROM table WHERE Reservoir = Tanes |
Translate the following into a SQL query | are there bi-tone is there's no olive drab and the caliber is 9×19mm parabellum and model is xdm 5.25 competition | SELECT Bi-Tone FROM table WHERE Olive Drab = No AND Caliber = 9×19mm Parabellum AND Model = XDM 5.25 Competition |
Translate the following into a SQL query | What is the family of the constellation that has lyncis /ˈlɪnsɨs/ as genitive? | SELECT Family FROM table WHERE Genitive = Lyncis /ˈlɪnsɨs/ |
Translate the following into a SQL query | What is the origin of the constellation that can be abbreviated to tele? | SELECT Origin FROM table WHERE Other abbreviation = Tele |
Translate the following into a SQL query | What is the other abbreviation of the constellation that has β trianguli as its brightest star? | SELECT Other abbreviation FROM table WHERE Brightest star = β Trianguli |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.