freeCodeCamp/guide/english/sql/index.md

923 B

title
SQL

SQL

SQL stands for Structured Query Language. It is the most common tool used to create, delete, manipulate and manage data in a relational database (often referred to as a "SQL database").

SQL is commonly pronounced "sequel." Its most popular variants are Microsoft SQL, MySQL, PostgreSQL, and SQLite - a version of SQL which is commonly used for prototyping. It introduced the concept of accessing many records with one single command, using SQL Queries.

However, SQL code can differ between the different variants. For example, Microsoft SQL is programmed with T-SQL, which sometimes has a different syntax.

SQL can be divided into three parts:

  1. The Data Manipulation Language (DML) is for working with the database tables.
  2. The Data Definition Language (DDL) is for working with the data in the tables.
  3. The Data Control Language (DCL) is for access control to the database.