SlideShare a Scribd company logo
1 of 18
Free Video Lectures for B.Tech 
By: 
Video.edhole.com
Entity-Relationship Data 
Model 
CS 157A 
Professor Sin-Min Lee 
Student: Yen-Chu Pan 
video.edhole.com
Elements of E-R Model 
 In the E/R model, the structure of data is 
represented graphically, as an “entity-relationship 
diagram,” using three Principal 
element types: 
 Entity Sets. 
 An entity is an abstract object of some sort, and a 
collection of similar entities forms an entity set. 
 Attributes 
 The properties of the entities in the set. 
 Relationship 
 The connections among two or more entity Sets 
video.edhole.com
Example of Elements of E-R 
Model 
 Entity Sets 
 Departments 
 Professors 
 Students 
 Administrators 
 Attributes 
 Name of Departments, Phone No., Address... 
 Name, SSN, Address of Professors... 
 Relationship 
 Students and Professors are under a certain 
department 
 Admin manage the campus/ departments 
video.edhole.com
Example of the 3 elements in 
E/R Diagram 
video.edhole.com
Classification of Constraints 
1. Keys 
2. Single-value constraints 
3. Multi-valued constraints 
4. Mapping Cardinalities and 
Participation Constraints 
video.edhole.com
Key in the E/R Model 
 Superkey is a set of one or more attributes that, taken 
collectively, for us to identify uniquely an item in the entity set. 
For example, customer-id is a superkey. 
 Candidate key is a minimal superkey. For example, 
customer-name and customer-street is sufficient to distinguish 
among members of the customer entity set. Then {customer-name, 
customer-street } is a candidate key. 
 Primary key denotes a candidate key that is chosen by the 
database designer as the principal means of identifying items 
within an entity set. the primary key should be chosen such 
that its attributes are never, or very rarely, changed. For 
example, Social-security numbers are guaranteed to never 
changed. 
video.edhole.com
Single/Multi-valued attributes 
 Single-valued attributes are attributes that 
only have a single value for a particular 
entity. 
 Multi-valued attributes refers to items that 
are not singled-value and Null valued. For 
example, consider an employee entity set 
with the attribute phone-number. An 
employee may have zero, one, or several 
phone numbers; different employee may 
have different numbers of phones. 
video.edhole.com
video.edhole.com
Mapping Cardinalities or 
Cardinality ratios 
 Express the number of items to which another item 
can be associated via a relationship set 
 Are most useful in describing binary relationship 
sets. For a binary relationship set R between entity 
sets A and B, the mapping cardinality must be one 
of the following: 
 One to One 
 One to Many 
 Many to One 
 Many to Many 
video.edhole.com
Participation Constraints 
 The participation of an entity set E in a 
relationship set R is said to be total, if 
every item in E participates in at least 
one relationship in R. If only some 
items in E participate in relationship R, 
the participation of entity set E in 
relationship R is said to be partial. 
video.edhole.com
Weak Entity Sets 
 There is an occasional condition in 
which an entity set’s key is composed 
of attributes some or all of which 
belong to another entity set. Such an 
entity set is called a weak entity set. 
video.edhole.com
Discriminator 
 The discriminator of a weak entity set is a 
set of attributes that allows this distinction to 
be made. For example, the discriminator of 
a weak entity set payment is the attribute 
payment-number, since, for each loan a 
payment number uniquely identifies one 
single payment for that loan. The 
discriminator of a weak entity set is also 
called the partial key of the entity set. 
video.edhole.com
Requirements for Weak Entity 
Sets 
 We cannot obtain key attributes for a weak 
entity set indiscriminately. Rather, if E is a 
weak entity set then its key consists of: 
 Zero or more of its own attributes, and 
 Key attributes from entity sets that are reached 
by certain many-one relationship from E to other 
entity sets. These many-one relationship are 
called supporting relationships for E. 
video.edhole.com
Discriminator (cont.) 
 Note: although each payment entity is 
distinct, payments for different loans may 
share the same payment-number. Thus, 
payment entity set does not have a primary 
key; it is a weak entity set. 
 The primary key of a weak entity set is 
formed by the primary key of the identifying 
entity set, plus the weak entity set’s 
discriminator. 
video.edhole.com
Identifying a Weak Entity Type 
 A Weak entity type doesn’t have a primary key. 
 If X is a weak entity type and Y is the entity type 
on which X is dependent. 
 We form a primary key for X by combining the 
primary key of Y which one or more attributes, 
called discriminator or partial key, from X. 
 In an E/R Diagram, a partial key is usually dash-underlined. 
 e.g., primary key for DEPENDENT: {Employee 
No., DName}. 
video.edhole.com
* 
* Doted-line = double-line 
video.edhole.com
References 
 Peter Chen’s website: 
http://bit.csc.lsu.edu/~chen/chen.html 
 Database Systems: A First Course, J.D. 
Ullman & J. Widom 
 http://www-db. 
