Drawing and Reading ER Diagrams
A complete guide to ER notation and a repeatable eight step method for turning a written requirement into a correct, readable ER diagram.
A complete DBMS path: database fundamentals, architecture, data models, the ER model, the relational model, relational algebra, functional dependencies, normalisation, transactions, concurrency control, recovery, storage, indexing, query processing, distributed databases, NoSQL, security, administration, performance and exam preparation.
59 notes in 21 topics
A complete guide to ER notation and a repeatable eight step method for turning a written requirement into a correct, readable ER diagram.
The extended ER model adds inheritance to ER. Specialisation splits an entity into subclasses, generalisation combines subclasses into a superclass, a...
Seven rules turn any ER diagram into a relational schema: entities become tables, one to many puts a foreign key on the many side, many to many become...
A complete college database designed from a written requirement: entities, attributes, relationships, cardinality, participation, the ER diagram and t...
A hospital database designed end to end, including a weak entity for prescription lines, a ternary relationship for treatment, and the privacy decisio...
A banking database with a generalisation hierarchy for account types, a many to many customer to account relationship, and a transaction model that ne...
A library database that separates a title from a physical copy, models issue and return correctly, and shows why the obvious single book table quietly...
An e-commerce database covering customers, products, carts, orders and payments, including why an order line must copy the price it was sold at rather...
The relational model has exactly four structural terms. A relation is a set of tuples, a tuple is one fact, an attribute is a named column and a domai...
A relation schema is the fixed definition of a relation; a relation instance is the set of tuples in it right now. A relational database schema is the...
Super key, candidate key, primary key, alternate key, composite key, foreign key and surrogate key, defined formally with a worked method for finding...
The three integrity rules of the relational model: a primary key may not be null, a foreign key must match an existing primary key or be null, and eve...