Fold two more SQL queries into the query object