Entity
An entity is a business object/real world thing like person, place, event etc. that represents a group, class or category of data.
Entities are represented by database tables in a relational database, with each row of the table representing an instance of that entity.
Like student, customer, school etc.
Attribute
A sub group of information within an entity.
Attribute is a unit fact that describes characteristics or properties of an entity.
Like roll no., age, name, height, weight are attributes that describe student.
Attributes are represented by table columns in database.
Relationships
Relationships are associations among entities.
Relationship lines indicate that each instance of an entity have a relationship with instances of the connected entity, and vice versa.
There are 4 types of relationships:-
One to One Relationship
A one to one relationship is an association between two entities where an instance of one entity can be associated with at most one instance of the other entity and vice versa. Like husband and wife etc.
The relationship is also mandatory in both directions.
One to Many Relationship
A one to many relationship is an association between two entities where an instance of one entity can be associated with more than one instances of the second entity while any instance of the second entity may be associated with at most one instance of the first. Like School and Student etc.
One to many relationships are quite common, in relational database, maximum relationships are in one to many format.
Many to Many Relationship
A many to many relationship is an association between two entities where any instance of the first entity may be associated with more than one instances of the second entity and vice versa. Like Teacher and Student etc.
Recursive Relationship
Instance of an entity may have relationships with other instances of the same entity. Like in an entity Employee, an instance (a particular employee) may be a father/mother/husband/wife/relative of another instance.
Depending upon the mutual relationships between the instances of the same entity, it can be classified into three categories :-
One to One
One to Many
Many to Many
Links to all Softwares, free offers, contests, samples, e-books, music, videos, images, tutorials, job-sites, helpful forums, traveling, Stocks etc.
Subscribe to this blog
Latest News Headlines........
Loading...
Search : Web
Search : Within Site
Popular Posts
-
Source :- http://indiarailinfo.com From New Delhi to Faridabad Click Image to download full schedule....... From Faridabad to ...
-
New Samsung PC Studio version 1.5.0 AC4. It is yet to be officially released by Samsung. It's a new looking, better, more stable vers...
-
Which? Right Choice is a new magazine to hit the stands in India. It is a monthly magazine that was launched in India recently but has aroun...
-
Beautiful 176x220 Mobile Wallpapers - 367 Gif Files - 33.4 MB Download from here:- http://www.ziddu.com/download/10733033/176x220Mo...
-
Each part can be download/open separately. Part 1 - 250 Jpg Files - 22.8 MB http://www.ziddu.com/download/10761484/250iPhone320x480-1...
-
Beautiful 240x320 Mobile Wallpapers - 552 Jpg Files - 17.3 MB Download from here:- http://www.ziddu.com/download/10660317/240x320Mo...
-
The Association of Mutual Funds in India (AMFI) is dedicated to developing the Indian Mutual Fund Industry on professional...
-
Prestigious B-School Entrance CAT Papers 2001 - 2008 with solutions* Download CAT Papers 2001-2008 with Solutions *Please note actual I...
-
Nice Site for someone searching for government jobs in India. It includes all the latest Jobs & Vacancies, Notifications, Employment New...
-
India's first toll free guide on the web. The site was launched in July 2006 http://www.1-800.in/ Few of Them is listed as below ( Numbe...
Tuesday, October 27, 2009
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment