Ohm Analytics interview question

about SQL and Advance Excel