Describe how you would optimize performance for database operations.
Using the provided PostgreSQL schema, write an efficient query that reports recent hours for active engagements during the first quarter of 2026. The query should avoid unnecessary rows and preserve active engagements with qualifying hours.
Output
- One row per active engagement with more than zero qualifying hours.
- Columns:
engagement_id, client_name, engagement_name, total_hours.
- Sort by
total_hours descending, then engagement_id ascending.