ZS Associates Interview Question

They asked query of SQL like 3rd highest salary