wiz-icon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

Differentiate Between DDL And DML Commands With Example.


Open in App
Solution

The difference between DDL and DML are:

DDL-Data Definition LanguageDML-Data Manipulation Language
It is declarativeIt is imperative
DDL is used to define data structuresDML is used to manipulate data
DDL defines the column of the tableDML adds or updates the row of the table
DDL is not further classified

DML is further classified into

Procedural DML

Non-Procedural DML

DDL does not use the WHERE clause in its statementDML uses the WHERE clause in its statements

DDL commands examples are

CREATE

ALTER

DROP

DML commands examples are

INSERT

UPDATE

DELETE


flag
Suggest Corrections
thumbs-up
15
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Permutation
QUANTITATIVE APTITUDE
Watch in App
Join BYJU'S Learning Program
CrossIcon