Amdocs interview question

From data base