instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query | What's team #2 in the round where team $1 is Ilisiakos? | SELECT Team #2 FROM table WHERE Team #1 = Ilisiakos |
Translate the following into a SQL query | What's the team #2 in the round where team #1 is Iraklis? | SELECT Team #2 FROM table WHERE Team #1 = Iraklis |
Translate the following into a SQL query | What's the 1st leg result in the round where team #1 is Iraklis? | SELECT 1st leg FROM table WHERE Team #1 = Iraklis |
Translate the following into a SQL query | What's the 2nd leg result in the round where Panionios is team #2? | SELECT 2nd leg FROM table WHERE Team #2 = Panionios |
Translate the following into a SQL query | What's the 2nd leg result in the round where team #1 is Iraklis? | SELECT 2nd leg FROM table WHERE Team #1 = Iraklis |
Translate the following into a SQL query | What is the dma when the format is rhythmic contemporary? | SELECT MIN DMA FROM table WHERE Format = Rhythmic Contemporary |
Translate the following into a SQL query | Which frequency is station wlfv-fm? | SELECT Frequency FROM table WHERE Station = WLFV-FM |
Translate the following into a SQL query | Which station has the frequency of 107.3? | SELECT Station FROM table WHERE Frequency = 107.3 |
Translate the following into a SQL query | What is dma? | SELECT MIN DMA FROM table |
Translate the following into a SQL query | What is the dma of branding is big oldies 107.3 with the station warv-fm? | SELECT DMA FROM table WHERE Branding = Big Oldies 107.3 AND Station = WARV-FM |
Translate the following into a SQL query | Which branding has the format of southern country? | SELECT Branding FROM table WHERE Format = Southern Country |
Translate the following into a SQL query | What is the total number of gentle personalities? | SELECT COUNT 方位 Direction FROM table WHERE 性情 Personality = Gentle |
Translate the following into a SQL query | What is the meaning of a gentle personality? | SELECT 意義 Meaning FROM table WHERE 性情 Personality = Gentle |
Translate the following into a SQL query | Who in the family has a gentle personality? | SELECT 家族 Family FROM table WHERE 性情 Personality = Gentle |
Translate the following into a SQL query | Which mission number has alternate name 1962-f01 | SELECT Mission No. FROM table WHERE Alt. Name = 1962-F01 |
Translate the following into a SQL query | What are the notes of the satellite whose nssdc id number is 1959-002a? | SELECT Notes FROM table WHERE NSSDC ID No. = 1959-002A |
Translate the following into a SQL query | What are the alternative name/s of those satellites whose nssdc id number is 1970-054a? | SELECT Alt. Name FROM table WHERE NSSDC ID No. = 1970-054A |
Translate the following into a SQL query | What are the alternative names of those satellites where the notes are: mission failed. guidance system failed. no orbit. | SELECT Alt. Name FROM table WHERE Notes = Mission failed. Guidance system failed. No orbit. |
Translate the following into a SQL query | If -750m is 46.436, what is the name of the cyclist? | SELECT Name FROM table WHERE - 750m = 46.436 |
Translate the following into a SQL query | What is the -500 number for Theo Bos? | SELECT - 500m FROM table WHERE Name = Theo Bos |
Translate the following into a SQL query | If the -250m is 18.852, what is the | SELECT - 750m FROM table WHERE - 250m = 18.852 |
Translate the following into a SQL query | If -750 is 45.505, what is the maximum rank? | SELECT MAX Rank FROM table WHERE - 750m = 45.505 |
Translate the following into a SQL query | Where are there 25 episodes in Catfights and Brawls? | SELECT Region 2 FROM table WHERE Number of Episodes = 25 AND DVD title = Catfights and Brawls |
Translate the following into a SQL query | Name the missouri for 2002 | SELECT Missouri FROM table WHERE Year = 2002 |
Translate the following into a SQL query | How many Bangladeshi citizens are there in the borough ranked at number 7? | SELECT MIN Bangladeshi Population FROM table WHERE Rank = 7 |
Translate the following into a SQL query | What's the London borough with 7797 Pakistani citizens? | SELECT London Borough FROM table WHERE Pakistani Population = 7797 |
Translate the following into a SQL query | How many boroughs with different ranks have a total Asian population of 33338? | SELECT COUNT Rank FROM table WHERE Total Asian Population = 33338 |
Translate the following into a SQL query | What's the Chinese population in the borough with 26347 Pakistanis? | SELECT Chinese Population FROM table WHERE Pakistani Population = 26347 |
Translate the following into a SQL query | How many Asians live in the borough with 8109 Chinese population? | SELECT MIN Total Asian Population FROM table WHERE Chinese Population = 8109 |
Translate the following into a SQL query | How many Bangladeshi citizens live in the borough ranked at number 14? | SELECT MAX Bangladeshi Population FROM table WHERE Rank = 14 |
Translate the following into a SQL query | How many members did Africa have the year that Australia had 94615? | SELECT Africa FROM table WHERE Australia = 94615 |
Translate the following into a SQL query | How many members did Europe have the year that America had 403892? | SELECT Europe FROM table WHERE America = 403892 |
Translate the following into a SQL query | What is the minimum number of members Europe had at the time Africa had 7375139? | SELECT MIN Europe FROM table WHERE Africa = 7375139 |
Translate the following into a SQL query | What is the minimum number of members Africa had in 2001? | SELECT MIN Africa FROM table WHERE Year = 2001 |
Translate the following into a SQL query | What is the most members Europe had when Australia had 94615? | SELECT MAX Europe FROM table WHERE Australia = 94615 |
Translate the following into a SQL query | What is the latest year that Europe had 471895? | SELECT MAX Year FROM table WHERE Europe = 471895 |
Translate the following into a SQL query | What's the bus width (in bit) of the model whose core is 650 MHz? | SELECT COUNT Bus Width ( Bit ) FROM table WHERE Core ( MHz ) = 650 |
Translate the following into a SQL query | What's the directx of the model with code name RV770 PRO and a core bigger than 650.0 MHz? | SELECT DirectX FROM table WHERE Code name = RV770 PRO AND Core ( MHz ) > 650.0 |
Translate the following into a SQL query | What are the notes recorded for the model HIS HD4850 (512MB)? | SELECT Notes FROM table WHERE Model = HIS HD4850 (512MB) |
Translate the following into a SQL query | Who directed "Fever"? | SELECT Directed by FROM table WHERE Title = "Fever" |
Translate the following into a SQL query | What is the original air date of "Cursed"? | SELECT Original air date FROM table WHERE Title = "Cursed" |
Translate the following into a SQL query | What is the original air date of "Prophecy"? | SELECT Original air date FROM table WHERE Title = "Prophecy" |
Translate the following into a SQL query | Who wrote the episode "Confession"? | SELECT Written by FROM table WHERE Title = "Confession" |
Translate the following into a SQL query | What is the title of episode number 14? | SELECT Title FROM table WHERE # = 14 |
Translate the following into a SQL query | If the net worth of fixed assets is 621, what is the current ratio? | SELECT Current ratio FROM table WHERE Net worth to fixed assets = 621 |
Translate the following into a SQL query | Name the score for opponent of cleveland | SELECT Score FROM table WHERE Opponent = Cleveland |
Translate the following into a SQL query | Featherstone Rovers club played a total of how many games? | SELECT COUNT Played FROM table WHERE Club = Featherstone Rovers |
Translate the following into a SQL query | How many games were lost when the club got 34 points | SELECT MIN Lost FROM table WHERE Points = 34 |
Translate the following into a SQL query | What was the B.P. of club Halifax? | SELECT B.P. FROM table WHERE Club = Halifax |
Translate the following into a SQL query | What is the first year she played in the french open? | SELECT MIN Year FROM table WHERE Championship = French Open |
Translate the following into a SQL query | How many times was the score 6–7(5), 6–2, 6–3? | SELECT COUNT Opponents FROM table WHERE Score = 6–7(5), 6–2, 6–3 |
Translate the following into a SQL query | Who was her partner at the US Open and they were runner-up? | SELECT Partner FROM table WHERE Championship = US Open AND Outcome = Runner-up |
Translate the following into a SQL query | Who was her partner at the US Open and they were runner-up? | SELECT Partner FROM table WHERE Outcome = Runner-up AND Championship = US Open |
Translate the following into a SQL query | Who did she play with on clay? | SELECT Partner FROM table WHERE Surface = Clay |
Translate the following into a SQL query | state the number of surface where championship is australian open and score in the final is 6–3, 4–6, 11–9 | SELECT COUNT Surface FROM table WHERE Championship = Australian Open AND Score in the final = 6–3, 4–6, 11–9 |
Translate the following into a SQL query | which championship had arantxa sánchez vicario todd woodbridge as opponents in the final | SELECT Championship FROM table WHERE Opponents in the final = Arantxa Sánchez Vicario Todd Woodbridge |
Translate the following into a SQL query | what is the surface of the final which had score 6-2, 6-3 | SELECT Surface FROM table WHERE Score in the final = 6-2, 6-3 |
Translate the following into a SQL query | when were helena suková todd woodbridge the opponents in the final | SELECT Year FROM table WHERE Opponents in the final = Helena Suková Todd Woodbridge |
Translate the following into a SQL query | which championship had helena suková tom nijssen as opponents in the final and nicole provis as partner, the surface was hard and the outcome was winner | SELECT Championship FROM table WHERE Outcome = Winner AND Surface = Hard AND Partner = Nicole Provis AND Opponents in the final = Helena Suková Tom Nijssen |
Translate the following into a SQL query | when was the last performance of the first performance on 11/15/1909 | SELECT Last performance FROM table WHERE First performance = 11/15/1909 |
Translate the following into a SQL query | how many first performances where performer is wilfred engelman category:articles with hcards | SELECT COUNT First performance FROM table WHERE Performer = Wilfred Engelman Category:Articles with hCards |
Translate the following into a SQL query | who was the performer that did last performance on 04/08/1963 | SELECT Performer FROM table WHERE Last performance = 04/08/1963 |
Translate the following into a SQL query | what is the first performance of the last performance on 03/29/1957 | SELECT First performance FROM table WHERE Last performance = 03/29/1957 |
Translate the following into a SQL query | what is the last performance of leon varkas category:articles with hcards | SELECT Last performance FROM table WHERE Performer = Leon Varkas Category:Articles with hCards |
Translate the following into a SQL query | How many different finales had the English title "Beyond the Realm of Conscience"? | SELECT COUNT Finale FROM table WHERE English title = Beyond the Realm of Conscience |
Translate the following into a SQL query | What was the maximum average of the episode with a Chinese title 古靈精探b? | SELECT MAX Average FROM table WHERE Chinese title = 古靈精探B |
Translate the following into a SQL query | How was the episode seen by 2.26 million HK viewers ranked? | SELECT Rank FROM table WHERE HK viewers = 2.26 million |
Translate the following into a SQL query | What is the finale number ranked at number 7? | SELECT Finale FROM table WHERE Rank = 7 |
Translate the following into a SQL query | What is every conflict in Iraq? | SELECT Conflict FROM table WHERE Location = Iraq |
Translate the following into a SQL query | What is every branch involved in Afghanistan? | SELECT Branches involved FROM table WHERE Location = Afghanistan |
Translate the following into a SQL query | Which conflicts took place in Yemen? | SELECT Conflict FROM table WHERE Location = Yemen |
Translate the following into a SQL query | How many conflicts started in Afghanistan? | SELECT COUNT Start of conflict FROM table WHERE Location = Afghanistan |
Translate the following into a SQL query | When did the title "secret weapons" originally air? | SELECT Original air date FROM table WHERE Title = "Secret Weapons" |
Translate the following into a SQL query | How many u.s. viewers (million) have the number 16? | SELECT U.S. viewers (million) FROM table WHERE # = 16 |
Translate the following into a SQL query | What is the production code of the title "secret weapons"? | SELECT Production code FROM table WHERE Title = "Secret Weapons" |
Translate the following into a SQL query | How many u.s. viewers (million) have the production code of 5.09? | SELECT U.S. viewers (million) FROM table WHERE Production code = 5.09 |
Translate the following into a SQL query | When middle prut valley is the land formation what is the highest of which currently forests, km² ? | SELECT MAX of which currently forests, km² FROM table WHERE land formation = Middle Prut Valley |
Translate the following into a SQL query | When 312 is of which currently forests, km² what is the land formation? | SELECT land formation FROM table WHERE of which currently forests, km² = 312 |
Translate the following into a SQL query | When did the episode titled "The Fashion Show" air for the first time? | SELECT Original air date FROM table WHERE Title = "The Fashion Show" |
Translate the following into a SQL query | What's the series number of the episode with season number 2? | SELECT MIN Series No. FROM table WHERE Season No. = 2 |
Translate the following into a SQL query | What's the series number of the episode seen by 2.43 million viewers in the UK? | SELECT Series No. FROM table WHERE U.K. viewers (million) = 2.43 |
Translate the following into a SQL query | How many different original air dates does the episode with series number 13 have? | SELECT COUNT Original air date FROM table WHERE Series No. = 13 |
Translate the following into a SQL query | Name the number for viewers being 1.87 | SELECT MAX # FROM table WHERE U.S. viewers (million) = 1.87 |
Translate the following into a SQL query | Name the production code for viewers for 1.69 | SELECT Production code FROM table WHERE U.S. viewers (million) = 1.69 |
Translate the following into a SQL query | whare are al of the launche dates where th carrier is orange and the up is 5.76 mbit/s | SELECT Launch date (dd.mm.yyyy) FROM table WHERE (up) = 5.76 Mbit/s AND Carrier = Orange |
Translate the following into a SQL query | With the country of Sweden and the result is out, what is the song? | SELECT Song FROM table WHERE Result = Out AND Country = Sweden |
Translate the following into a SQL query | If the English translation is hello girl, what was the language? | SELECT Language FROM table WHERE English translation = Hello girl |
Translate the following into a SQL query | What was the connection speed when launched on 07.06.2005? | SELECT Connection speed FROM table WHERE Launch date (dd.mm.yyyy) = 07.06.2005 |
Translate the following into a SQL query | When the carrier is idc, what are the frequencies? | SELECT Frequency FROM table WHERE Carrier = IDC |
Translate the following into a SQL query | When the launch date is 14.09.2005, and the frequency is 900mhz and 1800mhz, how many carriers are there? | SELECT COUNT Carrier FROM table WHERE Frequency = 900MHz and 1800MHz AND Launch date (dd.mm.yyyy) = 14.09.2005 |
Translate the following into a SQL query | How many standards are there, when the launch date was 17.04.2006? | SELECT COUNT Standard FROM table WHERE Launch date (dd.mm.yyyy) = 17.04.2006 |
Translate the following into a SQL query | Name the 2 car sets for 622 | SELECT 2-car sets FROM table WHERE Total vehicles = 622 |
Translate the following into a SQL query | Name the most 3 car sets | SELECT MAX 3-car sets FROM table |
Translate the following into a SQL query | Name the 4 car sets for 6 car sets being 44 | SELECT MIN 4-car sets FROM table WHERE 6-car sets = 44 |
Translate the following into a SQL query | Name the least 4 car sets | SELECT MIN 4-car sets FROM table |
Translate the following into a SQL query | What is the code name of the OS with Kernel version 2.6.27? | SELECT Code name FROM table WHERE Kernel Version = 2.6.27 |
Translate the following into a SQL query | When was the release date of the operating system with kernel version 2.6.31? | SELECT Release date FROM table WHERE Kernel Version = 2.6.31 |
Translate the following into a SQL query | What is the status of the desktop version of the OS with kernel version 2.6.31? | SELECT Desktops FROM table WHERE Kernel Version = 2.6.31 |
Translate the following into a SQL query | How many servers have a kernel version 3.11? | SELECT COUNT Servers FROM table WHERE Kernel Version = 3.11 |
Translate the following into a SQL query | Name the % for core moldova being 4.36% | SELECT % FROM table WHERE % Core Moldova = 4.36% |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.