Devart interview question

Write few SQL queries on a paper