3. Relational database Terminology

Source: Internet
Author: User

Basic terminology:

  • Key: One or more columns used to identify a row.
  • Primary KEY (Primary key): A unique identifying keyword represented as a record (row), with only one primary key in a table. Also called the primary key.
  • Hou keyword (candidate key): a property set that uniquely identifies a row in the table without the extra attributes.
  • Common keyword (Common key): The relationship between relationships is represented by a compatible or identical attribute or attribute group. If two relationships have a compatible or identical attribute or attribute group, then this attribute or attribute group is called a common keyword for two relationships.
  • Foreign keyword (Foreign key): If the public key is a primary key in a relationship, then this common keyword is called the foreign key of the other relationship. So, the connection between the two relationships, also known as the foreign key.
  • ! The name of the primary key and foreign key can be different, but the type must be the same!

3. Relational database Terminology

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.