Skip to main content

What is Entity in Database


What is Entity in Database


What is Entity in Database


Entity

1) An entity is an object that exists and is distinguishable from other object.
2) Every entity (also called as tuple) must have a unique identification. It means that
for every entity in a table there is something that uniquely identified it from any
other entity.
3) For example: “Student Id” in college, Account No. of the customer in a bank etc.  

What is Relational Database Model


Entity Set:


1) A finite set of entities in the relational database system, represents entity set.
2) Entity Set does not have duplicate entity.
3) The set of all the student having admission in
college, all customers of the banks etc .
Relationship:
I) The association among entities is called a relationship.
2) In other words, a situation exists between two tables when one table has a foreign
key that references the primary key of the other table is called Relationship.
3) Each entity has one or more attributes, known as relation key, which can identify
the row in the relation/table uniquely.
4) For example: a student admitted in a course and lecturer works_at a department.

Relationship set:

1) A set of relationships of similar type ¡s called a relationship set.
2) Like entities, a relationship can also have attributes.
3) These attributes are called descriptive attributes.
Degree  of Relationship:
The number of participating entities (tables) in a relationship defines the degree of
the relationship.
a. Binary = degree 2 (Two tables in a relationship)
b. Ternary = degree 3 (Three tables in a relationship)
c. N-ary = degree N (N tables in a relationship)

Popular posts from this blog

What is Relational Database Model

Relational Database Model: 1) The relational database model is developed by “ Edgar F. Codd ” at IBM in 1970. 2) The relational Database Model used the basic concept of a relation or table. 3) A table is a collection of records and each record in a table Contains the same fields. 4) Every row or entity (called Tuple) must have a unique identification or key based on the data. What is Data Base Model 5) The different tables may have the common column name (Attribute), but a single table must not Contain multiple columns (Attributes) with the same name. 6) The relationship between the two tables is implemented using a common and unique attribute in the tables. 7) Columns are attributes that belong to the entity modeled by the table. 8) order of rows (tuples/entity) and columns (attributes) is not important. 9) But every Tuple must be unique. It means that for every record or Tuple in a table there is something that uniquely identified ¡t from any ot...

What is Aptoide and how to publish your app on Aptoide?

What is Aptoide and how to publish your app on Aptoide?  What is Aptoide app store? Aptoide is Associate in Nursing open supply freelance golem app store that enables you to put in and find out apps in a simple, exciting and safe method. Is Aptoide safe? Aptoide is safe however take care with the apps downloaded from it. Aptoide is safe but users transfer apps to Aptoide's stores, any apps that you just transfer from Aptoide ought to have a inexperienced protect with a mark (meaning they need no viruses). If they are doing not, it means they haven't been scanned for viruses. Who created Aptoide? This 1st stage of development was later developed within the scope of SAPO Summerbits. the thought behind Aptoide came from totally different sources. On one hand, the analysis in UNIX installers in Mancoosi European Project, Paulo Trezentos Ph.D. project and Portugal telecommunication A5 phone, project wherever the team participated. Can't install apps from Aptoi...