HCLTech Interview Question

SQL queries based on scenarios