ThousandEyes interview question

Basic mysql queries