instruction stringlengths 67 299 | input stringlengths 88 550 | output stringlengths 32 484 |
|---|---|---|
Write a SQL query that answers the following question: What was the name of the episode that bill lawrence directed? | The relevant table was constructed using the following SQL : CREATE TABLE table_25548213_1 (title VARCHAR, directed_by VARCHAR) | SELECT title FROM table_25548213_1 WHERE directed_by = "Bill Lawrence" |
Write a SQL query that answers the following question: What was the name of the episode that had 4.65 million viewers? | The relevant table was constructed using the following SQL : CREATE TABLE table_25548213_1 (title VARCHAR, us_viewers__million_ VARCHAR) | SELECT title FROM table_25548213_1 WHERE us_viewers__million_ = "4.65" |
Write a SQL query that answers the following question: What is the production code of the episode directed by Michael McDonald? | The relevant table was constructed using the following SQL : CREATE TABLE table_25548505_1 (production_code VARCHAR, directed_by VARCHAR) | SELECT production_code FROM table_25548505_1 WHERE directed_by = "Michael McDonald" |
Write a SQL query that answers the following question: What was the original air date of the episode that had 5.30 million U.S. viewers? | The relevant table was constructed using the following SQL : CREATE TABLE table_25548505_1 (original_air_date VARCHAR, us_viewers__millions_ VARCHAR) | SELECT original_air_date FROM table_25548505_1 WHERE us_viewers__millions_ = "5.30" |
Write a SQL query that answers the following question: What is the title of the episode directed by Linda Mendoza? | The relevant table was constructed using the following SQL : CREATE TABLE table_25548505_1 (title VARCHAR, directed_by VARCHAR) | SELECT title FROM table_25548505_1 WHERE directed_by = "Linda Mendoza" |
Write a SQL query that answers the following question: What are all the political types where area is 155.77? | The relevant table was constructed using the following SQL : CREATE TABLE table_255602_1 (type VARCHAR, area__km²_ VARCHAR) | SELECT type FROM table_255602_1 WHERE area__km²_ = "155.77" |
Write a SQL query that answers the following question: What is the minimum number of barangays where the type is component city? | The relevant table was constructed using the following SQL : CREATE TABLE table_255602_1 (no_of_barangays INTEGER, type VARCHAR) | SELECT MIN(no_of_barangays) FROM table_255602_1 WHERE type = "Component City" |
Write a SQL query that answers the following question: What city/municipality has area of 176.40? | The relevant table was constructed using the following SQL : CREATE TABLE table_255602_1 (city__municipality VARCHAR, area__km²_ VARCHAR) | SELECT city__municipality FROM table_255602_1 WHERE area__km²_ = "176.40" |
Write a SQL query that answers the following question: What is the area where population in 2010 is 38062? | The relevant table was constructed using the following SQL : CREATE TABLE table_255602_1 (area__km²_ VARCHAR, population__2010_ VARCHAR) | SELECT area__km²_ FROM table_255602_1 WHERE population__2010_ = 38062 |
Write a SQL query that answers the following question: What is the population density where area is 48.67? | The relevant table was constructed using the following SQL : CREATE TABLE table_255602_1 (pop_density__per_km²_ VARCHAR, area__km²_ VARCHAR) | SELECT COUNT(pop_density__per_km²_) FROM table_255602_1 WHERE area__km²_ = "48.67" |
Write a SQL query that answers the following question: What couple averaged 21.0? | The relevant table was constructed using the following SQL : CREATE TABLE table_25557556_5 (couple VARCHAR, average VARCHAR) | SELECT couple FROM table_25557556_5 WHERE average = "21.0" |
Write a SQL query that answers the following question: What was the number of dances for the competition finish of 3? | The relevant table was constructed using the following SQL : CREATE TABLE table_25557556_5 (number_of_dances INTEGER, competition_finish VARCHAR) | SELECT MAX(number_of_dances) FROM table_25557556_5 WHERE competition_finish = 3 |
Write a SQL query that answers the following question: What was his minimum number wins in a single year? | The relevant table was constructed using the following SQL : CREATE TABLE table_25557880_1 (wins INTEGER) | SELECT MIN(wins) FROM table_25557880_1 |
Write a SQL query that answers the following question: In which series was his position NC† ? | The relevant table was constructed using the following SQL : CREATE TABLE table_25557880_1 (series VARCHAR, position VARCHAR) | SELECT series FROM table_25557880_1 WHERE position = "NC†" |
Write a SQL query that answers the following question: What was his position when he garnered 38 points? | The relevant table was constructed using the following SQL : CREATE TABLE table_25557880_1 (position VARCHAR, points VARCHAR) | SELECT position FROM table_25557880_1 WHERE points = "38" |
Write a SQL query that answers the following question: What was the sail number of Two True? | The relevant table was constructed using the following SQL : CREATE TABLE table_25561560_3 (sail_number VARCHAR, yacht VARCHAR) | SELECT sail_number FROM table_25561560_3 WHERE yacht = "Two True" |
Write a SQL query that answers the following question: What yacht did Andrew Saies sail on? | The relevant table was constructed using the following SQL : CREATE TABLE table_25561560_3 (yacht VARCHAR, skipper VARCHAR) | SELECT yacht FROM table_25561560_3 WHERE skipper = "Andrew Saies" |
Write a SQL query that answers the following question: In what position did skipper Mark Richards place? | The relevant table was constructed using the following SQL : CREATE TABLE table_25561560_2 (position VARCHAR, skipper VARCHAR) | SELECT position FROM table_25561560_2 WHERE skipper = "Mark Richards" |
Write a SQL query that answers the following question: What is the yacht type of Icap Leopard? | The relevant table was constructed using the following SQL : CREATE TABLE table_25561560_2 (yacht VARCHAR) | SELECT yacht AS type FROM table_25561560_2 WHERE yacht = "ICAP Leopard" |
Write a SQL query that answers the following question: what skipper has the sail number aus60000? | The relevant table was constructed using the following SQL : CREATE TABLE table_25561560_2 (skipper VARCHAR, sail_number VARCHAR) | SELECT skipper FROM table_25561560_2 WHERE sail_number = "AUS60000" |
Write a SQL query that answers the following question: Who was the aggressive rider when the winner was luis león sánchez? | The relevant table was constructed using the following SQL : CREATE TABLE table_25580292_13 (aggressive_rider VARCHAR, winner VARCHAR) | SELECT aggressive_rider FROM table_25580292_13 WHERE winner = "Luis León Sánchez" |
Write a SQL query that answers the following question: Who was the aggressive rider when the sprint classification was andré greipel and mountains classification was timothy roe? | The relevant table was constructed using the following SQL : CREATE TABLE table_25580292_13 (aggressive_rider VARCHAR, sprint_classification VARCHAR, mountains_classification VARCHAR) | SELECT aggressive_rider FROM table_25580292_13 WHERE sprint_classification = "André Greipel" AND mountains_classification = "Timothy Roe" |
Write a SQL query that answers the following question: What was the stage when the winner was luis león sánchez? | The relevant table was constructed using the following SQL : CREATE TABLE table_25580292_13 (stage VARCHAR, winner VARCHAR) | SELECT stage FROM table_25580292_13 WHERE winner = "Luis León Sánchez" |
Write a SQL query that answers the following question: What was the young rider classification when manuel cardoso was the winner? | The relevant table was constructed using the following SQL : CREATE TABLE table_25580292_13 (young_rider_classification VARCHAR, winner VARCHAR) | SELECT young_rider_classification FROM table_25580292_13 WHERE winner = "Manuel Cardoso" |
Write a SQL query that answers the following question: How many winners were there for stage 5? | The relevant table was constructed using the following SQL : CREATE TABLE table_25580292_13 (winner VARCHAR, stage VARCHAR) | SELECT COUNT(winner) FROM table_25580292_13 WHERE stage = 5 |
Write a SQL query that answers the following question: What is the 2007 population of Gigmoto? | The relevant table was constructed using the following SQL : CREATE TABLE table_255829_1 (population__2007_ VARCHAR, municipality VARCHAR) | SELECT COUNT(population__2007_) FROM table_255829_1 WHERE municipality = "Gigmoto" |
Write a SQL query that answers the following question: What is the 2010 population of the municipality with 31 barangays? | The relevant table was constructed using the following SQL : CREATE TABLE table_255829_1 (population__2010_ VARCHAR, no_of_barangays VARCHAR) | SELECT population__2010_ FROM table_255829_1 WHERE no_of_barangays = 31 |
Write a SQL query that answers the following question: What is the population density of Caramoran? | The relevant table was constructed using the following SQL : CREATE TABLE table_255829_1 (pop_density__per_km_2__ VARCHAR, municipality VARCHAR) | SELECT pop_density__per_km_2__ FROM table_255829_1 WHERE municipality = "Caramoran" |
Write a SQL query that answers the following question: What municipality has a 130.6 pupulation density? | The relevant table was constructed using the following SQL : CREATE TABLE table_255829_1 (municipality VARCHAR, pop_density__per_km_2__ VARCHAR) | SELECT municipality FROM table_255829_1 WHERE pop_density__per_km_2__ = "130.6" |
Write a SQL query that answers the following question: What is the number of S Barangay for Paracale? | The relevant table was constructed using the following SQL : CREATE TABLE table_255885_1 (no_of_s_barangay VARCHAR, municipality VARCHAR) | SELECT no_of_s_barangay FROM table_255885_1 WHERE municipality = "Paracale" |
Write a SQL query that answers the following question: What is the municipality that has an area of exactly 199.35 sq. km? | The relevant table was constructed using the following SQL : CREATE TABLE table_255885_1 (municipality VARCHAR, area__km²_ VARCHAR) | SELECT municipality FROM table_255885_1 WHERE area__km²_ = "199.35" |
Write a SQL query that answers the following question: What is the municipality that has an area of exactly 214.44 sq. km? | The relevant table was constructed using the following SQL : CREATE TABLE table_255885_1 (municipality VARCHAR, area__km²_ VARCHAR) | SELECT municipality FROM table_255885_1 WHERE area__km²_ = "214.44" |
Write a SQL query that answers the following question: When fr2.0 9 is the series who is the winning team? | The relevant table was constructed using the following SQL : CREATE TABLE table_25572118_1 (winning_team VARCHAR, series VARCHAR) | SELECT winning_team FROM table_25572118_1 WHERE series = "FR2.0 9" |
Write a SQL query that answers the following question: When fairuz fauzy is the winning driver what is the date? | The relevant table was constructed using the following SQL : CREATE TABLE table_25572118_1 (date VARCHAR, winning_driver VARCHAR) | SELECT date FROM table_25572118_1 WHERE winning_driver = "Fairuz Fauzy" |
Write a SQL query that answers the following question: When emt 9 is the series what is the date? | The relevant table was constructed using the following SQL : CREATE TABLE table_25572118_1 (date VARCHAR, series VARCHAR) | SELECT date FROM table_25572118_1 WHERE series = "EMT 9" |
Write a SQL query that answers the following question: what are all the state/nation where the race number is 36 | The relevant table was constructed using the following SQL : CREATE TABLE table_25594271_1 (state_country VARCHAR, race_number VARCHAR) | SELECT state_country FROM table_25594271_1 WHERE race_number = "36" |
Write a SQL query that answers the following question: What State/Country is Sean Langman the skipper? | The relevant table was constructed using the following SQL : CREATE TABLE table_25594888_1 (state_country VARCHAR, skipper VARCHAR) | SELECT state_country FROM table_25594888_1 WHERE skipper = "Sean Langman" |
Write a SQL query that answers the following question: What yacht type is involved where Bob Oatley is the skipper? | The relevant table was constructed using the following SQL : CREATE TABLE table_25594888_1 (yacht VARCHAR, skipper VARCHAR) | SELECT yacht AS type FROM table_25594888_1 WHERE skipper = "Bob Oatley" |
Write a SQL query that answers the following question: How many races was Loki in? | The relevant table was constructed using the following SQL : CREATE TABLE table_25594888_1 (race_number VARCHAR, yacht VARCHAR) | SELECT COUNT(race_number) FROM table_25594888_1 WHERE yacht = "Loki" |
Write a SQL query that answers the following question: What were the LOA (metres) for the yacht where the skipper was Jez Fanstone? | The relevant table was constructed using the following SQL : CREATE TABLE table_25595107_1 (loa__metres_ VARCHAR, skipper VARCHAR) | SELECT loa__metres_ FROM table_25595107_1 WHERE skipper = "Jez Fanstone" |
Write a SQL query that answers the following question: What state/country was the yacht from that had 15.79 LOA (metres)? | The relevant table was constructed using the following SQL : CREATE TABLE table_25595107_1 (state_country VARCHAR, loa__metres_ VARCHAR) | SELECT state_country FROM table_25595107_1 WHERE loa__metres_ = "15.79" |
Write a SQL query that answers the following question: What is Matt Allen's sail number? | The relevant table was constructed using the following SQL : CREATE TABLE table_25595209_1 (sail_number VARCHAR, skipper VARCHAR) | SELECT sail_number FROM table_25595209_1 WHERE skipper = "Matt Allen" |
Write a SQL query that answers the following question: What is the LOA of Brindabella? | The relevant table was constructed using the following SQL : CREATE TABLE table_25595209_1 (loa__metres_ VARCHAR, yacht VARCHAR) | SELECT loa__metres_ FROM table_25595209_1 WHERE yacht = "Brindabella" |
Write a SQL query that answers the following question: What the is the state that the boat is from with LOA of 19.50? | The relevant table was constructed using the following SQL : CREATE TABLE table_25595209_1 (state_country VARCHAR, loa__metres_ VARCHAR) | SELECT state_country FROM table_25595209_1 WHERE loa__metres_ = "19.50" |
Write a SQL query that answers the following question: How many states is Grant Wharington from? | The relevant table was constructed using the following SQL : CREATE TABLE table_25595209_1 (state_country VARCHAR, skipper VARCHAR) | SELECT COUNT(state_country) FROM table_25595209_1 WHERE skipper = "Grant Wharington" |
Write a SQL query that answers the following question: The date first lit is 1853 total number of current status. | The relevant table was constructed using the following SQL : CREATE TABLE table_25597136_1 (current_status VARCHAR, date_first_lit VARCHAR) | SELECT COUNT(current_status) FROM table_25597136_1 WHERE date_first_lit = "1853" |
Write a SQL query that answers the following question: Location for focal plane in ft (m) is naidi hills, basco. | The relevant table was constructed using the following SQL : CREATE TABLE table_25597136_1 (focal_plane_in_ft__m_ VARCHAR, location VARCHAR) | SELECT focal_plane_in_ft__m_ FROM table_25597136_1 WHERE location = "Naidi Hills, Basco" |
Write a SQL query that answers the following question: Focal plane in ft (m) is 43ft (13.1m) is the first date lit. | The relevant table was constructed using the following SQL : CREATE TABLE table_25597136_1 (date_first_lit VARCHAR, focal_plane_in_ft__m_ VARCHAR) | SELECT date_first_lit FROM table_25597136_1 WHERE focal_plane_in_ft__m_ = "43ft (13.1m)" |
Write a SQL query that answers the following question: The province/city corregidor island (2) is where the lighthouse is located. | The relevant table was constructed using the following SQL : CREATE TABLE table_25597136_1 (province_city VARCHAR, lighthouse VARCHAR) | SELECT province_city FROM table_25597136_1 WHERE lighthouse = "Corregidor Island (2)" |
Write a SQL query that answers the following question: Where tower height in ft (m) is 46ft (14.0m) the focal plane is ft (m). | The relevant table was constructed using the following SQL : CREATE TABLE table_25597136_1 (focal_plane_in_ft__m_ VARCHAR, tower_height_in_ft__m_ VARCHAR) | SELECT focal_plane_in_ft__m_ FROM table_25597136_1 WHERE tower_height_in_ft__m_ = "46ft (14.0m)" |
Write a SQL query that answers the following question: What are the number in series of the pieces directed by Win Phelps and which number in season is 11? | The relevant table was constructed using the following SQL : CREATE TABLE table_25604014_6 (no_in_series VARCHAR, directed_by VARCHAR, no_in_season VARCHAR) | SELECT no_in_series FROM table_25604014_6 WHERE directed_by = "Win Phelps" AND no_in_season = 11 |
Write a SQL query that answers the following question: What are the titles of the pieces that are number 2 in season? | The relevant table was constructed using the following SQL : CREATE TABLE table_25604014_6 (title VARCHAR, no_in_season VARCHAR) | SELECT title FROM table_25604014_6 WHERE no_in_season = 2 |
Write a SQL query that answers the following question: What is the production code for the episode directed by Sam weisman? | The relevant table was constructed using the following SQL : CREATE TABLE table_25604014_4 (production_code VARCHAR, directed_by VARCHAR) | SELECT production_code FROM table_25604014_4 WHERE directed_by = "Sam Weisman" |
Write a SQL query that answers the following question: Who wrote episode number 81 in the series? | The relevant table was constructed using the following SQL : CREATE TABLE table_25604014_5 (written_by VARCHAR, no_in_series VARCHAR) | SELECT written_by FROM table_25604014_5 WHERE no_in_series = 81 |
Write a SQL query that answers the following question: How many episodes directed by david carson? | The relevant table was constructed using the following SQL : CREATE TABLE table_25604014_5 (no_in_season VARCHAR, directed_by VARCHAR) | SELECT COUNT(no_in_season) FROM table_25604014_5 WHERE directed_by = "David Carson" |
Write a SQL query that answers the following question: Who direcred the episode with production code 7d03? | The relevant table was constructed using the following SQL : CREATE TABLE table_25604014_5 (directed_by VARCHAR, production_code VARCHAR) | SELECT directed_by FROM table_25604014_5 WHERE production_code = "7D03" |
Write a SQL query that answers the following question: In what settlement is the population 1114? | The relevant table was constructed using the following SQL : CREATE TABLE table_2562572_19 (settlement VARCHAR, population__2011_ VARCHAR) | SELECT settlement FROM table_2562572_19 WHERE population__2011_ = 1114 |
Write a SQL query that answers the following question: What type is the settlement of Lok? | The relevant table was constructed using the following SQL : CREATE TABLE table_2562572_19 (type VARCHAR, settlement VARCHAR) | SELECT type FROM table_2562572_19 WHERE settlement = "Lok" |
Write a SQL query that answers the following question: How many populations are listed for mladenovo? | The relevant table was constructed using the following SQL : CREATE TABLE table_2562572_12 (population__2011_ VARCHAR, settlement VARCHAR) | SELECT COUNT(population__2011_) FROM table_2562572_12 WHERE settlement = "Mladenovo" |
Write a SQL query that answers the following question: What is the dominate religion in the location with a population of 4831? | The relevant table was constructed using the following SQL : CREATE TABLE table_2562572_12 (dominant_religion__2002_ VARCHAR, population__2011_ VARCHAR) | SELECT dominant_religion__2002_ FROM table_2562572_12 WHERE population__2011_ = 4831 |
Write a SQL query that answers the following question: What type of institution is San Diego Christian college? | The relevant table was constructed using the following SQL : CREATE TABLE table_2562113_1 (type VARCHAR, institution VARCHAR) | SELECT type FROM table_2562113_1 WHERE institution = "San Diego Christian College" |
Write a SQL query that answers the following question: What is the enrollment for the hawks? | The relevant table was constructed using the following SQL : CREATE TABLE table_2562113_1 (enrollment INTEGER, nickname VARCHAR) | SELECT MAX(enrollment) FROM table_2562113_1 WHERE nickname = "Hawks" |
Write a SQL query that answers the following question: What is the enrollment for the institution that joined in 1987? | The relevant table was constructed using the following SQL : CREATE TABLE table_2562113_1 (enrollment INTEGER, joined VARCHAR) | SELECT MIN(enrollment) FROM table_2562113_1 WHERE joined = 1987 |
Write a SQL query that answers the following question: What is the location of the institution nicknamed Lions? | The relevant table was constructed using the following SQL : CREATE TABLE table_2562113_1 (location VARCHAR, nickname VARCHAR) | SELECT location FROM table_2562113_1 WHERE nickname = "Lions" |
Write a SQL query that answers the following question: How many 2011 populations have a Cyrillic name of футог? | The relevant table was constructed using the following SQL : CREATE TABLE table_2562572_2 (population__2011_ VARCHAR, cyrillic_name VARCHAR) | SELECT COUNT(population__2011_) FROM table_2562572_2 WHERE cyrillic_name = "Футог" |
Write a SQL query that answers the following question: What is the number of 2002 populations having a 2011 population of exactly 5399? | The relevant table was constructed using the following SQL : CREATE TABLE table_2562572_2 (population__2002_ VARCHAR, population__2011_ VARCHAR) | SELECT COUNT(population__2002_) FROM table_2562572_2 WHERE population__2011_ = 5399 |
Write a SQL query that answers the following question: What is the number of 1991 populations named Bečej? | The relevant table was constructed using the following SQL : CREATE TABLE table_2562572_2 (population__1991_ VARCHAR, city___municipality VARCHAR) | SELECT COUNT(population__1991_) FROM table_2562572_2 WHERE city___municipality = "Bečej" |
Write a SQL query that answers the following question: What is the 1991 population for the urban settlement named Bački Jarak? | The relevant table was constructed using the following SQL : CREATE TABLE table_2562572_2 (population__1991_ VARCHAR, urban_settlement VARCHAR) | SELECT population__1991_ FROM table_2562572_2 WHERE urban_settlement = "Bački Jarak" |
Write a SQL query that answers the following question: What is the number of 2011 populations having a 2002 population of 29449? | The relevant table was constructed using the following SQL : CREATE TABLE table_2562572_2 (population__2011_ VARCHAR, population__2002_ VARCHAR) | SELECT COUNT(population__2011_) FROM table_2562572_2 WHERE population__2002_ = 29449 |
Write a SQL query that answers the following question: What is the number of cities/municipalities having an urban settlement of Srbobran? | The relevant table was constructed using the following SQL : CREATE TABLE table_2562572_2 (city___municipality VARCHAR, urban_settlement VARCHAR) | SELECT COUNT(city___municipality) FROM table_2562572_2 WHERE urban_settlement = "Srbobran" |
Write a SQL query that answers the following question: When town is the type what is the settlement? | The relevant table was constructed using the following SQL : CREATE TABLE table_2562572_25 (settlement VARCHAR, type VARCHAR) | SELECT settlement FROM table_2562572_25 WHERE type = "town" |
Write a SQL query that answers the following question: When оџаци is the cyrillic name other names what is the type? | The relevant table was constructed using the following SQL : CREATE TABLE table_2562572_25 (type VARCHAR, cyrillic_name_other_names VARCHAR) | SELECT type FROM table_2562572_25 WHERE cyrillic_name_other_names = "Оџаци" |
Write a SQL query that answers the following question: When ratkovo is the settlement what is the cyrllic name other names? | The relevant table was constructed using the following SQL : CREATE TABLE table_2562572_25 (cyrillic_name_other_names VARCHAR, settlement VARCHAR) | SELECT cyrillic_name_other_names FROM table_2562572_25 WHERE settlement = "Ratkovo" |
Write a SQL query that answers the following question: When ратково is cyrillic name other names and village is the type and orthodox Christianity is the dominant religion of 2002 what is the settlement? | The relevant table was constructed using the following SQL : CREATE TABLE table_2562572_25 (settlement VARCHAR, cyrillic_name_other_names VARCHAR, dominant_religion__2002_ VARCHAR, type VARCHAR) | SELECT settlement FROM table_2562572_25 WHERE dominant_religion__2002_ = "Orthodox Christianity" AND type = "village" AND cyrillic_name_other_names = "Ратково" |
Write a SQL query that answers the following question: When дероње is the cyrillic name other names what is the largest ethnic group of 2002? | The relevant table was constructed using the following SQL : CREATE TABLE table_2562572_25 (largest_ethnic_group__2002_ VARCHAR, cyrillic_name_other_names VARCHAR) | SELECT largest_ethnic_group__2002_ FROM table_2562572_25 WHERE cyrillic_name_other_names = "Дероње" |
Write a SQL query that answers the following question: What are the largest ethnic groups in gunaroš? | The relevant table was constructed using the following SQL : CREATE TABLE table_2562572_27 (largest_ethnic_group__2002_ VARCHAR, settlement VARCHAR) | SELECT largest_ethnic_group__2002_ FROM table_2562572_27 WHERE settlement = "Gunaroš" |
Write a SQL query that answers the following question: What are the largest ethnic groups where the cyrillic name and other names is пачир (hungarian: pacsér)? | The relevant table was constructed using the following SQL : CREATE TABLE table_2562572_27 (largest_ethnic_group__2002_ VARCHAR, cyrillic_name_other_names VARCHAR) | SELECT largest_ethnic_group__2002_ FROM table_2562572_27 WHERE cyrillic_name_other_names = "Пачир (Hungarian: Pacsér)" |
Write a SQL query that answers the following question: How many places have as their cyrillic name and other names његошево? | The relevant table was constructed using the following SQL : CREATE TABLE table_2562572_27 (settlement VARCHAR, cyrillic_name_other_names VARCHAR) | SELECT COUNT(settlement) FROM table_2562572_27 WHERE cyrillic_name_other_names = "Његошево" |
Write a SQL query that answers the following question: What are the dominant religions in the place with a population of 83? | The relevant table was constructed using the following SQL : CREATE TABLE table_2562572_27 (dominant_religion__2002_ VARCHAR, population__2011_ VARCHAR) | SELECT dominant_religion__2002_ FROM table_2562572_27 WHERE population__2011_ = "83" |
Write a SQL query that answers the following question: How many settlements have as their cyrillic name and other names панонија? | The relevant table was constructed using the following SQL : CREATE TABLE table_2562572_27 (settlement VARCHAR, cyrillic_name_other_names VARCHAR) | SELECT settlement FROM table_2562572_27 WHERE cyrillic_name_other_names = "Панонија" |
Write a SQL query that answers the following question: What is the other name for martonoš? | The relevant table was constructed using the following SQL : CREATE TABLE table_2562572_33 (cyrillic_name_other_names VARCHAR, settlement VARCHAR) | SELECT cyrillic_name_other_names FROM table_2562572_33 WHERE settlement = "Martonoš" |
Write a SQL query that answers the following question: What type of settlement is ором (hungarian: orom)? | The relevant table was constructed using the following SQL : CREATE TABLE table_2562572_33 (type VARCHAR, cyrillic_name_other_names VARCHAR) | SELECT type FROM table_2562572_33 WHERE cyrillic_name_other_names = "Ором (Hungarian: Orom)" |
Write a SQL query that answers the following question: What settlement is also called мартонош (hungarian: martonos)? | The relevant table was constructed using the following SQL : CREATE TABLE table_2562572_33 (settlement VARCHAR, cyrillic_name_other_names VARCHAR) | SELECT settlement FROM table_2562572_33 WHERE cyrillic_name_other_names = "Мартонош (Hungarian: Martonos)" |
Write a SQL query that answers the following question: What is the largest ethnic group in мале пијаце (hungarian: kispiac)? | The relevant table was constructed using the following SQL : CREATE TABLE table_2562572_33 (largest_ethnic_group__2002_ VARCHAR, cyrillic_name_other_names VARCHAR) | SELECT largest_ethnic_group__2002_ FROM table_2562572_33 WHERE cyrillic_name_other_names = "Мале Пијаце (Hungarian: Kispiac)" |
Write a SQL query that answers the following question: What is the largest ethnic group in doline? | The relevant table was constructed using the following SQL : CREATE TABLE table_2562572_33 (largest_ethnic_group__2002_ VARCHAR, settlement VARCHAR) | SELECT largest_ethnic_group__2002_ FROM table_2562572_33 WHERE settlement = "Doline" |
Write a SQL query that answers the following question: Name the dominant religion of srpska crnja | The relevant table was constructed using the following SQL : CREATE TABLE table_2562572_37 (dominant_religion__2002_ VARCHAR, settlement VARCHAR) | SELECT dominant_religion__2002_ FROM table_2562572_37 WHERE settlement = "Srpska Crnja" |
Write a SQL query that answers the following question: Name the settlement for александрово | The relevant table was constructed using the following SQL : CREATE TABLE table_2562572_37 (settlement VARCHAR, cyrillic_name_other_names VARCHAR) | SELECT settlement FROM table_2562572_37 WHERE cyrillic_name_other_names = "Александрово" |
Write a SQL query that answers the following question: Name the cyrillic name for 518 | The relevant table was constructed using the following SQL : CREATE TABLE table_2562572_37 (cyrillic_name_other_names VARCHAR, population__2011_ VARCHAR) | SELECT cyrillic_name_other_names FROM table_2562572_37 WHERE population__2011_ = 518 |
Write a SQL query that answers the following question: Name the population for александрово | The relevant table was constructed using the following SQL : CREATE TABLE table_2562572_37 (population__2011_ VARCHAR, cyrillic_name_other_names VARCHAR) | SELECT COUNT(population__2011_) FROM table_2562572_37 WHERE cyrillic_name_other_names = "Александрово" |
Write a SQL query that answers the following question: Name the population for 2011 for српска црња | The relevant table was constructed using the following SQL : CREATE TABLE table_2562572_37 (population__2011_ VARCHAR, cyrillic_name_other_names VARCHAR) | SELECT population__2011_ FROM table_2562572_37 WHERE cyrillic_name_other_names = "Српска Црња" |
Write a SQL query that answers the following question: What is the largest ethnic group in 2002 when the population is 200? | The relevant table was constructed using the following SQL : CREATE TABLE table_2562572_43 (largest_ethnic_group__2002_ VARCHAR, population__2011_ VARCHAR) | SELECT largest_ethnic_group__2002_ FROM table_2562572_43 WHERE population__2011_ = 200 |
Write a SQL query that answers the following question: How many entries are there for type for the cyrillic name other names is падина (slovak: padina)? | The relevant table was constructed using the following SQL : CREATE TABLE table_2562572_43 (type VARCHAR, cyrillic_name_other_names VARCHAR) | SELECT COUNT(type) FROM table_2562572_43 WHERE cyrillic_name_other_names = "Падина (Slovak: Padina)" |
Write a SQL query that answers the following question: What is the type for the population in 2011 of 1004? | The relevant table was constructed using the following SQL : CREATE TABLE table_2562572_43 (type VARCHAR, population__2011_ VARCHAR) | SELECT type FROM table_2562572_43 WHERE population__2011_ = 1004 |
Write a SQL query that answers the following question: What was the 2002 dominant religion when the largest ethnic group (2002) was slovaks and type is village? | The relevant table was constructed using the following SQL : CREATE TABLE table_2562572_43 (dominant_religion__2002_ VARCHAR, largest_ethnic_group__2002_ VARCHAR, type VARCHAR) | SELECT dominant_religion__2002_ FROM table_2562572_43 WHERE largest_ethnic_group__2002_ = "Slovaks" AND type = "village" |
Write a SQL query that answers the following question: What is the cyrillic name other names for the settlement of debeljača? | The relevant table was constructed using the following SQL : CREATE TABLE table_2562572_43 (cyrillic_name_other_names VARCHAR, settlement VARCHAR) | SELECT cyrillic_name_other_names FROM table_2562572_43 WHERE settlement = "Debeljača" |
Write a SQL query that answers the following question: How many entries are there for cyrillic name other names where settlement is idvor? | The relevant table was constructed using the following SQL : CREATE TABLE table_2562572_43 (cyrillic_name_other_names VARCHAR, settlement VARCHAR) | SELECT COUNT(cyrillic_name_other_names) FROM table_2562572_43 WHERE settlement = "Idvor" |
Write a SQL query that answers the following question: What was the dominant religion in 2002 in lokve? | The relevant table was constructed using the following SQL : CREATE TABLE table_2562572_44 (dominant_religion__2002_ VARCHAR, settlement VARCHAR) | SELECT dominant_religion__2002_ FROM table_2562572_44 WHERE settlement = "Lokve" |
Write a SQL query that answers the following question: What was the largest ethnic group in in the settlement with the cyrillic name банатски карловац? | The relevant table was constructed using the following SQL : CREATE TABLE table_2562572_44 (largest_ethnic_group__2002_ VARCHAR, cyrillic_name_other_names VARCHAR) | SELECT largest_ethnic_group__2002_ FROM table_2562572_44 WHERE cyrillic_name_other_names = "Банатски Карловац" |
Write a SQL query that answers the following question: What is the largest ethnic group in the settlement with a 2011 population of 5082? | The relevant table was constructed using the following SQL : CREATE TABLE table_2562572_44 (largest_ethnic_group__2002_ VARCHAR, population__2011_ VARCHAR) | SELECT COUNT(largest_ethnic_group__2002_) FROM table_2562572_44 WHERE population__2011_ = 5082 |
Write a SQL query that answers the following question: What was the population in 2011 of banatski karlovac? | The relevant table was constructed using the following SQL : CREATE TABLE table_2562572_44 (population__2011_ VARCHAR, settlement VARCHAR) | SELECT population__2011_ FROM table_2562572_44 WHERE settlement = "Banatski Karlovac" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.