stanford.edu/~ullman/fcdb.html 
 http://www.cs.sjsu.edu/faculty/lee/cs157/25S 
p157AL4.ppt 
 http://www.cs.sjsu.edu/faculty/lee/cs157/25S 
p157AL5Enhanced%20ER-diagram.ppt 
video.edhole.com

More Related Content

More from Edhole.com

Website designing company in surat
Website designing company in suratWebsite designing company in surat
Website designing company in suratEdhole.com
 
Website dsigning company in india
Website dsigning company in indiaWebsite dsigning company in india
Website dsigning company in indiaEdhole.com
 
Website designing company in delhi
Website designing company in delhiWebsite designing company in delhi
Website designing company in delhiEdhole.com
 
Chartered accountant in dwarka
Chartered accountant in dwarkaChartered accountant in dwarka
Chartered accountant in dwarkaEdhole.com
 
Ca firm in dwarka
Ca firm in dwarkaCa firm in dwarka
Ca firm in dwarkaEdhole.com
 
Website development company surat
Website development company suratWebsite development company surat
Website development company suratEdhole.com
 
Website designing company in surat
Website designing company in suratWebsite designing company in surat
Website designing company in suratEdhole.com
 
Website designing company in india
Website designing company in indiaWebsite designing company in india
Website designing company in indiaEdhole.com
 
Website designing company in delhi
Website designing company in delhiWebsite designing company in delhi
Website designing company in delhiEdhole.com
 
Website designing company in mumbai
Website designing company in mumbaiWebsite designing company in mumbai
Website designing company in mumbaiEdhole.com
 
Website development company surat
Website development company suratWebsite development company surat
Website development company suratEdhole.com
 
Website desinging company in surat
Website desinging company in suratWebsite desinging company in surat
Website desinging company in suratEdhole.com
 
Website designing company in india
Website designing company in indiaWebsite designing company in india
Website designing company in indiaEdhole.com
 
Website designing company in delhi
Website designing company in delhiWebsite designing company in delhi
Website designing company in delhiEdhole.com
 
Video lectures for mba
Video lectures for mbaVideo lectures for mba
Video lectures for mbaEdhole.com
 
Video lecture for b.tech
Video lecture for b.techVideo lecture for b.tech
Video lecture for b.techEdhole.com
 
Video lecture for bca
Video lecture for bcaVideo lecture for bca
Video lecture for bcaEdhole.com
 
Mba top schools in india
Mba top schools in indiaMba top schools in india
Mba top schools in indiaEdhole.com
 

More from Edhole.com (20)

Website designing company in surat
Website designing company in suratWebsite designing company in surat
Website designing company in surat
 
Website dsigning company in india
Website dsigning company in indiaWebsite dsigning company in india
Website dsigning company in india
 
Website designing company in delhi
Website designing company in delhiWebsite designing company in delhi
Website designing company in delhi
 
Ca in patna
Ca in patnaCa in patna
Ca in patna
 
Chartered accountant in dwarka
Chartered accountant in dwarkaChartered accountant in dwarka
Chartered accountant in dwarka
 
Ca firm in dwarka
Ca firm in dwarkaCa firm in dwarka
Ca firm in dwarka
 
Ca in dwarka
Ca in dwarkaCa in dwarka
Ca in dwarka
 
Website development company surat
Website development company suratWebsite development company surat
Website development company surat
 
Website designing company in surat
Website designing company in suratWebsite designing company in surat
Website designing company in surat
 
Website designing company in india
Website designing company in indiaWebsite designing company in india
Website designing company in india
 
Website designing company in delhi
Website designing company in delhiWebsite designing company in delhi
Website designing company in delhi
 
Website designing company in mumbai
Website designing company in mumbaiWebsite designing company in mumbai
Website designing company in mumbai
 
Website development company surat
Website development company suratWebsite development company surat
Website development company surat
 
Website desinging company in surat
Website desinging company in suratWebsite desinging company in surat
Website desinging company in surat
 
Website designing company in india
Website designing company in indiaWebsite designing company in india
Website designing company in india
 
Website designing company in delhi
Website designing company in delhiWebsite designing company in delhi
Website designing company in delhi
 
Video lectures for mba
Video lectures for mbaVideo lectures for mba
Video lectures for mba
 
Video lecture for b.tech
Video lecture for b.techVideo lecture for b.tech
Video lecture for b.tech
 
Video lecture for bca
Video lecture for bcaVideo lecture for bca
Video lecture for bca
 
Mba top schools in india
Mba top schools in indiaMba top schools in india
Mba top schools in india
 

Recently uploaded

ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfPoh-Sun Goh
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - Englishneillewis46
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and ModificationsMJDuyan
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxVishalSingh1417
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...Poonam Aher Patil
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701bronxfugly43
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxVishalSingh1417
 
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdfVishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdfssuserdda66b
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structuredhanjurrannsibayan2
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfNirmal Dwivedi
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxJisc
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...christianmathematics
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxcallscotland1987
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...Nguyen Thanh Tu Collection
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...pradhanghanshyam7136
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSCeline George
 

