What are the difference between DDL, DML and DCL commands?

DDL

Data Definition Language statements are used to define the database structure or schema:

DML

Data Manipulation Language statements are used for managing data within schema objects:

DCL

Data Control Language statements:

TCL

Transaction Control statements are used to manage the changes made by DML statements. It allows statements to be grouped together into logical transactions.