Home > database >  A foreign key to establish
A foreign key to establish

Time:09-28

Prompt course student table columns and SC existing primary key or unique constraint does not match in the table...

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 keys

CodePudding user response:

https://www.cnblogs.com/lightsnow/articles/9030761.html

You see this can solve your problem,
If not, post related tables first table creation statements,
  • Related