ZS Associates interview question

SQL based questions and case study Guesstimates