The basic objects that ER model represents is an entity, which is a ?thing? in the real world with an independent existence. An entity may be an object with a physical existence ? a particular person, car, house, or employee, or it may be an object with a conceptual existence ? a company, a job, or a university course.
Each entity has attributes ? the particular properties that describes it. For example, the employee?s name, age, address, salary, and job may describe an employee entity. A particular entity will have a value for each of its attributes. The attribute Values that describe each entity become a major part of the data stored in the database e.g.
Composite Versus Simple (Atomic) Attributes
Composite attributes can be divided into smaller subparts, which represent more basic attributes with independent meanings. For example, the Address attribute of the employee entity can be subdivided into Street Address, City, State, and Zip, with the values ?8 Housing Estate?, ?Abeokuta?, Ogun?, and ?110001?. Attributes that are not divisible are called simple or atomic, subdivided into three simple attributes, Number, Street, and ApartmentNumber, as of its constituent simple attributes.
Composite attributes are useful to model situations in which a user sometimes refer to the composite attribute as a unit but at other times refers specially to its components.
components of an address (Zip, Street, and so on), then the whole address is designated as a simple attribute.
Single?valued Verses Multivalued Attributes
Most attributes have a single value for a particular entity; such attribute are called single? valued. For example, Age is a single?valued attribute of person. In some cars, or a College Degrees attribute for a person. Cars with one colour have a single value, whereas two?tone cars have two values for colour. Similarly, one person may not have a College Degree, another person may have one, and a third person may have two or more degrees; so different person can have different numbers of values of the College Degrees attributes.
Such attributes are called multivalued. A multivalued attribute may have lower and upper bounds on the number of values allowed for each individual entity. For example, the colour attribute of car may have between one and three values, if we assume that a car can have at most three colours.
Stored Versus Derived Attribute. In some cases, two (or more) attribute values are stated, for example, the Age and Birth Date attributes of a person. For a particular person entity, the value of Age can be determined from the current (today?s) date and the value of that person?s Birth Date. The Age attribute is hence called a derived attribute and is said to be derivable from the Birth Date attribute, which is called a stored attribute. Some attributes values can be derived from related entities, for example, an
department entity can be derived by counting the number of employees related to (working for) that department.
Null Values. In some case a particular entity may not have applicable value for an attribute. For example, the Apartment Number attribute of an address applies only to address that are in apartment buildings and not to other types of residences, such as single degrees. For such situations, a special value called null is created. An address of a single?family home would have null for its apartment Number attribute, and a person with no college degree would have null for college degrees.
Complex Attributes. Composite and multivalued attributes can be nested in an arbitrary way. We can represent arbitrary nesting by grouping components of composite attribute between parentheses. Such attributes are called complex attributes.
The basic objects that ER model represents is an entity, which is a ?thing? in the real world with an independent existence. An entity may be an object with a physical existence ? a particular person, car, house, or employee, or it may be an object with a conceptual existence ? a company, a job, or a university course.
Each entity has attributes ? the particular properties that describes it. For example, the employee?s name, age, address, salary, and job may describe an employee entity. A particular entity will have a value for each of its attributes. The attribute Values that describe each entity become a major part of the data stored in the database e.g.
Composite Versus Simple (Atomic) Attributes
Composite attributes can be divided into smaller subparts, which represent more basic attributes with independent meanings. For example, the Address attribute of the employee entity can be subdivided into Street Address, City, State, and Zip, with the values ?8 Housing Estate?, ?Abeokuta?, Ogun?, and ?110001?. Attributes that are not divisible are called simple or atomic, subdivided into three simple attributes, Number, Street, and ApartmentNumber, as of its constituent simple attributes.
Composite attributes are useful to model situations in which a user sometimes refer to the composite attribute as a unit but at other times refers specially to its components.
components of an address (Zip, Street, and so on), then the whole address is designated as a simple attribute.
Single?valued Verses Multivalued Attributes
Most attributes have a single value for a particular entity; such attribute are called single? valued. For example, Age is a single?valued attribute of person. In some cars, or a College Degrees attribute for a person. Cars with one colour have a single value, whereas two?tone cars have two values for colour. Similarly, one person may not have a College Degree, another person may have one, and a third person may have two or more degrees; so different person can have different numbers of values of the College Degrees attributes.
Such attributes are called multivalued. A multivalued attribute may have lower and upper bounds on the number of values allowed for each individual entity. For example, the colour attribute of car may have between one and three values, if we assume that a car can have at most three colours.
Stored Versus Derived Attribute. In some cases, two (or more) attribute values are stated, for example, the Age and Birth Date attributes of a person. For a particular person entity, the value of Age can be determined from the current (today?s) date and the value of that person?s Birth Date. The Age attribute is hence called a derived attribute and is said to be derivable from the Birth Date attribute, which is called a stored attribute. Some attributes values can be derived from related entities, for example, an
department entity can be derived by counting the number of employees related to (working for) that department.
Null Values. In some case a particular entity may not have applicable value for an attribute. For example, the Apartment Number attribute of an address applies only to address that are in apartment buildings and not to other types of residences, such as single degrees. For such situations, a special value called null is created. An address of a single?family home would have null for its apartment Number attribute, and a person with no college degree would have null for college degrees.
Complex Attributes. Composite and multivalued attributes can be nested in an arbitrary way. We can represent arbitrary nesting by grouping components of composite attribute between parentheses. Such attributes are called complex attributes.
การแปล กรุณารอสักครู่..

