Medline Industries interview question

SQL queries