Allscripts Interview Question

Database queries were asked. linux commands to be used