Amdocs interview question

Unix and sql