Can you explain your experience with data modeling and handling cardinality in your projects for KPMG clients?
Use the supplied client, project, and project assignment tables to demonstrate this with a query. Return every client, including clients without projects, while avoiding inflated counts caused by one-to-many relationships.
Output
- One row per client with
client_name, project_count, assignment_count, and total_hours
- Include clients with no related projects or assignments, using zero totals
- Order by
total_hours descending, then client_name ascending