数据库关系模型与实体关系模型
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:
这篇关于数据库关系模型与实体关系模型的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!
- 2024-11-27消息中间件底层原理资料详解
- 2024-11-27RocketMQ底层原理资料详解:新手入门教程
- 2024-11-27MQ底层原理资料详解:新手入门教程
- 2024-11-27MQ项目开发资料入门教程
- 2024-11-27RocketMQ源码资料详解:新手入门教程
- 2024-11-27本地多文件上传简易教程
- 2024-11-26消息中间件源码剖析教程
- 2024-11-26JAVA语音识别项目资料的收集与应用
- 2024-11-26Java语音识别项目资料:入门级教程与实战指南
- 2024-11-26SpringAI:Java 开发的智能新利器