They asked basic questions like what is deadlock, 3NF and how deadlock occurs and Projects
For the project portion, write a PostgreSQL query that summarizes currently active project assignments while excluding cancelled projects. Include projects with no matching active employees.
Output
- One row per non-cancelled project with
project_name, status, active_member_count, allocated_hours, and budget_band.
- Treat missing assignment totals as zero and classify budgets as High, Medium, or Low.
- Order by budget descending, then project name ascending.