Amazon Interview Question

Debugging SQL queries for a erroneous SQL query. This was easy, not a complex code