Quantium Interview Question

Some SQL queries and their results