Write SQL for last-7-day metrics without windows | TikTok