Labcorp interview question

Select from where query from SQL