SQL - Advanced 4

The goal of this quest series is to improve your SQL skills
Goals
- Improve your SQL skills
Codewars Katas
You need to resolve this two Codewars Katas
↗
SQL Basics: Simple table totaling.
codewars.com
↗
SQL Bug Fixing: Fix the QUERY - Totaling
codewars.com
Challenge
Codewars Katas
Once you have completed the katas, you can validate this quest yourself.