所以我想问一下如何解决它并将其存储为 11D2
CREATE TABLE `class` (
`CLASS_ID` int(10) unsigned NOT NULL AUTO_INCREMENT,
`CLASS_NAME` varchar(45) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
`Grade_id` int(10) unsigned NOT NULL,
`Stage_id` int(10) unsigned NOT NULL,
`school_id` int(10) unsigned NOT NULL,
PRIMARY KEY (`CLASS_ID`),
KEY `school_ids3` (`school_id`),
KEY `grade_ids` (`Grade_id`) USING BTREE,
KEY `stage_ids2` (`Stage_id`) USING BTREE,
CONSTRAINT `grade_id4` FOREIGN KEY (`Grade_id`) REFERENCES `grade` (`Grade_id`) ON DELETE NO ACTION ON UPDATE NO ACTION,
CONSTRAINT `school_id8` FOREIGN KEY (`school_id`) REFERENCES `schools` (`school_id`) ON DELETE NO ACTION ON UPDATE NO ACTION,
CONSTRAINT `stage_id3` FOREIGN KEY (`Stage_id`) REFERENCES `stage` (`STAGE_ID`) ON DELETE NO ACTION ON UPDATE NO ACTION
) ENGINE=InnoDB AUTO_INCREMENT=20 DEFAULT CHARSET=utf8