Tyemill interview question

Database related questions (SQL)