Which of the following commands is part of DDL?
The command that is part of DDL is CREATE. CREATE is a SQL command that belongs to the category of DDL, or Data Definition Language. DDL is a subset of SQL commands that are used to define or modify the structure or schema of a database, such as tables, columns, constraints, indexes, views, etc. CREATE is a DDL command that is used to create a new object in a database, such as a table, column, constraint, index, view, etc. For example, the following statement uses the CREATE command to create a new table called employee with four columns:
CREATE TABLE employee (
emp_id INT PRIMARY KEY,
emp_name VARCHAR(50) NOT NULL,
emp_dept VARCHAR(20),
emp_salary DECIMAL(10,2)
);
Copy
Felix
5 months agoAnnelle
5 months agoVernice
5 months agoStephaine
5 months agoArthur
5 months agoCassie
6 months agoHalina
6 months agoDean
7 months agoKati
7 months agoVincenza
7 months agoWilbert
7 months agoLoreta
7 months agoWeldon
5 months agoErinn
5 months agoPhuong
6 months agoScarlet
7 months agoFelix
6 months agoEmilio
6 months agoMitsue
6 months agoRupert
6 months agoSheron
6 months agoMarti
6 months agoVallie
6 months agoBroderick
7 months agoLuisa
7 months agoMary
7 months agoKenia
7 months ago