数据库关系模型与实体关系模型
2021/12/23 19:10:34
本文主要是介绍数据库关系模型与实体关系模型,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!
Database Systems
Purpose:provide users with an abstract view of the data
- Data inconsistency
- Data redundancy
- Data integrity
Data models
A collection of conceptual tools for describing data, data relationships, data semantics, and consistency constraints
- Data
- Data relationships
- Data semantics
- Data constraints
Categories:
- Relational Model
- Entity-Relationship Model
Data abstraction
Hide the complexity of data structures to represent data in the database from users through several levels of data abstraction
Data Manipulation Language (DML)
Language for data retrieval, insertion, deletion, modification
Procedural DML | Declarative (nonprocedural) DML | |
---|---|---|
Property | user instructs the system to perform a sequence of operations to obtain the data | User describes the desired data |
Example | Relational-Algebra | SQL |
SQL:
create table instructor (
ID char(5),
name varchar(20),
dept_name varchar(20),
salary numeric(8,2))
select name from instructor where instructor.dept_name = ‘History’
Relational Algebra:
这篇关于数据库关系模型与实体关系模型的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!
- 2025-01-11cursor试用出现:Too many free trial accounts used on this machine 的解决方法
- 2025-01-11百万架构师第十四课:源码分析:Spring 源码分析:深入分析IOC那些鲜为人知的细节|JavaGuide
- 2025-01-11不得不了解的高效AI办公工具API
- 2025-01-102025 蛇年,J 人直播带货内容审核团队必备的办公软件有哪 6 款?
- 2025-01-10高效运营背后的支柱:文档管理优化指南
- 2025-01-10年末压力山大?试试优化你的文档管理
- 2025-01-10跨部门协作中的进度追踪重要性解析
- 2025-01-10总结 JavaScript 中的变体函数调用方式
- 2025-01-10HR团队如何通过数据驱动提升管理效率?6个策略
- 2025-01-10WBS实战指南:如何一步步构建高效项目管理框架?