lab 3
adding sql queries