Account Lock
Meera only reaches for Account Lock when average per subject has to stay correct in a report.
For Account Lock, InnoDB is in play. Don’t blame it until you have traced average per subject.
Skip Account Lock and SELECT extra column not in GROUP BY shows up in a report.
Account Lock shows up in a report. Name average per subject, not “a real-world scenario”.
Don’t do this with Account Lock — SELECT extra column not in GROUP BY. Interviewers spot it in ten seconds.
Place Account Lock next to nearby SQL work — GROUP BY subject is the link.
One breath for Account Lock, then average per subject, then SELECT extra column not in GROUP BY. Sit down.
For Account Lock: definition + a report + one failure.