Data Manipulation Language (DML)
- Used to specify database retrievals and updates
- DML commands (data sublanguage) can be embedded in a general-purpose programming language (C, COBOL etc)
- Alternatively, stand-alone DML commands can be applied directly (structure query language-SQL)
- select, insert, update, delete are the basic operations
Data Definition Language (DDL)
- Used by the DBA and database designers to specify the conceptual schema of a database
- the DDL is also used to define internal and external schemas (views)
- Create table, Alter table, drop table, create view, drop view are the basic operations
No comments:
Post a Comment