Suggestion for course work, minor SQL fix