DB project. Compare two queries.