How to name Mysql Intermediate Relational tables gracefully

post //
post_type //
picture_type //

there are many strange table names in existing databases, as follows:

post_post_type //
picture_picture_type //
user_user_group //

how are these intermediate relational tables elegantly named?

or there is something wrong with the design of my type classification table,

Mar.21,2021

tables of the same type had better have a unified table prefix, different names, and the associated table name is the prefix _ main table _ linked table so that it is easier to read
such as chapter table
post_list
article classification table
post_category
then their join table name is
post_list_category
so it is more readable. When naming English words, you'd better be more accurate, and then you can avoid unnecessary trouble


I usually identify the associated table with an ending word merge ;
such as
goods

item type table name:
goods_type

then the product and type associated table name can be expressed as
goods_type_merge

when designing, standardize, as long as the developer sees what the table is, the goal is achieved.

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