วัตถุพื้นฐานที่ ER โมเดลแสดงเป็นนิติบุคคลซึ่งเป็น ? อะไร ? ในโลกจริงที่มีชีวิตอิสระ องค์กรอาจเป็นวัตถุที่มีการดำรงอยู่ทางกายภาพ ? เฉพาะบุคคล , รถยนต์ , บ้าน หรือพนักงาน หรืออาจเป็นวัตถุที่มีตัวตนความคิด ? บริษัท , งานหรือมหาวิทยาลัยหลักสูตร
แต่ละองค์กรมีคุณลักษณะ ? โดยเฉพาะคุณสมบัติที่อธิบายมันตัวอย่างเช่น พนักงาน ? ชื่อ อายุ ที่อยู่ เงินเดือน และงานอาจจะอธิบายเป็นลูกจ้างของนิติบุคคล นิติบุคคลใดจะมีค่าสำหรับแต่ละคุณลักษณะของมัน ส่วนค่าแอตทริบิวต์ที่อธิบายแต่ละองค์กรเป็นส่วนหนึ่งที่สำคัญของข้อมูลที่จัดเก็บในฐานข้อมูลเช่น
คอมโพสิตและง่าย ( อะตอม ) คุณลักษณะ
คอมโพสิตสามารถแบ่งออกเป็นขนาดเล็กใช้แอตทริบิวต์ ,ที่แสดงคุณลักษณะพื้นฐานเพิ่มเติมที่มีความหมายเป็นอิสระ ตัวอย่างเช่นที่อยู่คุณลักษณะของพนักงานนิติบุคคลสามารถแบ่งที่อยู่ถนน , เมือง , รัฐและรหัสไปรษณีย์ที่มีค่า ? 8 หมู่บ้าน ? , ? แอบีโอคูตา ? ไนเจอร์ , ? และ ? 110001 ? . คุณลักษณะที่ไม่ลงตัว เรียกว่า ธรรมดา หรือ อะตอม แบ่งออกได้เป็นสามลักษณะ เรียบง่าย เลขที่ ถนน apartmentnumber และ ,เป็นส่วนประกอบของของง่าย คุณลักษณะ คุณลักษณะเป็นประโยชน์
คอมโพสิตแบบจำลองสถานการณ์ที่ผู้ใช้บางครั้งอ้างถึงประกอบด้วยคุณลักษณะเป็นหน่วย แต่ในเวลาอื่น ๆหมายถึงเฉพาะของคอมโพเนนต์
ส่วนประกอบของที่อยู่ ( Zip , ถนน , และอื่น ๆ ) แล้วที่อยู่ทั้งเขตเป็นแอตทริบิวต์ ง่าย
เดียว ? มูลค่าข้อ multivalued คุณลักษณะ
คุณลักษณะส่วนใหญ่จะมีค่าเดียวสำหรับองค์กรเฉพาะ คุณลักษณะดังกล่าวเรียกว่าโสด มูลค่า เช่น อายุ เป็น โสด มีคุณลักษณะของบุคคล ในบางคัน หรือวิทยาลัยองศาคุณลักษณะของบุคคล รถยนต์กับสีได้ค่าเดียว โดยที่สอง เสียงรถยนต์มี 2 ค่าสำหรับสี ในทํานองเดียวกัน คนหนึ่งอาจไม่ได้รับปริญญา , บุคคลอื่นอาจจะมีหนึ่งและคนที่สามอาจมีสองคนหรือมากกว่าองศา ดังนั้นบุคคลอื่นสามารถมีตัวเลขที่แตกต่างกันของค่าขององศาวิทยาลัยแอตทริบิวต์
เช่นคุณลักษณะเรียกว่า multivalued . เป็นแถบชุดลวดลาย Stencils อาจมีขอบเขตบนและล่างในจํานวนค่าอนุญาตให้แต่ละองค์กร แต่ละบุคคล ตัวอย่างเช่นสีคุณลักษณะของรถอาจจะมีระหว่างหนึ่งและสามค่าถ้าเราสมมติว่ารถสามารถมีมากที่สุด 3 สี
เก็บไว้เมื่อเทียบกับที่ได้มาคุณลักษณะ ในบางกรณี สอง ( หรือมากกว่า ) ค่าแอตทริบิวต์ จะระบุไว้ เช่น อายุ และวันเดือนปีเกิดคุณลักษณะของบุคคล สำหรับ บุคคลใดบุคคล องค์กร คุณค่าของอายุได้จากปัจจุบัน ( วันนี้ s ) วันที่และคุณค่าของบุคคลนั้น ของวันเกิดอายุคุณสมบัติจึงเรียกว่าได้มาคุณลักษณะ และกล่าวว่าเป็นแอตทริบิวต์ที่ได้มาจากวันเดือนปีเกิดซึ่งเรียกว่าเก็บคุณลักษณะ บางค่าแอตทริบิวต์สามารถได้มาจากหน่วยงานที่เกี่ยวข้อง เช่น ฝ่ายนิติบุคคลเป็น
สามารถจะได้มาโดยการนับจำนวนของพนักงานที่เกี่ยวข้องกับ ( ทำงาน ) แผนกนั้น
ว่างค่าในบางกรณีเป็นนิติบุคคลโดยเฉพาะอาจมีค่าใช้สำหรับคุณลักษณะ ตัวอย่างเช่น หมายเลขห้องคุณลักษณะที่อยู่ใช้เฉพาะกับที่อยู่ที่ในอาคารอพาร์ทเม้นและประเภทอื่น ๆของที่อยู่อาศัย เช่น องศาเดียว สำหรับสถานการณ์ดังกล่าวเป็นค่าพิเศษที่เรียกว่า null จะถูกสร้างขึ้น ที่อยู่ของเดียว ?บ้านจะว่างของหมายเลขอพาร์ตเมนต์แอตทริบิวต์ และคนที่ไม่มีปริญญาก็ไม่มีค่าสำหรับวิทยาลัยองศา
ซับซ้อนคุณสมบัติ คอมโพสิตและ multivalued คุณลักษณะสามารถซ้อนกันในวิธีเปิด เราสามารถเป็นตัวแทนโดยพลการทำรังโดยการจัดองค์ประกอบของแอตทริบิวต์ของคอมโพสิตระหว่างวงเล็บ . คุณลักษณะดังกล่าวเรียกว่าคุณสมบัติที่ซับซ้อน
การแปล กรุณารอสักครู่..
