#1085

Visits by Date

Traffic analytics is building a daily visits series. In a_events, count events where kind = 'visit', taking the date from ts. Return d and visits, sorted by d.

Expected output sample

This is what a correct answer looks like — its row count is its own, it doesn't have to match the schema tables.

dvisits
2024-01-053
2024-01-062
2024-01-071

Your query result will appear here