SQL query to calculate MAU (Monthly Active Users) with daily/weekly breakdowns. Includes DAU/MAU ratio, rolling 30-day window, and growth tracking.