Write a query to find the top three most popular courses per technology domain on Pluralsight based on user engagement metrics.
Use the provided course, domain, and engagement data. Popularity is determined by total minutes watched, with unique learners and course ID used as tie-breakers.
Output
- One row per selected course, including
technology_domain, course_id, course_title, total_minutes, unique_learners, engagement_events, and popularity_rank.
- Include no more than three courses per domain, ordered by domain, rank, and course ID.