Types of Attribute

Опубликовано: 14 Май 2026
на канале: ByteMate
403
13

Types of Attributes in DBMS

In a Database Management System (DBMS), attributes are the properties or characteristics of an entity. They define the type of data that can be stored in each column of a table. Here are the key types of attributes commonly found in DBMS:

1. Simple Attribute:
Cannot be divided into smaller components.
Example: Age, Gender, or ID number.

2. Composite Attribute:
Can be divided into smaller sub-parts, which represent more basic attributes with independent meanings.
Example: Full Name can be split into First Name and Last Name; Address can be divided into Street, City, State, and Zip Code.

3. Single-Valued Attribute:
Holds a single value for a particular entity.
Example: Social Security Number (SSN), Birth Date.

4. Multi-Valued Attribute:
Can hold multiple values for a particular entity.
Example: Phone Numbers, Email Addresses.

5. Derived Attribute:
Values are derived from other attributes.
Example: Age can be derived from Birth Date; Total Salary can be derived from Base Salary and Bonuses.

6. Stored Attribute:
The actual value is stored in the database.
Example: Birth Date (as opposed to Age which is derived).

7. Null Attribute:
Can have a NULL value, indicating the absence of a value.
Example: Middle Name might be NULL if not provided.

8. Key Attribute:
Used to uniquely identify entities in an entity set.
Example: Employee ID, which is unique for each employee.

9. Complex Attribute:
Combines composite and multi-valued attributes.
Example: An Address attribute containing multiple Address components and potentially multiple values for each (e.g., multiple addresses).

Search Keywords and Hashtags

Keywords:
Types of Attributes in DBMS
Simple Attribute DBMS
Composite Attribute DBMS
Single-Valued Attribute DBMS
Multi-Valued Attribute DBMS
Derived Attribute DBMS
Stored Attribute DBMS
Null Attribute DBMS
Key Attribute DBMS
Complex Attribute DBMS

Hashtags:
#DBMS
#DatabaseAttributes
#SimpleAttribute
#CompositeAttribute
#SingleValuedAttribute
#MultiValuedAttribute
#DerivedAttribute
#StoredAttribute
#NullAttribute
#KeyAttribute

l