Ramp Interview Question

I did a live sql assessment.