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

Consistency-transaction , Consistency: This property makes sure that a com...

Consistency: This property makes sure that a complete transaction implementation takes a database from one consistent state to another consistent state. If the transaction fails e

RAID technology, what characterizes the levels in RAID technology

what characterizes the levels in RAID technology

#normalisation.., define normalisation and functional dependency

define normalisation and functional dependency

What is a merge sort, QUESTION (a) Using an appropriate example, explai...

QUESTION (a) Using an appropriate example, explain what is a recursive function? (b) Explain in detail the C++ function given below. void search2(int list[],int n,int ele

What are the states of transaction, What are the states of transaction? ...

What are the states of transaction? The states of transaction are:- a) Active b) Partially committed c) Failed d) Aborted e )Committed   f) Terminated

Statistical analysis of data, An important first step to the statistical an...

An important first step to the statistical analysis of data is to "get to know your data".  The following tasks should contribute to this. (a)   To the right of the dataset cons

What are the different integrity constraints in rdbms, What are the differe...

What are the different integrity constraints in RDBMS? The various integrity constraints in RDBMS are as: Primary Key: primary key is a grouping of one or more attributes

What is the use of group by clause, What is the use of group by clause?  ...

What is the use of group by clause?  Group  by  clause  is  used to apply  aggregate  functions  to a  set  of  tuples. The attributes given in the group by clause are used to

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

What is structured query langauge, What is Structured Query Langauge (SQL)?...

What is Structured Query Langauge (SQL)? SQL is a powerful set-oriented language which was formed by IBM research for the databases that adhere to the relational model. It havi

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