![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
数据库设计
xumiao9000
这个作者很懒,什么都没留下…
展开
-
in和exists的区别,union和union all的区别
in和exists的区别:https://www.cnblogs.com/liyasong/p/sql_in_exists.htmlunion 和 union all的区别:union会去重,union all 不会去重。http://www.w3school.com.cn/sql/sql_union.asp...原创 2018-02-08 17:10:30 · 751 阅读 · 0 评论 -
20个数据库设计浅谈建议
1. 使用完整的一致的数据表名称和字段名,如:School, StudentCourse, CourseID2.数据表名称使用单数,比如使用StudentCourse 而不是StudentCourses,数据表代表实体的一个集合,因此没有必要使用复数名称。3. 数据表名称不要使用空格,比如StudentCourse 比Student Course更好。4.数据表名称不要使用...原创 2018-02-08 17:35:02 · 326 阅读 · 0 评论