CodePudding user response:
In accordance with the order, the drop database sc table, drop the database course, drop the student, to establish a student, of course try primary and foreign keysCodePudding user response:
https://www.cnblogs.com/lightsnow/articles/9030761.htmlYou see this can solve your problem,
If not, post related tables first table creation statements,