What is an Attribute in database management system?
An Attribute is a property that describes an entity.
Each entity is associated with a collection of attributes.
Example of Attribute:
Employee’s name, age, address, salary and job etc are the attribute for the entity 'employee'
Patients name, address, weight, height, age etc are the attribute for the entity 'Patient'.
Student's roll number, first name, middle name, last name, etc are the attribute for the entity 'Student'.
How to implement:
Attributes are represented as columns in a table.
For example in a table named 'Patient', patient_idn, patient_first_name, patient_middle_name, patient_last_name, dob, patient_gender, martial_status, etc are the columns.
An Attribute is a property that describes an entity.
Each entity is associated with a collection of attributes.
Example of Attribute:
Employee’s name, age, address, salary and job etc are the attribute for the entity 'employee'
Patients name, address, weight, height, age etc are the attribute for the entity 'Patient'.
Student's roll number, first name, middle name, last name, etc are the attribute for the entity 'Student'.
How to implement:
Attributes are represented as columns in a table.
For example in a table named 'Patient', patient_idn, patient_first_name, patient_middle_name, patient_last_name, dob, patient_gender, martial_status, etc are the columns.
Comments
Post a Comment