Figure 1 shows a ball whose attributes include its shape, i.e., round or a sphere, and its color, i.e., blue.

Database Management System 

Database Management System(DBMS) deals with storing, retrieving, compiling, and organizing data in the system software. It acts as an interface between the database and the end user. The users are allowed to delete, update, read, and create data in the system.

Attributes play an essential role in DBMS. They are used to define the properties of a specific object.

Entity-relationship Diagram

An Entity-Relationship Diagram, abbreviated as ERD, is used to show the relationship between different entities such as people, places, objects, or events in a database System.

An ERD is a graphical representation of the database structure. An elliptical shape is used to represent an attribute of an entity in an ERD.

Different styles of elliptical shapes are used to differentiate between different types of attributes. Figure 2 shows the different styles for each type of attribute in an ER diagram.

Types of Attributes in ER Diagram

The different types of attributes used in Entity-Relation Diagrams are discussed below.

Simple Attributes

As the name suggests, simple attributes cannot be subdivided further. For example, a student’s age, class, and roll number are all simple attributes.

Composite Attributes

Composite attributes are composed of many simple attributes. It means that they can be further divided into simple attributes.

For example, a name of a person is a composite attribute as it is composed of his first name, middle name, and last name. The address of a person is also a composite attribute as it can be subdivided into simple attributes such as street, city, country, and state.

Single Valued Attributes

A single-valued attribute is an attribute that can take only a single value for an entity in an entity set. For example, a person’s date of birth is a single-valued attribute as it can only be one date. Examples of single-valued attributes are a student’s roll number, gender, and age.

Multi-valued Attributes

Multi-valued attributes are the attributes of an entity that can have more than one value. For example, an employee’s email ID and mobile number are multi-valued attributes, as there can be more than one email ID and mobile number of the employee(entity).

A double elliptical shape in the ER diagram represents a multi-valued attribute.

Derived Attributes

Derived attributes are those whose value can be derived using other attributes. For example, a person’s age is a derived attribute as its value can be derived by using the “Date of Birth” attribute. A dotted elliptical shape is used to represent a derived attribute in the ERD.

Key Attributes

A key attribute is an attribute that is used to define and identify an entity in an entity set uniquely. It is an essential attribute that makes the entity set either strong or weak. For example, a person’s CNIC number is a key attribute that defines a person uniquely.

Entity Set

An entity is taken as an object having a physical existence, such as a person, house, office, or car, and a conceptual presence, such as a university, job, school, or company. An entity set is the a set of entities.

Attributes describe the properties and are always associated with an entity. They are used to identify an entity uniquely. There are two types of entity sets.

Strong Entity Set

A strong entity set consists of sufficient attributes to define all its entities uniquely. A primary key attribute is always present in a strong entity set. A single rectangle is used for a strong entity set in an ERD.

Weak Entity Set

A weak entity set does not have a key attribute that uniquely identifies the entity; hence this set does not have a sufficient number of attributes. It has a partial attribute, also known as the discriminator, which can identify a group of entities but not the specific one. A double rectangle is used for a weak entity set in an ER diagram.

Figure 3 shows a strong and a weak entity set.

The “Building” is a strong entity set as it has a key attribute as the building number whereas the “Apartment” is a weak entity set with a partial attribute as the door number.

Types of Attributes in Data Mining

Data mining is finding patterns and extracting valuable information from data sets. The following types of attributes are used in data mining.

Qualitative Attributes

Qualitative attributes are attributes that cannot be measured. They deal with the description and characteristics that are observed subjectively. The following are the types of qualitative attributes.

Nominal Attributes

Nominal attributes have values that include names and symbols. They are also known as categorical attributes as they represent categorical data.

Ordinal Attributes

Ordinal attributes have values with a meaningful order or ranking, e.g., grade and basic pay scale.

Binary Attributes

Binary attributes have only two states e.g. yes or no, true or false. There are two types of binary attributes.

Symmetric Attributes

Symmetric Attributes have both the values of the entity equally important, e.g., gender.

Asymmetric Attributes

Asymmetric attributes have two possible values that are not equally important, e.g., result.

Quantitative Attributes

A quantitative attribute is measurable, hence can be represented as an integer value. There are two types of quantitative attributes.

