instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query | what are all the state/nation where the race number is 36 | SELECT State/country FROM table WHERE Race number = 36 |
Translate the following into a SQL query | What State/Country is Sean Langman the skipper? | SELECT State/country FROM table WHERE Skipper = Sean Langman |
Translate the following into a SQL query | What yacht type is involved where Bob Oatley is the skipper? | SELECT Yacht type FROM table WHERE Skipper = Bob Oatley |
Translate the following into a SQL query | How many races was Loki in? | SELECT COUNT Race number FROM table WHERE Yacht = Loki |
Translate the following into a SQL query | What were the LOA (metres) for the yacht where the skipper was Jez Fanstone? | SELECT LOA (Metres) FROM table WHERE Skipper = Jez Fanstone |
Translate the following into a SQL query | Who was the skipper of the yacht with an elapsed time of 3:07:39:33? | SELECT Skipper FROM table WHERE Elapsed time d:hh:mm:ss = 3:07:39:33 |
Translate the following into a SQL query | What was the elapsed time for the yacht that was a Farr 65 type? | SELECT Elapsed time d:hh:mm:ss FROM table WHERE Yacht type = Farr 65 |
Translate the following into a SQL query | What is the sail number of the yacht that had an elapsed time of 2:22:30:42? | SELECT Sail number FROM table WHERE Elapsed time d:hh:mm:ss = 2:22:30:42 |
Translate the following into a SQL query | What state/country was the yacht that had an elapsed time of 3:04:06:38 from? | SELECT State/country FROM table WHERE Elapsed time d:hh:mm:ss = 3:04:06:38 |
Translate the following into a SQL query | What state/country was the yacht from that had 15.79 LOA (metres)? | SELECT State/country FROM table WHERE LOA (Metres) = 15.79 |
Translate the following into a SQL query | What is Matt Allen's sail number? | SELECT Sail Number FROM table WHERE Skipper = Matt Allen |
Translate the following into a SQL query | What is the state that the boat is from that finished in 2:15:14:06? | SELECT State/Country FROM table WHERE Elapsed Time d:hh:mm:ss = 2:15:14:06 |
Translate the following into a SQL query | What is the LOA of Brindabella? | SELECT LOA (Metres) FROM table WHERE Yacht = Brindabella |
Translate the following into a SQL query | What the is the state that the boat is from with LOA of 19.50? | SELECT State/Country FROM table WHERE LOA (Metres) = 19.50 |
Translate the following into a SQL query | How many states is Grant Wharington from? | SELECT COUNT State/Country FROM table WHERE Skipper = Grant Wharington |
Translate the following into a SQL query | How many times are provided for the boat with LOA of 20.49? | SELECT COUNT Elapsed Time d:hh:mm:ss FROM table WHERE LOA (Metres) = 20.49 |
Translate the following into a SQL query | The date first lit is 1853 total number of current status. | SELECT COUNT Current Status FROM table WHERE Date First Lit = 1853 |
Translate the following into a SQL query | Location for focal plane in ft (m) is naidi hills, basco. | SELECT Focal plane in ft (m) FROM table WHERE Location = Naidi Hills, Basco |
Translate the following into a SQL query | Focal plane in ft (m) is 43ft (13.1m) is the first date lit. | SELECT Date First Lit FROM table WHERE Focal plane in ft (m) = 43ft (13.1m) |
Translate the following into a SQL query | The province/city corregidor island (2) is where the lighthouse is located. | SELECT Province/City FROM table WHERE Lighthouse = Corregidor Island (2) |
Translate the following into a SQL query | Where tower height in ft (m) is 46ft (14.0m) the focal plane is ft (m). | SELECT Focal plane in ft (m) FROM table WHERE Tower height in ft (m) = 46ft (14.0m) |
Translate the following into a SQL query | What are the number in series of the pieces directed by Win Phelps and which number in season is 11? | SELECT No. in series FROM table WHERE Directed by = Win Phelps AND No. in season = 11 |
Translate the following into a SQL query | What are the titles of the pieces that are number 2 in season? | SELECT Title FROM table WHERE No. in season = 2 |
Translate the following into a SQL query | Who directed "sperminator"? | SELECT Directed by FROM table WHERE Title = "Sperminator" |
Translate the following into a SQL query | Who wrote "to live and diet in L.A."? | SELECT Written by FROM table WHERE Title = "To Live and Diet in L.A." |
Translate the following into a SQL query | Who wrote the episode "victor/victorious"? | SELECT Written by FROM table WHERE Title = "Victor/Victorious" |
Translate the following into a SQL query | What is the production code for the episode directed by Sam weisman? | SELECT Production code FROM table WHERE Directed by = Sam Weisman |
Translate the following into a SQL query | Who wrote episode number 81 in the series? | SELECT Written by FROM table WHERE No. in series = 81 |
Translate the following into a SQL query | What is the original air date for "ex-wives and videotapes"? | SELECT Original air date FROM table WHERE Title = "Ex-Wives and Videotapes" |
Translate the following into a SQL query | What is the original air date for "one rat, one ranger"? | SELECT Original air date FROM table WHERE Title = "One Rat, One Ranger" |
Translate the following into a SQL query | How many episodes directed by david carson? | SELECT COUNT No. in season FROM table WHERE Directed by = David Carson |
Translate the following into a SQL query | Who direcred the episode with production code 7d03? | SELECT Directed by FROM table WHERE Production code = 7D03 |
Translate the following into a SQL query | In what settlement is the population 1114? | SELECT Settlement FROM table WHERE Population (2011) = 1114 |
Translate the following into a SQL query | What type is the settlement of Lok? | SELECT Type FROM table WHERE Settlement = Lok |
Translate the following into a SQL query | How many populations are listed for mladenovo? | SELECT COUNT Population (2011) FROM table WHERE Settlement = Mladenovo |
Translate the following into a SQL query | What is the dominate religion in the location with a population of 4831? | SELECT Dominant religion (2002) FROM table WHERE Population (2011) = 4831 |
Translate the following into a SQL query | What type of institution is San Diego Christian college? | SELECT Type FROM table WHERE Institution = San Diego Christian College |
Translate the following into a SQL query | What is the enrollment for the hawks? | SELECT MAX Enrollment FROM table WHERE Nickname = Hawks |
Translate the following into a SQL query | What is the enrollment for the institution that joined in 1987? | SELECT MIN Enrollment FROM table WHERE Joined = 1987 |
Translate the following into a SQL query | What is the location of the institution nicknamed Lions? | SELECT Location FROM table WHERE Nickname = Lions |
Translate the following into a SQL query | How many 2011 populations have a Cyrillic name of футог? | SELECT COUNT Population (2011) FROM table WHERE Cyrillic Name = Футог |
Translate the following into a SQL query | What is the number of 2002 populations having a 2011 population of exactly 5399? | SELECT COUNT Population (2002) FROM table WHERE Population (2011) = 5399 |
Translate the following into a SQL query | What is the number of 1991 populations named Bečej? | SELECT COUNT Population (1991) FROM table WHERE City / municipality = Bečej |
Translate the following into a SQL query | What is the 1991 population for the urban settlement named Bački Jarak? | SELECT Population (1991) FROM table WHERE Urban settlement = Bački Jarak |
Translate the following into a SQL query | What is the number of 2011 populations having a 2002 population of 29449? | SELECT COUNT Population (2011) FROM table WHERE Population (2002) = 29449 |
Translate the following into a SQL query | What is the number of cities/municipalities having an urban settlement of Srbobran? | SELECT COUNT City / municipality FROM table WHERE Urban settlement = Srbobran |
Translate the following into a SQL query | When town is the type what is the settlement? | SELECT Settlement FROM table WHERE Type = town |
Translate the following into a SQL query | When оџаци is the cyrillic name other names what is the type? | SELECT Type FROM table WHERE Cyrillic Name Other Names = Оџаци |
Translate the following into a SQL query | When ratkovo is the settlement what is the cyrllic name other names? | SELECT Cyrillic Name Other Names FROM table WHERE Settlement = Ratkovo |
Translate the following into a SQL query | When ратково is cyrillic name other names and village is the type and orthodox Christianity is the dominant religion of 2002 what is the settlement? | SELECT Settlement FROM table WHERE Dominant religion (2002) = Orthodox Christianity AND Type = village AND Cyrillic Name Other Names = Ратково |
Translate the following into a SQL query | When дероње is the cyrillic name other names what is the largest ethnic group of 2002? | SELECT Largest ethnic group (2002) FROM table WHERE Cyrillic Name Other Names = Дероње |
Translate the following into a SQL query | What are the largest ethnic groups in gunaroš? | SELECT Largest ethnic group (2002) FROM table WHERE Settlement = Gunaroš |
Translate the following into a SQL query | What are the largest ethnic groups where the cyrillic name and other names is пачир (hungarian: pacsér)? | SELECT Largest ethnic group (2002) FROM table WHERE Cyrillic Name Other Names = Пачир (Hungarian: Pacsér) |
Translate the following into a SQL query | How many places have as their cyrillic name and other names његошево? | SELECT COUNT Settlement FROM table WHERE Cyrillic Name Other Names = Његошево |
Translate the following into a SQL query | What are the dominant religions in the place with a population of 83? | SELECT Dominant religion (2002) FROM table WHERE Population (2011) = 83 |
Translate the following into a SQL query | How many settlements have as their cyrillic name and other names панонија? | SELECT Settlement FROM table WHERE Cyrillic Name Other Names = Панонија |
Translate the following into a SQL query | What is the other name for martonoš? | SELECT Cyrillic Name Other Names FROM table WHERE Settlement = Martonoš |
Translate the following into a SQL query | What type of settlement is ором (hungarian: orom)? | SELECT Type FROM table WHERE Cyrillic Name Other Names = Ором (Hungarian: Orom) |
Translate the following into a SQL query | What settlement is also called мартонош (hungarian: martonos)? | SELECT Settlement FROM table WHERE Cyrillic Name Other Names = Мартонош (Hungarian: Martonos) |
Translate the following into a SQL query | What is the largest ethnic group in мале пијаце (hungarian: kispiac)? | SELECT Largest ethnic group (2002) FROM table WHERE Cyrillic Name Other Names = Мале Пијаце (Hungarian: Kispiac) |
Translate the following into a SQL query | What is the largest ethnic group in doline? | SELECT Largest ethnic group (2002) FROM table WHERE Settlement = Doline |
Translate the following into a SQL query | Name the dominant religion of srpska crnja | SELECT Dominant religion (2002) FROM table WHERE Settlement = Srpska Crnja |
Translate the following into a SQL query | Name the settlement for александрово | SELECT Settlement FROM table WHERE Cyrillic Name Other Names = Александрово |
Translate the following into a SQL query | Name the cyrillic name for 518 | SELECT Cyrillic Name Other Names FROM table WHERE Population (2011) = 518 |
Translate the following into a SQL query | Name the population for александрово | SELECT COUNT Population (2011) FROM table WHERE Cyrillic Name Other Names = Александрово |
Translate the following into a SQL query | Name the population for 2011 for српска црња | SELECT Population (2011) FROM table WHERE Cyrillic Name Other Names = Српска Црња |
Translate the following into a SQL query | What is the largest ethnic group in 2002 when the population is 200? | SELECT Largest ethnic group (2002) FROM table WHERE Population (2011) = 200 |
Translate the following into a SQL query | How many entries are there for type for the cyrillic name other names is падина (slovak: padina)? | SELECT COUNT Type FROM table WHERE Cyrillic Name Other Names = Падина (Slovak: Padina) |
Translate the following into a SQL query | What is the type for the population in 2011 of 1004? | SELECT Type FROM table WHERE Population (2011) = 1004 |
Translate the following into a SQL query | What was the 2002 dominant religion when the largest ethnic group (2002) was slovaks and type is village? | SELECT Dominant religion (2002) FROM table WHERE Largest ethnic group (2002) = Slovaks AND Type = village |
Translate the following into a SQL query | What is the cyrillic name other names for the settlement of debeljača? | SELECT Cyrillic Name Other Names FROM table WHERE Settlement = Debeljača |
Translate the following into a SQL query | How many entries are there for cyrillic name other names where settlement is idvor? | SELECT COUNT Cyrillic Name Other Names FROM table WHERE Settlement = Idvor |
Translate the following into a SQL query | What was the dominant religion in 2002 in lokve? | SELECT Dominant religion (2002) FROM table WHERE Settlement = Lokve |
Translate the following into a SQL query | What was the largest ethnic group in in the settlement with the cyrillic name банатски карловац? | SELECT Largest ethnic group (2002) FROM table WHERE Cyrillic Name Other Names = Банатски Карловац |
Translate the following into a SQL query | What is the largest ethnic group in the settlement with a 2011 population of 5082? | SELECT COUNT Largest ethnic group (2002) FROM table WHERE Population (2011) = 5082 |
Translate the following into a SQL query | What was the population in 2011 of banatski karlovac? | SELECT Population (2011) FROM table WHERE Settlement = Banatski Karlovac |
Translate the following into a SQL query | Which settlement has the cyrillic and other name of локве (romanian: locve)? | SELECT Settlement FROM table WHERE Cyrillic Name Other Names = Локве (Romanian: Locve) |
Translate the following into a SQL query | What is the population of the settlement with the cyrillic name of добрица? | SELECT MAX Population (2011) FROM table WHERE Cyrillic Name Other Names = Добрица |
Translate the following into a SQL query | Which settlement has a cyrillic and other name of војводинци (romanian: voivodinţ)? | SELECT Settlement FROM table WHERE Cyrillic Name Other Names = Војводинци (Romanian: Voivodinţ) |
Translate the following into a SQL query | What was the dominant religion in 2002 of the settlement with the cyrillic and other name of војводинци (romanian: voivodinţ)? | SELECT Dominant religion (2002) FROM table WHERE Cyrillic Name Other Names = Војводинци (Romanian: Voivodinţ) |
Translate the following into a SQL query | What was the population in 2011 of the settlement with the cyrillic name of ватин? | SELECT MAX Population (2011) FROM table WHERE Cyrillic Name Other Names = Ватин |
Translate the following into a SQL query | What was the largest ethnic group in sočica? | SELECT Largest ethnic group (2002) FROM table WHERE Settlement = Sočica |
Translate the following into a SQL query | What was the 2011 population of pavliš? | SELECT Population (2011) FROM table WHERE Settlement = Pavliš |
Translate the following into a SQL query | What was the largest ethnic group in 2002 of the settlement with the cyrillic name of ватин? | SELECT Largest ethnic group (2002) FROM table WHERE Cyrillic Name Other Names = Ватин |
Translate the following into a SQL query | What was the dominant religion (2002) of the Mala Remeta settlement? | SELECT Dominant religion (2002) FROM table WHERE Settlement = Mala Remeta |
Translate the following into a SQL query | What type of settlemen is Krušedol Selo? | SELECT Type FROM table WHERE Settlement = Krušedol Selo |
Translate the following into a SQL query | How many types of settlement if Neradin? | SELECT COUNT Type FROM table WHERE Settlement = Neradin |
Translate the following into a SQL query | What type of settlement is Jazak? | SELECT Type FROM table WHERE Settlement = Jazak |
Translate the following into a SQL query | What is the name of the settlement that had a population of 9443 in 2011? | SELECT Settlement FROM table WHERE Population (2011) = 9443 |
Translate the following into a SQL query | How many different types of settlements does Nova Pazova fall into? | SELECT COUNT Type FROM table WHERE Settlement = Nova Pazova |
Translate the following into a SQL query | What ethnic group had the largest population in сурдук in 2002? | SELECT Largest ethnic group (2002) FROM table WHERE Cyrillic Name = Сурдук |
Translate the following into a SQL query | What ethnic group had the largest population in сурдук in 2002? | SELECT Largest ethnic group (2002) FROM table WHERE Cyrillic Name = Сурдук |
Translate the following into a SQL query | How many dominant religions were in the settlement that had a population of 17105? | SELECT COUNT Dominant religion (2002) FROM table WHERE Population (2011) = 17105 |
Translate the following into a SQL query | What was the population of сурдук in 2011? | SELECT COUNT Population (2011) FROM table WHERE Cyrillic Name = Сурдук |
Translate the following into a SQL query | When extending eminent domain over roads and ways is the description what is the highest means number? | SELECT MAX meas. num FROM table WHERE description = Extending Eminent Domain Over Roads and Ways |
Translate the following into a SQL query | When restoring capital punishment is the description how many types are there? | SELECT COUNT type FROM table WHERE description = Restoring Capital Punishment |
Translate the following into a SQL query | What is the lowest overall amount of no votes? | SELECT MIN NO votes FROM table |
Translate the following into a SQL query | What was the urban settlement when the city / municipality was kovin? | SELECT Urban settlement FROM table WHERE City / municipality = Kovin |
Translate the following into a SQL query | What is the population (1991) where population (2002) was 14250? | SELECT COUNT Population (1991) FROM table WHERE Population (2002) = 14250 |
Translate the following into a SQL query | What is the population (1991) when cyrillic name is панчево? | SELECT MIN Population (1991) FROM table WHERE Cyrillic Name = Панчево |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.