SQLQuokka
Start practicing
QuestionsLearnSandboxFeaturesRoadmapFAQ

Company Pages With the Widest Reach

Unsolved

Meta wants to know which company pages reach the most people. A page's reach is the number of distinct users who interacted with it in any way (like, comment, follow or share). reach_pct is reach divided by the total number of users in the users table, including users who never interacted with anything, times 100. Only pages with page_type = 'company' are ranked; colleges are excluded. Write an SQL query that returns the top 3 company pages as page_name, users_reached and reach_pct rounded to 2 decimal places. Order by users_reached descending, then page_name 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 users
Full source dataset
8 rows total
Ready. Type a query to see live execution.
Clause: Auto-Sync · AlaSQL Engine