PayPal Interview Question

Grouping tables using SQL.