Table: towns_ethnicity_religion
Columns: settlement
cyrillic_name_other_names
type
population_2011
largest_ethnic_group_2002
dominant_religion_2002

Question: What is the largest ethnic group in 2002 when the population is 200?
SQL: SELECT "largest_ethnic_group_2002" FROM towns_ethnicity_religion WHERE "population_2011" = 200

Question: How many entries are there for type for the cyrillic name other names is падина (slovak: padina)?
SQL: SELECT COUNT("type") FROM towns_ethnicity_religion WHERE "cyrillic_name_other_names" = 'Падина (Slovak: Padina)'

Question: What is the type for the population in 2011 of 1004?
SQL: SELECT "type" FROM towns_ethnicity_religion WHERE "population_2011" = 1004

Question: What was the 2002 dominant religion when the largest ethnic group (2002) was slovaks and type is village?
SQL: SELECT "dominant_religion_2002" FROM towns_ethnicity_religion WHERE "largest_ethnic_group_2002" = 'Slovaks' AND "type" = 'village'

Question: What is the cyrillic name other names for the settlement of debeljača?
SQL: SELECT "cyrillic_name_other_names" FROM towns_ethnicity_religion WHERE "settlement" = 'Debeljača'

Question: How many entries are there for cyrillic name other names where settlement is idvor?
SQL: SELECT COUNT("cyrillic_name_other_names") FROM towns_ethnicity_religion WHERE "settlement" = 'Idvor'