Capgemini interview question

command query in oracle