Entity-Relationship (E-R) Diagrams and Integrity Constraints