here is my SQL HW 3

well, it took to 11:00 at night, but its finally done.