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.
Loading…
Try solving the question with the schema explorer and hints first. When ready, reveal the verified canonical query and step-by-step logic breakdown.
Ask questions, share alternate queries, and explore solutions
Your recent query executions and answer checks
This will insert the verified MySQL solution into your editor so you can study how each clause transforms the table.