Merilytics interview question

Its was a question on sql