Adds rest of sql for course class