eQ Technologic Interview Question

Nested query