Dbms 2A44
Dbms 2A44
Basic Structure:
Database Schema:
Schema Diagram:
A database schema, along with primary key and foreign key
dependencies, can be depicted pictorially by schema
diagrams. Each relation appears as a box, with the
attributes listed in-side it and the relation name above it. If there are primary
key attributes, a horizontal line crosses the box, with the primary key
attributes listed above the line. Foreign key
dependencies appear as arrows from the foreign key attributes of the
referencing relation to the primary key of the referenced relation.
Do not confuse a schema diagram with an E-R diagram. In
particular, E-R diagrams do not show foreign key attributes
explicitly, whereas schema diagrams show them explicity.
Many database systems provide design tools with a
graphical user interface for creating schema diagrams.
OUTPUT:
CONCLUSION:
Thus we have mapped ER-Mapping to Relational Schema Model.