- Wrap account interest query in subquery to avoid SUM(SUM(...)) nesting - Replace nonexistent interest_earned column with current_value - principal Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>