CREATE TABLE jokecategory (
jokeid INT NOT NULL,
categoryid INT NOT NULL,
PRIMARY KEY (jokeid, categoryid)
) DEFAULT CHARACTER SET utf8;
especially PRIMARY KEY (jokeid, categoryid)? or is there a better way to write this?
Thank you in advance;-)