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