Database: talkingdata
Question: How many events in total have happened on the devices in 2016?
SQL: SELECT COUNT(event_id) FROM `events` WHERE SUBSTR(`timestamp`, 1, 4) = '2016'