hackerrank sql intermediate certification customer spending