Error in duplicate entry' 0' of key' primary'
No primary key is assigned, that is, the value of the primary key is not set during the insert operation. In MySQL data, if the primary key is plastic and set to self-increment, you can not assign a value to the primary key during the insert operation, but if you don't set the self-increment, you must manually specify the value of the primary key.