Basic Concepts of Entity-Relationship Model — Transcript
Full transcript
- 0:03[Music]
- 0:06hello everyone
- 0:07and welcome to the course of dbms in
- 0:10this video
- 0:11we're going to look into the basic
- 0:12concepts of entity relationship
- 0:15model or otherwise called the er model
- 0:19so basically in this video we will be
- 0:20looking into few important terminologies
- 0:23in relation to the er model the entity
- 0:26relationship
- 0:27model or the er model describes data
- 0:30as entities attributes and relationships
- 0:34in this video we will be mainly focusing
- 0:36on entities and attributes
- 0:38and in the later videos we will be
- 0:40looking into the concept of
- 0:42relationships now what is an entity
- 0:45it is a thing in the real world with an
- 0:48independent
- 0:49existence that is it is a thing or an
- 0:51object that has its own identity or that
- 0:54can be
- 0:55identified easily an entity may be an
- 0:58object with physical existence like for
- 1:01example
- 1:02a house person an employee
- 1:05etc or it can be objects with a
- 1:07conceptual
- 1:08existence like for example course
- 1:11job etc so this is what an entity is
- 1:15next let us see what attributes are
- 1:18attributes
- 1:19are properties that describe the
- 1:22entities
- 1:23for example if i have an entity person
- 1:26the properties that would describe
- 1:27this particular entity would be name age
- 1:31address phone number etc so these are
- 1:35called as
- 1:35attributes of this entity in our further
- 1:38videos
- 1:39we will learn about each of the symbols
- 1:41that we have used here
- 1:42and also all the other symbols that we
- 1:44use in the er diagram
- 1:46now let's look into the several types of
- 1:48attributes in the er model with examples
- 1:52first let us see what composite
- 1:53attributes and simple attributes are
- 1:56composite attributes are attributes that
- 1:58can be divided into further parts
- 2:01whereas simple attributes are attributes
- 2:03that cannot be divided further
- 2:06an example of a composite attribute is
- 2:08name
- 2:09this attribute can be divided into
- 2:11further parts first name
- 2:13middle name and last name an example of
- 2:16a simple
- 2:16attribute is weight this attribute
- 2:19cannot be further divided
- 2:21other examples could be salary a
- 2:23person's age
- 2:24etc so this is about composite and
- 2:27simple attributes
- 2:29next we have the single valued
- 2:31attributes and multi-valued attributes
- 2:34single valued attributes are attributes
- 2:36that have a single value
- 2:38or just one value for a particular
- 2:40entity
- 2:41whereas multi-valued attributes are
- 2:43attributes that can have
- 2:45a set of values for a particular entity
- 2:48an example for a single valued attribute
- 2:50is age
- 2:52a particular person can have only a
- 2:54single value for this
- 2:55particular attribute so age is a single
- 2:59valued attribute of a person
- 3:01examples of multi-valued attributes are
- 3:04college degree
- 3:05languages known etc a particular person
- 3:09can have more than one college degree
- 3:11and can also know more than one language
- 3:14since these attributes can have a set of
- 3:16values for a particular entity
- 3:18it is called as a multi-valued attribute
- 3:20of a person
- 3:22so these are about single valued
- 3:24attributes and multi-value attributes
- 3:26next let us see what derived attributes
- 3:29and stored attributes are
- 3:31derived attributes are attributes that
- 3:33can be derived from
- 3:35other attributes whereas stored
- 3:37attributes
- 3:38are attributes from which the value of
- 3:41other attributes
- 3:42are derived an example of a derived
- 3:44attribute
- 3:45is age since age can be derived from
- 3:48date of birth this is called a derived
- 3:51attribute
- 3:52whereas date of birth or birth date of a
- 3:54person
- 3:55is a stored attribute because from this
- 3:58attribute
- 3:59we can derive age of a person so this is
- 4:01a stored attribute from which the value
- 4:04of
- 4:04other attributes are derived next let us
- 4:07see what are complex
- 4:09attributes a complex attribute has
- 4:12multi-valued and composite components in
- 4:15it
- 4:15we have already seen earlier in this
- 4:17video what multi-valued and composite
- 4:19attributes are
- 4:20so a complex attribute has both
- 4:22multivalued and composite components
- 4:25here in the complex attribute a
- 4:27multi-valued attribute is represented
- 4:29within curly brackets
- 4:31and composite attributes are represented
- 4:34within round brackets or paranthesis
- 4:37this is an example of a complex
- 4:38attribute here college degrees
- 4:41which is represented within curly
- 4:43brackets is a multi-valued attribute
- 4:45because one person can have more than
- 4:47one
- 4:48degree and within the parenthesis is the
- 4:50composite attribute
- 4:52so this is about complex attributes next
- 4:54we're going to learn about
- 4:56null values null is something which is
- 4:59not
- 4:59applicable or unknown so when does null
- 5:03value mean not applicable in some cases
- 5:06an entity might not have an
- 5:07applicable value for an attribute like
- 5:10for example if i have an
- 5:12attribute college degree this attribute
- 5:15applies only to persons with a college
- 5:17degree
- 5:18or if i have an attribute say the
- 5:19landline number this attribute again
- 5:22applies only to persons who has a
- 5:23landline
- 5:24so a person who has no college degree
- 5:26will have null
- 5:27for the attribute college degree and a
- 5:29person who has no landline phone
- 5:32will have null for the attribute
- 5:34landline number
- 5:35so in this particular case the meaning
- 5:37of null is not
- 5:38applicable null can also be used when we
- 5:41don't know the value of an attribute
- 5:44like for example if we don't know the
- 5:46phone number of a particular entity here
- 5:48say jeremy then that particular value of
- 5:50the attribute would be
- 5:52null so in this case the meaning of null
- 5:54is unknown
- 5:55the unknown category of null can be
- 5:58further classified into two cases
- 6:00the first case is when the value exists
- 6:03but it is missing
- 6:04like for example the age of joshua
- 6:07exists but it is missing so that value
- 6:10would be null
- 6:11the second case is when it is not known
- 6:13if the value
- 6:14exists or not like for example if you
- 6:18don't know whether the student jeremy
- 6:19has a phone number or not
- 6:21in that case the value of the attribute
- 6:23phone number would be null
- 6:25hope you understood what null values are
- 6:27the next terminology that we are going
- 6:29to learn
- 6:29is entity type what is entity type
- 6:33it is a collection of entities that have
- 6:35the same
- 6:36attributes example of an entity type is
- 6:39student
- 6:40so here each record in this table is an
- 6:43entity
- 6:44we have harry jeremy and joshua as the
- 6:47entities
- 6:48these entities share the same attribute
- 6:50that is
- 6:51age and they belong to the entity type
- 6:53student
- 6:54so an entity type is a collection of
- 6:57entities that have the same
- 6:58attributes now what is an entity set
- 7:02it is a collection of entities of a
- 7:04particular entity type at a point in
- 7:06time
- 7:07if i say i need students whose age is
- 7:10between 19 and 23
- 7:12so at that particular point in time all
- 7:14the students with age between 19 and 23
- 7:17is an entity set next let us see what a
- 7:20key attribute
- 7:21is a key attribute of a particular
- 7:24entity type
- 7:25is that attribute that is capable of
- 7:28identifying each
- 7:29entity uniquely for example role number
- 7:32of a student
- 7:34now in this table with entity type
- 7:36student i have two
- 7:37students with the same name and also the
- 7:40same
- 7:40age if i have to identify this
- 7:43particular student uniquely
- 7:45i can identify her by her student id or
- 7:48role number
- 7:49because no two students can share the
- 7:51same role number in a particular class
- 7:53so the attribute role number or student
- 7:56id is a key attribute
- 7:58to identify a student uniquely next what
- 8:01is
- 8:01value set of attributes value set of
- 8:04attributes is a set of values that can
- 8:06be assigned to a particular attribute
- 8:09for example if the range allowed for the
- 8:11age of an
- 8:12employee is between 22 and 60 then we
- 8:15can specify the value set
- 8:17of the age attribute of an employee as a
- 8:19set of integer numbers between
- 8:2122 and 60. so that is called as a value
- 8:24set
- 8:25so these are the few important
- 8:26terminologies that we need to know in
- 8:28relation to the er model
- 8:30with this we come to the end of this
- 8:32video hope you have understood the
- 8:34definition of each of these
- 8:35terminologies
- 8:36thank you
- 8:40[Music]
- 8:48you
About this transcript
This page contains the full transcript of Basic Concepts of Entity-Relationship Model by Neso Academy, generated from the public captions YouTube serves with the video. The transcript has 1,322 words across 250 segments, with the original timestamps preserved so you can click any line to jump to that moment in the embedded player.
What you can do with it
Use the transcript to take notes, quote the speaker, build a study guide, generate a summary with ChatGPT or Claude via the YouTube Summary tool, or export it as a timed subtitle file with YouTube to SRT. You can also re-open it in the transcriber to translate the transcript into 100+ languages.
Free YouTube transcript tool
YouTube2Text is a free YouTube transcript generator — no signup, no daily limit. Paste any YouTube link and get the full transcript instantly, with timestamps, click-to-jump, translation to 100+ languages, AI prompts for ChatGPT, Claude, and Gemini, and exports to TXT, SRT, VTT, or Markdown.