Recently uploaded (20)

ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdfVishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptx
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 

Free video lectures for mca

  • 1. Free Video Lectures for B.Tech By: Video.edhole.com
  • 2. Entity-Relationship Data Model CS 157A Professor Sin-Min Lee Student: Yen-Chu Pan video.edhole.com
  • 3. Elements of E-R Model  In the E/R model, the structure of data is represented graphically, as an “entity-relationship diagram,” using three Principal element types:  Entity Sets.  An entity is an abstract object of some sort, and a collection of similar entities forms an entity set.  Attributes  The properties of the entities in the set.  Relationship  The connections among two or more entity Sets video.edhole.com
  • 4. Example of Elements of E-R Model  Entity Sets  Departments  Professors  Students  Administrators  Attributes  Name of Departments, Phone No., Address...  Name, SSN, Address of Professors...  Relationship  Students and Professors are under a certain department  Admin manage the campus/ departments video.edhole.com
  • 5. Example of the 3 elements in E/R Diagram video.edhole.com
  • 6. Classification of Constraints 1. Keys 2. Single-value constraints 3. Multi-valued constraints 4. Mapping Cardinalities and Participation Constraints video.edhole.com
  • 7. Key in the E/R Model  Superkey is a set of one or more attributes that, taken collectively, for us to identify uniquely an item in the entity set. For example, customer-id is a superkey.  Candidate key is a minimal superkey. For example, customer-name and customer-street is sufficient to distinguish among members of the customer entity set. Then {customer-name, customer-street } is a candidate key.  Primary key denotes a candidate key that is chosen by the database designer as the principal means of identifying items within an entity set. the primary key should be chosen such that its attributes are never, or very rarely, changed. For example, Social-security numbers are guaranteed to never changed. video.edhole.com
  • 8. Single/Multi-valued attributes  Single-valued attributes are attributes that only have a single value for a particular entity.  Multi-valued attributes refers to items that are not singled-value and Null valued. For example, consider an employee entity set with the attribute phone-number. An employee may have zero, one, or several phone numbers; different employee may have different numbers of phones. video.edhole.com
  • 10. Mapping Cardinalities or Cardinality ratios  Express the number of items to which another item can be associated via a relationship set  Are most useful in describing binary relationship sets. For a binary relationship set R between entity sets A and B, the mapping cardinality must be one of the following:  One to One  One to Many  Many to One  Many to Many video.edhole.com
  • 11. Participation Constraints  The participation of an entity set E in a relationship set R is said to be total, if every item in E participates in at least one relationship in R. If only some items in E participate in relationship R, the participation of entity set E in relationship R is said to be partial. video.edhole.com
  • 12. Weak Entity Sets  There is an occasional condition in which an entity set’s key is composed of attributes some or all of which belong to another entity set. Such an entity set is called a weak entity set. video.edhole.com
  • 13. Discriminator  The discriminator of a weak entity set is a set of attributes that allows this distinction to be made. For example, the discriminator of a weak entity set payment is the attribute payment-number, since, for each loan a payment number uniquely identifies one single payment for that loan. The discriminator of a weak entity set is also called the partial key of the entity set. video.edhole.com
  • 14. Requirements for Weak Entity Sets  We cannot obtain key attributes for a weak entity set indiscriminately. Rather, if E is a weak entity set then its key consists of:  Zero or more of its own attributes, and  Key attributes from entity sets that are reached by certain many-one relationship from E to other entity sets. These many-one relationship are called supporting relationships for E. video.edhole.com
  • 15. Discriminator (cont.)  Note: although each payment entity is distinct, payments for different loans may share the same payment-number. Thus, payment entity set does not have a primary key; it is a weak entity set.  The primary key of a weak entity set is formed by the primary key of the identifying entity set, plus the weak entity set’s discriminator. video.edhole.com
  • 16. Identifying a Weak Entity Type  A Weak entity type doesn’t have a primary key.  If X is a weak entity type and Y is the entity type on which X is dependent.  We form a primary key for X by combining the primary key of Y which one or more attributes, called discriminator or partial key, from X.  In an E/R Diagram, a partial key is usually dash-underlined.  e.g., primary key for DEPENDENT: {Employee No., DName}. video.edhole.com
  • 17. * * Doted-line = double-line video.edhole.com
  • 18. References  Peter Chen’s website: http://bit.csc.lsu.edu/~chen/chen.html  Database Systems: A First Course, J.D. Ullman & J. Widom  http://www-db. stanford.edu/~ullman/fcdb.html  http://www.cs.sjsu.edu/faculty/lee/cs157/25S p157AL4.ppt  http://www.cs.sjsu.edu/faculty/lee/cs157/25S p157AL5Enhanced%20ER-diagram.ppt video.edhole.com