Database: wedding
Question: How many churches have a wedding in year 2016?
SQL:
SELECT COUNT (DISTINCT church_id) FROM wedding WHERE YEAR  =  2016