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