Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save fantasticmao/0eb954ffeea89b07cf7587f88722dd57 to your computer and use it in GitHub Desktop.
Save fantasticmao/0eb954ffeea89b07cf7587f88722dd57 to your computer and use it in GitHub Desktop.

关系型数据库设计的三大范式:

  • 第一范式:要求表中的每个列的值都是原子的、不可再分的;
  • 第二范式:要求表中的每个列都要和表的主键有完全依赖关系;
  • 第三范式:要求所有非主键属性都只和主键有相关性,非主键属性之间应该是独立无关的。
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment