- 21
- 0
- 约3.81万字
- 约 11页
- 2019-11-18 发布于湖北
- 举报
©
SQL Interview Questions with Answers
What is RDBMS?
Relational Data Base Management Systems (RDBMS) are database management systems that maintain
data records and indices in tables. Relationships may be created and maintained across and among the
data and tables. In a relational database, relationships between data items are expressed by means of
tables. Interdependencies among these tables are expressed by data values rather than by pointers.
This allows a high degree of data independence. An RDBMS has the capability to recombine the data
items from different files, providing powerful tools for data usage.
What is normalization?
Database normalization is a data design and organization process applied to data structures based on
rules that help build relational databases. In relational database design, the process of organizing data
to minimize redundancy. Normalization usually involves dividing a database into two or more tables and
defining relationships between the tables. The objective is to isolate data so that additions, deletions,
and modifications of a field can be made in just one table and then propagated through the rest of the
database via the defined relationships.
What are different normalization forms?
1NF: Eliminate Repeating Groups
Make a separate table for each set of related attributes, and give each table a primary key. Each field
contains at most one value from its attribute domain.
2NF: Eliminate Redundant Data
If an attribute depends on only part of a multi-valued key, remove it to a separate table.
3NF: Eliminate Columns Not Dependent On Key
If attributes do not contribute to a description of the key, remove them to a separate table. All
attributes must be directly dependent on the primary key
BCNF: Boyce-Codd Normal Form
If there are non-trivial dependencies between candidate key attributes, separate them out into distinct
tables.
4NF: Isolate Independent Multiple Re
您可能关注的文档
最近下载
- 湘科版(2024)信息科技六下_5单元_活动1 护眼灯的色温与亮度控制课件.pptx VIP
- 甘肃省市政工程消耗量定额(2005).doc VIP
- 树立和践行正确政绩观PPT课件.pptx VIP
- 20MWh储能示范项目EPC总承包工程报价表.xlsx
- 云南省昆明市第一中学2026届高三2月复习诊断数学(含答案).docx
- 电子建设工程预算定额HYD41-2015 第一册_14166758.docx VIP
- 50吨C5加氢石油树脂中试方案.doc VIP
- 自考 13125 高等数学(经管类)・重点精简版(速记 + 考点).docx VIP
- 北京-EX360-产品使用说明书-旗舰版-BJ7000URD4C-BEV-EX360纯电动汽车产品使用说明书.pdf VIP
- 燃烧热的测定高清版.ppt VIP
原创力文档

文档评论(0)