databases homework 4