尝试运行此查询时,我不断收到“错误 150”:
CREATE TABLE `NewTable` (
`ID` int NULL AUTO_INCREMENT ,
`Entry_ID` int NULL ,
`Content` varchar(255) NULL ,
`Type` varchar(255) NULL ,
PRIMARY KEY (`ID`),
CONSTRAINT `Entry_ID` FOREIGN KEY (`Entry_ID`) REFERENCES `ENTRIES` (`EID`),
CONSTRAINT `Content` FOREIGN KEY (`Content`) REFERENCES `MEDIA` (`CONTENT`),
CONSTRAINT `Type` FOREIGN KEY (`Type`) REFERENCES `MEDIA` (`CONTENT_TYPE`)
)
;
我会很感激任何帮助,谢谢!