The relationship between DB, DBMS, SQL
DB:
DataBase (database)—>The database actually exists in the form of a file on the hard disk
DBMS:
DataBase Management System—>Common DBMS are: MySQL, Oracle, DB2, SyBase, SqlServer
SQL:
(1) SQL is a structured query language, a standard and universal language. Standard SQL is suitable for all database products;
(2) SQL is a high-level language;
(3) When the SQL statement is executed, it will actually be compiled advanced internally, and then the SQL will be executed;
(4) The compilation of SQL statements is done by DBMS
The relationship between DB, DBMS, and SQL is:
The DBMS is responsible for executing SQL statements and manipulating the data in the DB by executing SQL statements, namely:
DBMS — (execution) —> SQL — (operation) —> DB