Ramp interview question

I did a live sql assessment.