Amdocs interview question

asked to write sql queries,basic unix commands