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