Js coder
31/05/2026
π SQL Interview Series #7 β Main Types of SQL Commands
SQL is more than just querying data. It provides different categories of commands to define, manipulate, secure, and manage database transactions.
πΉ DDL (Data Definition Language)
Used to define and modify database structures.
Commands: CREATE, ALTER, DROP, TRUNCATE
πΉ DML (Data Manipulation Language)
Used to retrieve and manipulate data.
Commands: SELECT, INSERT, UPDATE, DELETE
πΉ DCL (Data Control Language)
Used to control user permissions and access.
Commands: GRANT, REVOKE
πΉ TCL (Transaction Control Language)
Used to manage transactions and maintain data integrity.
Commands: COMMIT, ROLLBACK, SAVEPOINT
π Quick Summary:
β
DDL β Structure
β
DML β Data
β
DCL β Security
β
TCL β Transactions
Understanding these command categories is a fundamental skill for every Backend Developer, Database Administrator, and Software Engineer.
π SQL Interview Series #7 β ααααααααααΆααααα SQL Commands
SQL αα·ααααααΆαααααΉαααααΆαααααααααα·αααααα (Query) ααα»αααααααα ααΆααααΌαααΆααααα
ααααΆαααααα Command ααααααααααΆαααααΆααααααααααα Database ααΆααααΌαα
πΉ DDL (Data Definition Language)
ααααΎαααααΆαααααααΎα αα·ααααααααα
ααΆαααααααα Databaseα
Commands: CREATE, ALTER, DROP, TRUNCATE
πΉ DML (Data Manipulation Language)
ααααΎαααααΆααααααααα αααααα αααααα αα·ααα»ααα·ααααααα
Commands: SELECT, INSERT, UPDATE, DELETE
πΉ DCL (Data Control Language)
ααααΎαααααΆααααααααααααα·αααα· αα·αααΆαα
αΌαααααΎ Databaseα
Commands: GRANT, REVOKE
πΉ TCL (Transaction Control Language)
ααααΎαααααΆααααααααααα Transaction αα·ααααααΆαα»αααΆαααααΉαααααΌααααα·ααααααα
Commands: COMMIT, ROLLBACK, SAVEPOINT
π ααΆαα
αΆαα
β
DDL β Structure (αα
ααΆαααααααα)
β
DML β Data (αα·αααααα)
β
DCL β Security (αα·αααα·ααααΎααααΆαα)
β
TCL β Transactions (ααααα·ααααα·ααΆα)
ααΆααααααΉαααΈ SQL Command Types ααΊααΆααΌαααααΆαααααΉααααααΆαα Backend Developer, Database Administrator αα·α Software Engineer αααααααΌαα
Click here to claim your Sponsored Listing.
Category
Contact the school
Address
123 Robinson Road
Central Region
569933