Computer Science, asked by somabhaipatel2411952, 8 months ago

what is data definition language and data manipulation language? Give one example of each​

Answers

Answered by yogichaudhary
31

Answer:

DDL is Data Definition Language which is used to define data structures. For example: create table, alter table are instructions in SQL. DML: DML is Data Manipulation Language which is used to manipulate data itself. For example: insert, update, delete are instructions in SQL.

Answered by SACHIN105406
8

Answer:

DDL:

DDL is Data Definition Language which is used to define data structures. For example: create table, alter table are instructions in SQL.

DML:

DML is Data Manipulation Language which is used to manipulate data itself. For example: insert, update, delete are instructions in SQL.

Explanation:

Difference between DDL and DML:

DDL DML

It stands for Data Definition Language.

It stands for Data Manipulation Language.

It is used to create database schema and can be used to define some constraints as well. It is used to add, retrieve or update the data.

It basically defines the column (Attributes) of the table. It add or update the row of the table. These rows are called as tuple.

It doesn’t have any further classification. It is further classified into Procedural and Non-Procedural DML.

Basic command present in DDL are CREATE, DROP, RENAME, ALTER etc. BASIC command present in DML are UPDATE, INSERT, MERGE etc.

Similar questions