SQL Structure Question


Hi guys! So I’ve been struggling with this Question (linked below) for about 20 minutes and I’m not entirely sure what I’m doing wrong. I’ve looked at the solution and the only thing that seems to be different between my code and the solution’s code is that there is an indent before the ‘count’ and ‘round’ functions. What’s the use of tab in code and how does it effect how things are run?

Thank you!