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
Sheron
7 months agoLinwood
7 months agoKattie
7 months agoNohemi
7 months agoRoyal
7 months agoCherrie
8 months agoWilson
8 months agoWilson
8 months agoNorah
8 months agoChanel
8 months agoAlpha
9 months agoLawanda
9 months agoMarshall
9 months agoEvette
9 months agoTeri
10 months agoTiffiny
10 months agoAnastacia
10 months agoWillie
10 months agoKenneth
10 months agoGlendora
6 months agoJanessa
6 months agoAdell
6 months agoAja
6 months agoAndree
11 months agoGayla
10 months agoLashonda
11 months agoTeddy
11 months ago