database homework