Computer Science, asked by nanditjindal9821, 10 months ago

What is Data Definition Language (DDL) and Data Manipulation Language (DML)?
Give one example of each.

Answers

Answered by Agashi22
21

Answer:

Data definition language or data description language is a standard for commands that define different structures in a database. DDL statements create, modify, and remove database objects such as tables, indexes, etc. Common DDL statements are CREATE, ALTER and DROP.

Data Manipulation language is a language that enables users to access and manipulate data in a database. Common DML statements are SELECT,INSERT,DELETE and UPDATE.

Answered by premppk
3

Answer:

A DDL is a language used to define data structures and modify data. For example, DDL commands can be used to add, remove, or modify tables within in a database. DDLs used in database applications are considered a subset of SQL, the Structured Query Language. However, a DDL may also define other types of data, such as XML.

FOR EXAMPLE , to build a new table using SQL syntax, the CREATE command is used, followed by parameters for the table name and column definitions. The DDL can also define the name of each column and the associated data type. Once a table is created, it can be modified using the ALTER command. If the table is no longer needed, the DROP command can be used to delete the table.

Explanation:

hopes it helps

mark us brainliest

Similar questions