Bectran Interview Question

one on system design and another on SQL