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