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
7 months agoAnnelle
8 months agoVernice
8 months agoStephaine
8 months agoArthur
8 months agoCassie
9 months agoHalina
9 months agoDean
9 months agoKati
9 months agoVincenza
10 months agoWilbert
10 months agoLoreta
10 months agoWeldon
8 months agoErinn
8 months agoPhuong
9 months agoScarlet
10 months agoFelix
9 months agoEmilio
9 months agoMitsue
9 months agoRupert
9 months agoSheron
9 months agoMarti
9 months agoVallie
9 months agoBroderick
10 months agoLuisa
10 months agoMary
10 months agoKenia
10 months ago