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