Grapecity Interview Question

dbms queries...!!