Learn from scratch SQL SERVER (1) --- Learn SQL

What is SQL

  • SQL (pronounced sequal [ 'sikwəl'])
  • SQL refers to the Structured Query Language Structured Query Language, is used to access and manipulate the database computer language standard of.
  • Database is divided into many species, including: MySQL, SQL Server, Access, Oracle, Sybase, DB2, and other database systems.

SQL can do

  • SQL can create a new database and its objects.
  • SQL can modify the structure of an existing database.
  • SQL objects can be deleted from the database.
  • SQL can Truncate (delete) all records in the table.
  • SQL can Comment on the data dictionary.
  • SQL can Rename an object.
  • SQL can select (retrieve) data from the database.
  • SQL data may be inserted into the table.
  • SQL can update the existing data in the table.
  • SQL can delete records from a database table.
  • SQL users can set up Grant and Revoke permissions in the database.

database 

As can be seen from the above, SQL database and is closely related to the database so what is it? As the name suggests, it is a database access what data, the official point, the database is "in accordance with the data structure to organize, store and manage data warehouse."

For example, your personal information, identity card number, QQ number, phone number and other data can be counted, these things can be stored in the database, if you change the phone number, you can be the new phone number is stored into the database when you forget your phone number you can be taken out from the inside.

SQL is the language used to let us correct operation of the database.

Guess you like

Origin www.cnblogs.com/fullstar-l/p/12319274.html