ZS Associates Interview Question

SQL guesstimate puzzle project behavioural question