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
Billy
3 months agoSherita
4 months agoKristofer
4 months agoNatalie
2 months agoDarrin
2 months agoRenay
3 months agoBrittni
3 months agoTony
4 months agoChandra
2 months agoCarri
2 months agoMitzie
3 months agoCeleste
3 months agoCarylon
4 months agoXuan
4 months agoCorrinne
5 months agoJudy
4 months agoEmmanuel
4 months agoCharlena
5 months agoGraham
5 months ago