Discrete Attributes

Discrete attributes have a finite number of values and can also be in categorical form. For example, a profession is a discrete profession with infinite countable values, such as teacher, peon, businessman, etc.

Continuous Attributes

Continuous attributes have an infinite number of values. For example, height and weight are continuous attributes.

Example

Show the graphical representation of different types of attributes of an employee in an ER diagram and explain.

Solution

Figure 4 shows the attributes of an employee(entity).

The employee’s name is a composite attribute that is further divided into simple attributes, first name, last name, and middle name. The employee’s age is a derived attribute from the Date of Birth(DOB).

The employee ID number is a key attribute making it a strong entity set. The employee’s phone number is a multi-valued attribute as there can be more than one phone number of the employee.

All the images are created using GeoGebra.

Associative Law Definition < Glossary Index > Average Definiton

玻璃钢生产厂家特色的玻璃钢花盆花器户外景观玻璃钢雕塑厂家玻璃钢仿砂岩雕塑本溪实用的沈阳玻璃钢花盆铜陵十一商场美陈逼真形象卡通游乐园玻璃钢雕塑河南佛像玻璃钢雕塑价位杭州商场美陈研发公司潮州玻璃钢雕塑源头好货玻璃钢雕塑厚度玻璃钢树脂雕塑灯佛山西宁玻璃钢人物雕塑浙江室内商场美陈制造潮州玻璃钢运动人物雕塑商场美陈用需要学什么软件许昌火烈鸟玻璃钢雕塑定制新型玻璃钢造型雕塑英山玻璃钢花盆花器通化火烈鸟玻璃钢雕塑生产厂家商场美陈的详细描述鸡西玻璃钢观音雕塑山西人物玻璃钢雕塑设计玻璃钢室外不锈钢雕塑加工玻璃钢花盆种花可以吗十二生肖玻璃钢雕塑供应商玻璃钢仿真咖啡杯雕塑亳州学校玻璃钢雕塑制作玻璃钢花盆的重要作用商城玻璃钢动物雕塑小品制作商场美陈天顶香港通过《维护国家安全条例》两大学生合买彩票中奖一人不认账让美丽中国“从细节出发”19岁小伙救下5人后溺亡 多方发声单亲妈妈陷入热恋 14岁儿子报警汪小菲曝离婚始末遭遇山火的松茸之乡雅江山火三名扑火人员牺牲系谣言何赛飞追着代拍打萧美琴窜访捷克 外交部回应卫健委通报少年有偿捐血浆16次猝死手机成瘾是影响睡眠质量重要因素高校汽车撞人致3死16伤 司机系学生315晚会后胖东来又人满为患了小米汽车超级工厂正式揭幕中国拥有亿元资产的家庭达13.3万户周杰伦一审败诉网易男孩8年未见母亲被告知被遗忘许家印被限制高消费饲养员用铁锨驱打大熊猫被辞退男子被猫抓伤后确诊“猫抓病”特朗普无法缴纳4.54亿美元罚金倪萍分享减重40斤方法联合利华开始重组张家界的山上“长”满了韩国人?张立群任西安交通大学校长杨倩无缘巴黎奥运“重生之我在北大当嫡校长”黑马情侣提车了专访95后高颜值猪保姆考生莫言也上北大硕士复试名单了网友洛杉矶偶遇贾玲专家建议不必谈骨泥色变沉迷短剧的人就像掉进了杀猪盘奥巴马现身唐宁街 黑色着装引猜测七年后宇文玥被薅头发捞上岸事业单位女子向同事水杯投不明物质凯特王妃现身!外出购物视频曝光河南驻马店通报西平中学跳楼事件王树国卸任西安交大校长 师生送别恒大被罚41.75亿到底怎么缴男子被流浪猫绊倒 投喂者赔24万房客欠租失踪 房东直发愁西双版纳热带植物园回应蜉蝣大爆发钱人豪晒法院裁定实锤抄袭外国人感慨凌晨的中国很安全胖东来员工每周单休无小长假白宫:哈马斯三号人物被杀测试车高速逃费 小米:已补缴老人退休金被冒领16年 金额超20万

玻璃钢生产厂家 XML地图 TXT地图 虚拟主机 SEO 网站制作 网站优化