Allscripts Interview Question

Sql basics