Data Definition Language (DDL)
Data Definition Language (DDL)
DDL is the part of a DBMS interface enabling clients to manage metadata.
Metadata includes:
- a logical schema: logical metadata defining how data is understood
- There is a kind of entity called an
employee. - There are attributes called
employee-number,name, andsalary. - Employees are identified by their
employee-number - etc.
- There is a kind of entity called an
- a physical schema: physical metadata defining how data is encoded
- this is the concrete data structures on the server computer
- external schemata: comprised of subsets of the logical schema
So Metadata is actually at different levels of abstraction:
