Deloitte Interview Question

Explain about SCDType2, and write logic for merge.