Beyond, Inc. Interview Question

Question on SQL and relationship database usage.