Question on web monthly traffic data with multiple tables. It required joining tables and fetching the traffic data based on some criteria.
Coding questions were based on distributed servers with power of 2 load capability. Very similar to what other internship candidates have mentioned here.
Write a query for active pages belonging to North America sites during January and February 2025, retaining site-month totals of at least 1,000 visits.
Output
- One row per qualifying site and month with
site_name, month_start, total_visits, and page_count
- Include only qualifying site-months, ordered by
site_name, then month_start