MCQs>IT & Programming>MySQL>Given two tables, t1 and t2, the join condition 't1.t2_id = t2.id' how do you get rows from t1 that have NO counterparts in t2?
MySQL MCQs
Given two tables, t1 and t2, the join condition "t1.t2_id = t2.id" how do you get rows from t1 that have NO counterparts in t2?
Answer
Correct Answer: LEFT JOIN t2 ON t1.t2_id = t2.id WHERE t2.id IS NULL
Explanation:
Note: This Question is unanswered, help us to find answer for this one