How should I build a mysql table for this requirement?

Mar.11,2021

clipboard.png

if you don't repeat the choice, you can use distinct

.
 

it seems that the database still needs to study hard.

its mapping relationship: each table corresponds to an object in the physical object, but the objects are related to each other, so it is mapped to the table structure and related to each other with fields, which confirms the understanding of the associated database.

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-1eaba62-47e33.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-1eaba62-47e33.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?