1.

Differentiate between DDL and DML commands in SQL.

Answer»
DDL(Data Definition Language)DML(Data Manipulation Language)
DDL is USED to define database SCHEMA and also to define some constraintsDML is used to manipulate the data within the database
Does not have further classificationClassified into procedural and non-procedural DML
DDL statements do not use WHERE clauseDML statements use WHERE clause
Examples for DDL statements are CREATE, ALTER, DROP, TRUNCATE, COMMENT, and RENAMEExamples for DML statements are INSERT, UPDATE, and DELETE


Discussion

No Comment Found