Duplicate entry ‘XXX‘ for key ‘PRIMARY‘

Duplicate entry ‘XXX’ for key ‘PRIMARY’

The most common situation is that when inserting data,
the data is repeated.
The unique value or primary key *** "XXX" *** cannot be repeated repeatedly,
so the data cannot be inserted.

Guess you like

Origin blog.csdn.net/qq_42089323/article/details/119460434