Business Context
Steven Douglas Associates wants a recruiter-facing view of candidate applications and interview performance. Applications without scored feedback must remain visible so recruiters can identify records needing review.
Task
Write a PostgreSQL query that joins candidates, applications, and interview feedback to rank each candidate's qualifying applications.
Requirements
- Include applications submitted during the first quarter of 2025, excluding withdrawn applications.
- Calculate each application's average interview score and feedback count.
- Rank applications per candidate by average score descending, then submission date descending, using
ROW_NUMBER().
- Label applications as
Recommended, Review, or Needs review with CASE.