NTT DATA interview question

Write simple join query in sql