MySQL (a) acquaintance database

First, the benefits of database

  1. Data persistence
  2. Use complete management system of unified management, easily accessible

Second, the concepts of database

1. DB

Database (database): In short can be considered as electronic file cabinets - electronic file storage premises, users can add the data file, query, update, or delete operation.
The so-called "database" are stored together in a certain way, can be shared with multiple users, have as small a degree of redundancy, and an application independent of each other set of data.

2. DBMS

DBMS (Database Management System) is a large-scale software for manipulating and managing a database, used to create, use and maintenance of the database, referred to as DBMS. It unified database management and control, in order to ensure the security and integrity of the database.
Here Insert Picture Description
Common database management system: MySQL, Oracle, DB2, SqlServer

3. SQL

Structured Query Language (Structured Query Language) referred SQL (pronunciation: / eskjuːel / "SQL"), is a special-purpose programming language, is a database query and programming language for accessing data and query, update and relational database management systems.

SQL advantage

  1. Not a particular database vendor's proprietary language, almost all DBMS support SQL
  2. Easy to learn
  3. Although simple, but in fact is a powerful language, flexible use of their language elements, it can be very complex and advanced database operations.

Third, the characteristics of the database

  1. Put the data table, the table and then put into a library.
  2. A database can have multiple tables, each table has a name, used to identify themselves. Table names must be unique.
  3. Table have some characteristics that define how the data is stored in a table, similar to the java "class" design.
  4. Table consists of columns, we are also called fields. All tables are one or more columns, and each column similar java "Properties."
  5. Data table is stored in rows, each row in the java like "objects."

Guess you like

Origin blog.51cto.com/19971015/2404718