Lab 3 queries