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