JOIN
JOIN sits in a report. Riya’s job is student + marks. Write that first.
JOIN on the board — JOIN … ON s.roll = m.roll. Then say what student + marks looks like after.
Skip JOIN and missing ON → cartesian product shows up in a report.
JOIN shows up in a report. Name student + marks, not “a real-world scenario”.
If student + marks breaks under JOIN, check missing ON → cartesian product first.
JOIN is not a lonely heading. Riya ties it to student + marks.
Viva for JOIN — what it is → JOIN … ON s.roll = m.roll → the mistake (missing ON → cartesian product).
students.id
=
marks.student_id
│
▼
one result rowBoard: student + marks. Dry-run JOIN. Name the trap: missing ON → cartesian product.