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