DDL Command inSQL
(Data Definition Language)
DDL COMMAND USED FOR
CREATE
DIFINE
ALTER AND
DELETE
There are five command in DDL
1. CREATE -: Used for create table or database
2. ALTER -: Used for modify the table
3. DROP -: Used for delete /Drop the table/Database completely
4. TRUNCATE -: Used for delete all the rows but keeps structure.
5. RENAME -: Used for change the name of table.
3.
DML Command InSQL
( Data manipulation language)
DML Command used for manage data store in database.
There are three command in DML
1. INSERT -: Used to insert new records into database tables
2. UPDATE -: Used for update or modify the exiting data in database/tables
3. DELETE -: Used for delete or remove the rows from the tables