You are opening a "(" but not closing it, try this:
CREATE TABLE IF NOT EXISTS `education_coursesdone` (
`userid` INT( 11 ) NOT NULL DEFAULT '0',
`courseid` INT( 11 ) NOT NULL DEFAULT '0',
`crtimes` INT( 11 ) NOT NULL DEFAULT '0',
PRIMARY KEY ( `userid` , `courseid` )
);