Database: museum_visit
Question: Find the number of visitors who visites museum opened before 2010 or in 2010.
SQL: select count(distinct id) from visitor where id not in (select t2.visitor_id from museum as t1 join visit as t2 on t1.museum_id = t2.museum_id where t1.open_year > 2010)