CREATE TABLE TiberDM.CourseDim (
    id      MEDIUMINT   NOT NULL AUTO_INCREMENT,
    name    Varchar(150) NOT NULL,
    PRIMARY KEY (id)
)

Create Unique Index CourseDim_UIdx01
On TiberDM.CourseDim (name);
