Amazon Interview Question

Some simple SQL questions