Er schema can be represented by relation schemas , Database Management System

Assignment Help:

Q. Describe how an ER schema can be represented by relation schemas and constraints arising from ER design can be mapped to constraints on a relation schema.   

The entity relationship data model is based on a perception of a real world that consists of basic objects called entities and of relationships among these objects. An entity is thing or object in the real world that is distinguishable from other objects. For eg., each person is an entity and band accounts can be considered as entities. Entities are described in a database by set of attributes. For eg., the attributes account number and balance may describe one particular acconunt in a bank and they form attributes of the account entity set. An extra attribute customer id is used to uniquely identify customers. A relationship is an association among several entities. For eg., a depositor relationship associates a customer with each account that he has. The set of all entities of the same type and the set of all relationship of the same type are called entity set and relationship set respectively. The overall logical structure of a database can be expressed graphically by and ER diagram, which is buily up using : R ectangles -  which represent entity sets    Ellipses -  which represent attributes     Diamonds -  which represent relationships   Lines -  which represent link attributes to entity sets.   Each component is labelled with the entity or relationship that it represents.  Constraints to which the contents of database must confirm. For eg.,  mapping cardinalities, which express the number of entities to which another entity can be asociated via a relationship set.                                                                                                                  


Related Discussions:- Er schema can be represented by relation schemas

Concurrency control, discuss the purpose of the concurrency control?

discuss the purpose of the concurrency control?

Give an expression within sql for queries, Consider the following relations...

Consider the following relations:  S (S#, SNAME, STATUS, CITY)  SP (S#, P#, QTY)  P (P#, PNAME, COLOR, WEIGHT, CITY) Give an expression within SQL for each of queries b

Column constraints, Column Constraints: NOT NULL, UNIQUE, CHECK, PRIMARY K...

Column Constraints: NOT NULL, UNIQUE, CHECK, PRIMARY KEY, DEFAULT, REFERENCES, On  delete  Cascade :  Using  this  key  whenever  a  parent  row  is  removed  in  a referenced

Describe the composite key, Describe the Composite Key Composite Key: ...

Describe the Composite Key Composite Key: Sometimes one key is not enough to uniquely recognize a row. E.g. in a single class Roll is enough to search a student, but in the w

System level permissions-data control, System level permissions : With the ...

System level permissions : With the use of data dictionary you can view them.       Let us take the table name as user_sys_privs (used in oracle).       DESCRIBE USER_SYS_PRI

Explain about data independence, Data Independence This brings us to ou...

Data Independence This brings us to our next topic: data independence. It is the property of the database which tries to make sure that if we make any change in any level of sc

RDBMS, why data in an RDMS need to be normalised

why data in an RDMS need to be normalised

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd