Infosys interview question

Most question on Unix & SQL tricky questions.