SELECT strftime('%Y-%m', t.EventDate) AS "Event Month", COUNT(*) AS "Count" FROM SentEvent AS t WHERE (date(date(t.EventDate), 'start of year') = date('now', 'localtime', 'start of year', '-1 year')) GROUP BY strftime('%Y-%m', t.EventDate)
Skyvia Query allows you to run SQL queries against databases and cloud applications from web browser. Access and manage your data from anywhere, build reports, arrange your data in the most informative way and simplify your decision-making process easily!