Aon Interview Question

Few questions related to SQL and logical reasoning