Consumer Reports interview question

PL-SQL and SQL querying.