EBdesk Interview Question

Questions mostly related to db query