SCAU SQL 第一章

1.Database Management System (DBMS)
DBMS contains:
Collection of interrelated data (Database)
Set of programs to access data

2.Three Abstraction Levels of Data

Physical level

  • describes how data is actually stored
  • Database developers use this level

Logical level

  • describes what data are stored in the database, and what relationships exist among those data
  • Database administrators and application programmers use this level

View level

  • simplifies the interaction with the system. Views can also hide information for security purposes
  • Computer users use this level

3.Instances and Schemas
Schema – the logical structure of the database
Instance – the actual content of the database at a particular point in time

Physical schema: describes database design at the physical level
Logical schema: describes database design at the logical level
Subschema: describes views at the view level

4.Data Models
A collection of conceptual tools for describing data

5.Relational Model
在这里插入图片描述

6.Entity-Relationship Model
在这里插入图片描述

Database Languages: DML & DDL

1.Data Manipulation Language (DML) 数据操纵语言
Language for data retrieval, insertion, deletion, modification

通常有两类基本的数据操纵语言:
过程化DML(procedural DML)要求用户指定需要什么数据以及如何获得这些数据。例如:Relational-Algebra
声明式DML(declarative DML)(也称为非过程化DML)只要求用户指定需要什么数据,而不指明如何获得这些数据。例如:SQL

SQL与Relational Algebra的联系和区别
SQL语句的执行一般是先翻译为关系代数再被执行的(能有效提高执行速度),所以我们有必要了解关系代数与SQL语句间的对应关系。关系代数有五个基础运算符,这五个基础运算符能派生出其他组合运算符。它们分别是:选择(σ, selection)、投影(π,projection)、叉乘(x, cross-product)、差(-, set-difference)和并(υ, union)

2.Data Definition Language (DDL)
目的:for defining the database schema and constraints

Database schema
E.g. USER_OBJECTS, USER_TABLES, USER_VIEWS
Integrity constraints
E.g. USER_CONSTRAINTS

3.Database Design
Requirement Analysis
Conceptual Design
Logical Design
Physical Design

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
scau数据库综合性试验是指南京科技大学数据库课程综合性实验,旨在通过结合课程所学的数据库相关知识和技能,进行项目实践,提高学生的数据库设计和管理能力。 在这个综合性试验中,学生需要根据指定的项目需求,设计和创建一个数据库系统,并进行相关的数据处理和管理。首先,学生需要明确项目需求,包括数据库系统的功能和业务逻辑,并进行数据库的概念设计和逻辑设计,确定数据库的结构、表的字段和关系等。接下来,学生需要根据设计的数据库结构,使用特定的数据库管理系统(如MySQLSQL Server等)创建数据库,并进行数据的导入和管理。学生还需要编写SQL查询语句,对数据库中的数据进行增删改查的操作,并实现相关的业务功能。 在综合性试验过程中,学生还需要考虑数据库的安全性和性能优化,设计合理的数据库权限和索引等,以确保数据库系统的稳定和高效运行。此外,学生还需要进行项目报告的撰写,详细阐述数据库设计和实现的过程,以及遇到的问题和解决方案。 通过这个综合性试验,学生可以将课堂所学的数据库理论知识与实际项目实践相结合,加深对数据库系统设计和管理的理解,提高自己的综合能力和实际操作能力。同时,也有助于培养学生的团队合作能力和解决复杂问题的能力,为将来从事数据库相关工作打下坚实的基础。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值