Amdocs interview question

Opps concepts and SQL queries