MakeMyTrip Interview Question

SQL join question.. basic puzzles..etc.