eClinicalWorks interview question

RDBMS queries