Amazon Interview Question

Basic SQL Queries