Allscripts interview question

Database queries were asked. linux commands to be used