avg()
If you can teach avg() using average per subject, you know it. If you only know the heading, you don’t.
Do avg() once by hand. GROUP BY subject. Change one input. Say the new result out loud.
Without avg(), a report gets messy and average per subject is hard to trust.
avg() shows up in a report. Name average per subject, not “a real-world scenario”.
Don’t do this with avg() — SELECT extra column not in GROUP BY. Interviewers spot it in ten seconds.
Place avg() next to nearby SQL work — GROUP BY subject is the link.
One breath for avg(), then average per subject, then SELECT extra column not in GROUP BY. Sit down.
Say avg() in one breath, then GROUP BY subject, then SELECT extra column not in GROUP BY.