Sql naming best practice

前端 未结 12 2778
春和景丽
春和景丽 2021-02-14 09:48

I\'m not entirely sure if there\'s a standard in the industry or otherwise, so I\'m asking here.

I\'m naming a Users table, and I\'m not entire

12条回答
  •  面向向阳花
    2021-02-14 10:22

    For the table names, I usually use pluralized nouns (or noun phrases), like you.

    For column names I'd not use the table name as prefix. The table itself specifies the context of the column.

提交回复
热议问题