Tell me about your understanding of SQL and your thoughts on Lark and future developments.
For the practical portion, write a query that analyzes active Lark user engagement with each feature during February 2026.
Output
- One row per Lark feature, including features with no qualifying activity.
- Return
feature_name, report_month, active_users, event_count, and adoption_pct.
- Sort by adoption percentage descending, then feature name ascending.
Output details
- Treat February 2026 as timestamps from
2026-02-01 00:00:00 inclusive through 2026-03-01 00:00:00 exclusive.
- Format
report_month as YYYY-MM.
- Count each active user once per feature, using users with
is_active = TRUE.
- Calculate
adoption_pct against the total number of active users across Lark.
- Round
adoption_pct to two decimal places and return zero when no active users exist.
- Count all feature events in the period, including events from inactive or unmatched users.