| CUSTOMER entity contains CustNumber CustName Address City State Zip |
CUSTOMER(CustNumber, CustName, Address, City, State, Zip, ContactName, PhoneNumber)
| CUSTOMER(CustomerNumber, Address, Zip, ContactName) ZIP-TABLE(Zip, City, State) CONTACT(ContactName, PhoneNumber) Interrelational constraints: Zip in CUSTOMER must exist in ZIP-TABLE |
| INVOICE | -|-----1:N-----|- | LINE-ITEM |
LINE-ITEM(LineNumber, Qty, ItemNumber, Description, Price, ExtPrice)
LINE-ITEM(InvoiceNumber, LineNumber, Qty, ItemNumber, Description, Price, ExtPrice)
| EMPLOYEE | ------1:1------ | AUTO |
EMPLOYEE(EmployeeNumber, EmployeeName, Phone, ...)
AUTO(LicenseNumber, SerialNumber, Color, Make, Model, ..., EmployeeNumber)
| EMPLOYEE | -|-----1:1-----|- | JOB-EVALUATION |
| PROFESSOR | -|-----1:N-----0- | STUDENT |
| DORMITORY | -0-----1:N-----0- | STUDENT |
| CUSTOMER | -|-----1:N-----0- | APPOINTMENT |
| ||||
| \ - \ \ \ 0 ^ | ||||
|
| STUDENT | -0-----M:N-----0- | CLASS |
|
|
||||
| \ - \ \ \ 0 ^ |
/ - / / / 0 ^ |
||||
|
| PERSON | ------1:1------ | PERSON |
| CUSTOMER | ------1:N------ | CUSTOMER |
| DOCTOR | ------M:N------ | DOCTOR |