学习思考
数据库sql设计
00 分钟
2023-2-7
2023-8-1
type
status
date
slug
summary
tags
category
icon
password
link
Property
Aug 1, 2023 11:49 AM
SQL是一种关系型数据库语言,其功能强大而又十分灵活。它可以帮助我们实现数据库设计,从而实现数据的存储、检索、更新和管理操作,以及概念模型与逻辑模型之间的转换,其中包括将概念模型转换成关系模型或非关系模型。此外,SQL还可以提供检索、提取、排序和更新数据库中的数据的功能,而且可以提供灵活的查询和报表生成功能,从而更好地满足用户的需求。

基本概念

1.数据(Data)

notion image

2.数据库(dataBase,DB)

notion image

3.数据库管理系统(dataBase Management System,DBMS)

notion image
notion image

4.数据库系统(dataBase System,DBS)

notion image
 

数据模型

概念:

notion image

满足条件:

notion image

组成要素:

notion image
 

分类*

notion image
notion image

1.概念模型

现实世界到机器世界的一个中间层次,如E-R图
notion image
notion image
 

2.逻辑模型

从数据的组织方式来描述数据,即用什么样的数据结构来组织数据;
概念数据模型必须转换成逻辑模型,才能在DBMS中实现,
因此逻辑模型既要面向用户,又要面向系统。

2.1 非关系模型

2.1.1 层次模型
notion image
2.1.2 网状模型
notion image

2.2关系模型

notion image
 
 

test

notion image
 
 
 

评论
  • Twikoo
  • Waline