Quantium interview question

Some SQL queries and their results