SQLQuokka
Start practicing
QuestionsLearnSandboxFeaturesRoadmapFAQ

Composer Post Rate by App

Unsolved

Meta measures how often people who open the post composer actually publish. Treat 2025-09-10 as today, so yesterday is 2025-09-09. For each app, the post rate is the number of 'post' events divided by the number of 'compose_open' events, both counted from yesterday only. Other event types are ignored. Apps with no 'compose_open' events yesterday are left out, and an app with opens but no posts has a rate of 0. Write an SQL query that returns app and post_rate (a ratio between 0 and 1) rounded to 2 decimal places. Order the results by post_rate descending, then app ascending.

SQL Query Editor (Ctrl+Enter to run)
0 characters · Valid
Canonical Solution Official

Official Solution is Hidden

Try solving the question with the schema explorer and hints first. When ready, reveal the verified canonical query and step-by-step logic breakdown.

Community Q&A & Discussion

Ask questions, share alternate queries, and explore solutions

0 comments
Asked By:
🏢 Meta

Submission History

Your recent query executions and answer checks

Execution Pipeline:
FROM app_events
Full source dataset
17 rows total
Ready. Type a query to see live execution.
Clause: Auto-Sync · AlaSQL Engine