Basic Database knowledge Review

Source: Internet
Author: User

The data models used at the logic layer are classified into two types: one is mainly used for database design, which can be understood by general users and is similar to the way people think. Such models include (ERM). The other is to model data from the perspective of computer systems, making data more suitable for Computer Representation. The model is mainly used for DBMS implementation, for example. A designer's approach to building a database model is usually to first use a E-R model to model data at a high level, and then convert it into a relational model. The data model used at the physical layer is called the physical data model.

It consists of three parts.

(DDL), used to define the database mode; 2) (DML), used to query and update databases; 3) (DCL), used to manage data permissions.

It consists of three parts. In a relational model, the real-world entities and the relationships between entities are expressed.

The logic-based definition is called. Due to the use of different variables, relational calculus is divided into tuples relational calculus and domain relational calculus.

. Entity integrity and referential integrity are integrity constraints that must be met by the relational model ..

.

. Therefore, the data definition function of SQL includes schema definition, table definition, view definition, and index definition. SQL generally does not support modifying schema definitions, modifying view definitions, and modifying index definitions. If you want to modify these objects, you can only delete them and then recreate them.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.