🗊 Презентация Relational Data Structure

Категория: Образование
Нажмите для полного просмотра!
Relational Data Structure, слайд №1 Relational Data Structure, слайд №2 Relational Data Structure, слайд №3 Relational Data Structure, слайд №4 Relational Data Structure, слайд №5 Relational Data Structure, слайд №6 Relational Data Structure, слайд №7 Relational Data Structure, слайд №8 Relational Data Structure, слайд №9 Relational Data Structure, слайд №10 Relational Data Structure, слайд №11 Relational Data Structure, слайд №12 Relational Data Structure, слайд №13 Relational Data Structure, слайд №14 Relational Data Structure, слайд №15 Relational Data Structure, слайд №16 Relational Data Structure, слайд №17 Relational Data Structure, слайд №18 Relational Data Structure, слайд №19 Relational Data Structure, слайд №20 Relational Data Structure, слайд №21 Relational Data Structure, слайд №22 Relational Data Structure, слайд №23 Relational Data Structure, слайд №24 Relational Data Structure, слайд №25 Relational Data Structure, слайд №26 Relational Data Structure, слайд №27 Relational Data Structure, слайд №28 Relational Data Structure, слайд №29 Relational Data Structure, слайд №30 Relational Data Structure, слайд №31 Relational Data Structure, слайд №32 Relational Data Structure, слайд №33

Вы можете ознакомиться и скачать презентацию на тему Relational Data Structure. Доклад-сообщение содержит 33 слайдов. Презентации для любого класса можно скачать бесплатно. Если материал и наш сайт презентаций Mypresentation Вам понравились – поделитесь им с друзьями с помощью социальных кнопок и добавьте в закладки в своем браузере.

Слайды и текст этой презентации


Слайд 1


Lecture 5. Relational Data Structure National Aviation University Computer Science Faculty Department of Software Engineering
Описание слайда:
Lecture 5. Relational Data Structure National Aviation University Computer Science Faculty Department of Software Engineering

Слайд 2


CONTENT Relation in mathematics Relation definition Domains, attributes, schemas and instances of relations in RDM Relations and tables Keys of...
Описание слайда:
CONTENT Relation in mathematics Relation definition Domains, attributes, schemas and instances of relations in RDM Relations and tables Keys of relations

Слайд 3


Nonformal introduction to relations Form of representation: As a table By using a condition
Описание слайда:
Nonformal introduction to relations Form of representation: As a table By using a condition

Слайд 4


Relation definition
Описание слайда:
Relation definition

Слайд 5


Additional terms
Описание слайда:
Additional terms

Слайд 6


Representation of binary relations
Описание слайда:
Representation of binary relations

Слайд 7


Basic operations
Описание слайда:
Basic operations

Слайд 8


Property of binary relations
Описание слайда:
Property of binary relations

Слайд 9


Examples of binary relations
Описание слайда:
Examples of binary relations

Слайд 10


Schema of a relation
Описание слайда:
Schema of a relation

Слайд 11


Property of attributes and schemas Properties of the relation attributes: Each attribute of a relation has a name. The set of allowed values for each...
Описание слайда:
Property of attributes and schemas Properties of the relation attributes: Each attribute of a relation has a name. The set of allowed values for each attribute is called the domain of the attribute. Different attributes may have the same domain. Attribute values are required to be atomic, that is, indivisible.

Слайд 12


Relation instance Properties of a relation instance: Order of attributes is arbitrary, but it is defined by a relation schema. Order of tuples is...
Описание слайда:
Relation instance Properties of a relation instance: Order of attributes is arbitrary, but it is defined by a relation schema. Order of tuples is arbitrary (tuples may be located in an arbitrary order) Tuples must be unique within the instance

Слайд 13


Relational data structure The relational schema and its instance have the following properties: Name of the relations in relational schema must be...
Описание слайда:
Relational data structure The relational schema and its instance have the following properties: Name of the relations in relational schema must be unique

Слайд 14


Relations and tables
Описание слайда:
Relations and tables

Слайд 15


Term correspondence
Описание слайда:
Term correspondence

Слайд 16


Keys
Описание слайда:
Keys

Слайд 17


Simple and compound keys
Описание слайда:
Simple and compound keys

Слайд 18


Redundant and minimal keys
Описание слайда:
Redundant and minimal keys

Слайд 19


Primary key Example. Relation: STUDENT (ID-No, Name, Pasp-ser, Pasp-No, Course) has two minimal (that is why candidate) keys: ID-No Pasp-ser, Pasp-No
Описание слайда:
Primary key Example. Relation: STUDENT (ID-No, Name, Pasp-ser, Pasp-No, Course) has two minimal (that is why candidate) keys: ID-No Pasp-ser, Pasp-No

Слайд 20


Properties of a primary key Main properties (integrity constraints): Primary key values must never be duplicated. That is they are unique within a...
Описание слайда:
Properties of a primary key Main properties (integrity constraints): Primary key values must never be duplicated. That is they are unique within a relation. But there may be duplicates in parts of compound primary key. Primary key cannot have NULL values. Additional properties: Every relation must have one and only one primary key. Primary key do not influence attribute order. Primary keys do not influence tuple order.

Слайд 21


Example of a primary key
Описание слайда:
Example of a primary key

Слайд 22


Foreign key
Описание слайда:
Foreign key

Слайд 23


Example of a foreign key
Описание слайда:
Example of a foreign key

Слайд 24


Property of foreign key Main property (integrity constraint): Value of a foreign key cannot reference to absent values of the primary key of the...
Описание слайда:
Property of foreign key Main property (integrity constraint): Value of a foreign key cannot reference to absent values of the primary key of the parent relation. It is so called referential integrity constraint of the foreign key. Additional properties: Foreign key can contain duplicate values. Foreign key can contain NULL values.

Слайд 25


Supporting referential constraint Manipulating by tuples of a child relation: When a tuple is added or updated referential constraint is tested and...
Описание слайда:
Supporting referential constraint Manipulating by tuples of a child relation: When a tuple is added or updated referential constraint is tested and if it is violated the corresponding action (adding/updating) is rejected. When a tuple is deleted referential constraint cannot be violated. Manipulating by tuples of a parent relation : When a tuple is added referential constraint cannot be violated. When deleting of updating: Tuple deleting/updating is not done if there are references from child relation, that violate referential integrity constraint. Deleting/updating tuple of parent relation causes deleting/updating tuples of a child relation that references the tuple of the parent relation. Deleting/updating tuple of parent relation causes setting NULL values to corresponding tuples of a child relation . Deleting/updating tuple of parent relation causes setting DEFAULT values to corresponding tuples of a child relation.

Слайд 26


Supporting referential integrity constraints in SQL
Описание слайда:
Supporting referential integrity constraints in SQL

Слайд 27


Supporting referential constraint – RESTRICT
Описание слайда:
Supporting referential constraint – RESTRICT

Слайд 28


Supporting referential constraint – CASCADE
Описание слайда:
Supporting referential constraint – CASCADE

Слайд 29


Supporting referential constraint – SET NULL
Описание слайда:
Supporting referential constraint – SET NULL

Слайд 30


Supporting referential constraint – SET DEFAULT
Описание слайда:
Supporting referential constraint – SET DEFAULT

Слайд 31


Recursive foreign key
Описание слайда:
Recursive foreign key

Слайд 32


Cross-reference foreign keys
Описание слайда:
Cross-reference foreign keys

Слайд 33


Foreign key as a part of primary key
Описание слайда:
Foreign key as a part of primary key



Похожие презентации
Mypresentation.ru
Загрузить презентацию