AVG()()
AVG()() (math) sits in a report. Riya’s job is average per subject. Write that first.
Do AVG()() (math) once by hand. GROUP BY subject. Change one input. Say the new result out loud.
AVG()() (math) exists so Riya can keep average per subject correct in a report.
AVG()() (math) shows up in a report. Name average per subject, not “a real-world scenario”.
AVG()() (math) miss — SELECT extra column not in GROUP BY. Fix it before you talk about advanced SQL.
AVG()() (math) is not a lonely heading. Riya ties it to average per subject.
Close AVG()() (math) with: “If I skip it, average per subject goes wrong like this: SELECT extra column not in GROUP BY.”
Board: average per subject. Dry-run AVG()() (math). Name the trap: SELECT extra column not in GROUP BY.