Q. What are DDL, DQL, DML, DCL and TCL Commands?

Q. Discuss about different subsets of SQL.

Q. SQL types.

In SQL (Structured Query Language), commands are categorized into 5 main types based on their functionality.

Copy of Stakeholder Map Team Whiteboard in Green Yellow Purple Trendy Stickers Style (6).png

1. Data Query Language (DQL)

DQL is used for querying the database and retrieving data.

2. Data Manipulation Language (DML)

DML commands are used to manipulate data within existing database objects.

3. Data Definition Language (DDL)

DDL commands are used to define and modify database structures such as schemas, tables, indexes, and views.