MENU service case
 Website construction website design Beijing website construction high-end website production company Shangpin China
We create by embracing change
360 ° brand value__
simplified Chinese character
Simplified Chinese English

Shangpin China Joins Hands with Beisheng Internet to Create a New Chapter in Website Construction

Type: Shangpin Dynamic Learn more

Classification of relational data languages

Source: Shangpin China | Type: website encyclopedia | Time: June 16, 2014
Early Beijing website production Relational operation capability is usually expressed in an algebraic or logical way, which is called relational algebra and relational calculus respectively. Relational algebra is a way to express query requirements by relational operations. Relational calculus is a way to express query requirements with predicates. It can be divided into tuple relational calculus and domain relational calculus according to whether the basic object of predicate variable is tuple variable or domain variable. Relational algebra, tuple relational calculus and domain relational calculus are equivalent in terms of expression ability.
 Classification of relational data languages

Relational algebra, tuple relational calculus and domain relational calculus are all abstract query languages. These abstract languages are not exactly the same as the actual languages implemented in the concrete DBMS, but they can be used as the standard or basis for evaluating the query language ability in the actual system. The actual query language provides many additional functions besides relational algebra or relational calculus, Such as set function, relation assignment and arithmetic operation.

In addition, there is a structured query language between relational algebra and relational calculus SQL not only has rich query functions, but also has data definition and data control functions. It is a relational data language integrating query, DDL (data definition language), DML (data manipulation language) and DCL (data control language). It is the standard language of relational databases.

Therefore, relational data languages can be divided into the following three categories:

(1) Relational algebra language, that is, the language that expresses the query requirements with relational operations ISBL (information system base language) is the representative of relational languages.

(2) Relational calculus language, that is, a language in which the tuple obtained from the query should meet the predicate condition to express the query requirements. Relational calculus language can be divided into tuple relational calculus language and domain relational calculus language. The basic object of predicate argument of tuple relational calculus language is tuple variable, such as APLHA, QUEL language; The basic object of predicate argument of domain relational calculus language is domain variable, and QBE (query by example) is a typical domain relational calculus language.

(3) A language with the dual characteristics of relational algebra and relational calculus. Its typical representative is the structured query language SQL, which includes data definition, data operation and data control functions. With the characteristics of simple language, easy to learn and use, SQL is the standard language and mainstream language of relational databases. The common feature of these relational data languages is that they have complete expression ability, are non procedural set operation languages, have strong functions, and can be embedded in high-level languages.

Relational language is a highly non procedural language. Users do not need to ask DBA to establish a special access path for them. The selection of access paths is completed by the optimization mechanism of DBMS. In addition, users can complete data operations without resorting to the loop structure.
Source Statement: This article is original or edited by Shangpin China's editors. If it needs to be reproduced, please indicate that it is from Shangpin China. The above contents (including pictures and words) are from the Internet. If there is any infringement, please contact us in time (010-60259772).
TAG label:

What if your website can increase the number of conversions and improve customer satisfaction?

Make an appointment with a professional consultant to communicate!

* Shangpin professional consultant will contact you as soon as possible

Disclaimer

Thank you very much for visiting our website. Please read all the terms of this statement carefully before you use this website.

1. Part of the content of this site comes from the network, and the copyright of some articles and pictures involved belongs to the original author. The reprint of this site is for everyone to learn and exchange, and should not be used for any commercial activities.

2. This website does not assume any form of loss or injury caused by users to themselves and others due to the use of these resources.

3. For issues not covered in this statement, please refer to relevant national laws and regulations. In case of conflict between this statement and national laws and regulations, the national laws and regulations shall prevail.

4. If it infringes your legitimate rights and interests, please contact us in time, and we will delete the relevant content at the first time!

Contact: 010-60259772
E-mail: [email protected]

Communicate with professional consultants now!

  • National Service Hotline

    400-700-4979

  • Beijing Service Hotline

    010-60259772

Please be assured to fill in the information protection
Online consultation

Disclaimer

Thank you very much for visiting our website. Please read all the terms of this statement carefully before you use this website.

1. Part of the content of this site comes from the network, and the copyright of some articles and pictures involved belongs to the original author. The reprint of this site is for everyone to learn and exchange, and should not be used for any commercial activities.

2. This website does not assume any form of loss or injury caused by users to themselves and others due to the use of these resources.

3. For issues not covered in this statement, please refer to relevant national laws and regulations. In case of conflict between this statement and national laws and regulations, the national laws and regulations shall prevail.

4. If it infringes your legitimate rights and interests, please contact us in time, and we will delete the relevant content at the first time!

Contact: 010-60259772
E-mail: [email protected]