SQL Syntax

SQL’s syntax comprises several types of statements that allow you to perform various commands and operations.

The main components are:

  • Data Definition Language (DDL)
  • Data Manipulation Language (DML)
  • Data Control Language (DCL)
  • Transaction Control Language (TCL)

Data Definition Language

The statements part of the Data Definition Language syntax are:

Data Manipulation Language

The statements part of the Data Manipulation Language syntax are:

Data Control Language

The Data Control Language is a syntax that consists of only two statements:

Transaction Control Language

The Transaction Control Language is a syntax that contains four statements: