Quick-fireEasy
What is the difference between an INNER JOIN and a LEFT JOIN, and which one do you need for a P&L total that reconciles?
Asked in interviews for Pricing quant, Risk quant, Desk strat
Expected answer
INNER JOIN keeps only rows whose key exists in both tables; LEFT JOIN keeps every row of the left table and puts NULL on the right when the key is missing.