If Exists
If Exists is a MySQL topic you learn with one small college example — a students table with roll, name, marks. Say what If Exists does in one sentence, then write the shortest SQL that shows it.
Pattern: USE college; then a CREATE/SELECT/UPDATE that needs If Exists. If it is a function, SELECT it on one column. If it is DDL, run SHOW / DESCRIBE after so you can see the change.
Trap: only reciting the heading If Exists with no SQL. Interviewers ask you to type. Another trap: mixing this up with a neighbouring command (DELETE vs TRUNCATE vs DROP, WHERE vs HAVING, JOIN vs UNION).
Keep the example on paper — two or three rows. Change one value. Predict the result before you run it.
On the example next to this theory — If Exists — uNION merges result sets and drops duplicate rows.
What is If Exists? One sentence + one tiny SQL on students.