Skip to main content

What are the different types of SQL commands?

Entry MySQL
Quick Answer SQL command types: DDL (Data Definition Language) - CREATE TABLE, ALTER TABLE, DROP TABLE, TRUNCATE. DML (Data Manipulation Language) - SELECT, INSERT, UPDATE, DELETE. DCL (Data Control Language) - GRANT, REVOKE permissions. TCL (Transaction Control Language) - COMMIT, ROLLBACK, SAVEPOINT. Each type serves a different purpose in database management.

Answer

SQL commands include DDL (CREATE, ALTER, DROP), DML (INSERT, UPDATE, DELETE), DQL (SELECT), DCL (GRANT, REVOKE), TCL (COMMIT, ROLLBACK).
S
SugharaIQ Editorial Team Verified Answer

This answer has been peer-reviewed by industry experts holding senior engineering roles to ensure technical accuracy and relevance for modern interview standards.

Want to bookmark, take notes, or join discussions?

Sign in to access all features and personalize your learning experience.

Sign In Create Account

Source: SugharaIQ

Ready to level up? Start Practice