HCLTech interview question

Basic SQL and Unix questions