finished the entire SQL assignment. ready for code review