Phonon (India) interview question

SQL join