The problem of compound Primary key in MySQL

Today we have a problem with a compound primary key, which ensures that multiple column combinations are not unique. But in practice, it"s the opposite.

this is my table structure
clipboard.png

clipboard.png

1234
2,2,1:

clipboard.png

wonder

Mar.06,2021

there seems to be something wrong with the mysql in the company. I went home and tried it. No such weird thing happened

Menu