KnowledgeBoat Logo

Computer Science

What are different divisions of SQL and commands ? Give examples of commands in each division.

DDL & DML

11 Likes

Answer

SQL commands can be divided into following categories :

  1. Data Definition Language (DDL) commands — CREATE, ALTER, DROP, TRUNCATE etc.
  2. Data Manipulation Language (DML) commands — INSERT, UPDATE, DELETE etc.
  3. Transaction Control Language (TCL) commands — COMMIT, ROLLBACK, SAVEPOINT etc.
  4. Session Control Commands
  5. System Control Commands

Answered By

8 Likes


Related Questions