SQL: Data Query Language knowledge

(Database) data stored DB 'warehouse', to save a series of organized data.

DBMS (database Management System) database management system, common are: MySQL, Orcal, DB2, SQL Server and so on.

SQL (Structure Query Language) data query language, specialized and database communication language.

 

ps:MySQL

A company formerly belonging to Sweden, MySQL AB
08 years by the sun's acquisition
2009 acquisition oracle sun was now oracle's

 

Second free SQL language

SQL language is divided into four categories: data query language DQL, data manipulation language DML, data definition language DDL, the DCL Data Control Language.

1. The data query language DQL
data query language DQL basic structure is a SELECT clause, FROM clause, WHERE, ORDER BY
query block of clauses:

SELECT <Field watches>

FROM <table or view name>

WHERE <query>

ORDER BY <sort table>

2. Data Manipulation Language DML
data manipulation language DML three major forms:
1) Insert: the INSERT
2) Update: the UPDATE
. 3) Delete: the DELETE

3. data definition language DDL
data definition language DDL used to create a variety of objects in the database - ---- table, view,
index, synonyms, and other cluster


4. Data Control Language DCL
Data Control Language DCL or used to grant a privilege to access the database recovery, and to control the
time and manipulate a database transaction effects occur, the implementation of the monitoring database

Guess you like

Origin www.cnblogs.com/WIFI-365/p/11502689.html