SQL changes
added scorm and fixed sql