Frage im Vorstellungsgespräch bei Tata Consultancy Services

sql joins question based on given table