ZS Associates Interview Question

Sql , guesstimates and brain teasers