Schema: CREATE TABLE wedding (church_id VARCHAR, YEAR VARCHAR)
Question: How many churches have a wedding in year 2016?
SQL: SELECT COUNT(DISTINCT church_id) FROM wedding WHERE YEAR = 2016