SELECT COUNT (DISTINCT church_id) FROM wedding WHERE YEAR  =  2016
How many churches have a wedding in year 2016?
SELECT COUNT ( DISTINCT church_id ) FROM wedding WHERE YEAR = 2016
select count ( distinct church_id ) from wedding where year = value
How many churches have a wedding in year 2016 ?