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

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b37e6b-2c0e9.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b37e6b-2c0e9.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?