Interview Guides
You are given commercial lending data and asked to write a SQL query that returns the top 5 commercial clients by total loan volume, excluding any client marked with a high-risk flag. Use the client-level risk status to filter out ineligible clients, then aggregate funded loan amounts across each remaining client.