CREATE TABLE wedding (church_id NUMBER, male_id NUMBER, female_id NUMBER, year NUMBER)
CREATE TABLE church (church_id NUMBER, name CLOB, organized_by CLOB, open_date NUMBER, continuation_of CLOB)
CREATE TABLE people (people_id NUMBER, name CLOB, country CLOB, is_male CLOB, age NUMBER)

How many churches opened before 1850 are there?
SELECT COUNT(*) FROM church WHERE open_date < 1850
SELECT COUNT(*) FROM "church" WHERE "open_date" < 1850