AlertEnterprise Interview Question

Sql oops and based on project