Databases, DBMS, and SQL-VC ++ notes

Source: Internet
Author: User
 

Databases, DBMS, and SQL

A database is a collection of data. It consists of one or more tables. The data description for a class of objects is stored in each table. A typical table is shown in table 10.1. Each column of the table describes an attribute of an object, such as name and date of birth. each row of the table describes an object. Generally, a row in a table is called a record or row, and each column in the table is called a field or column ). The database usually includes additional structures to maintain data.

Table 10.1

Student ID

Last name

Date of birth

Gender

1

Li Ming

06/12/77

Male

2

Zhang Fang

11/24/78

Female

 

If a database has only one table, it is called a simple database. If a database consists of multiple related tables, it is called a relational database. Relational databases use public key fields to associate their tables. For example, in a table, the student ID can be used as a key field. If the database has a student ID table and a student ID field, you can associate two tables by using the key field "student ID.

A dbms (Database Management System) is a set of programs used to define, manage, and process the connection between databases and applications. For example, Foxpro, access, and Sybase are all DBMS. The figure shows the relationship among users, DBMS, and database.

Figure User,DBMSAnd Databases

Structured Query Language (Structured Query Language) was first proposed by IBM and is a text-based language specifically used to process relational databases. SQL provides a complete and consistent interface to the database. It is not an independent computer language and can be executed by the DBMS support party. SQL is a standard database language, which is currently supported by most DBMS.

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.