0% found this document useful (0 votes)
15 views10 pages

Mohammed Abdulxalq (B)

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
15 views10 pages

Mohammed Abdulxalq (B)

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 10

Chamchamal Technical Institute

Information Technology Department


Stage:2 Semester: 3
Database Management System

Relational Model in DBMS

Prepared by : Mohammed
Abdulxalq
Supervisor : Mohammed Abbas
2024-2025
Topic of discussion
Relational Model
Relational Model Concepts
Relational Model system
Some popular Relational Database
management systems are:
 DB2 and Informix Dynamic Server - IBM
 Oracle and RDB – Oracle
 SQL Server and Access - Microsoft
Relational Model Concepts
Employee Table
Relational Model Concepts
 Tables – In the Relational model the, relations are saved in the table
format. It is stored along with its entities. A table has two properties
rows and columns. Rows represent records and columns represent
attributes.

 Attribute: Each column in a Table. Attributes are the properties which


define a relation. e.g., customer_id, customer_name etc.

 Tuple – It is nothing but a single row of a table, which contains a single


record.

 Relation Schema: A relation schema represents the logical


representation of entire database.
Customer(customer_id, customer_name, status)
Relational Model Concepts
 Degree: The total number of attributes which in the
relation is called the degree of the relation.

 Cardinality: Total number of rows present in the Table.

 Column: The column represents the set of values for a


specific attribute.

 Relation instance – Relation instance is a finite set of


tuples in the RDBMS system. Relation instances never
have duplicate tuples.

 Attribute domain – Determines the type of data values


that are permitted for that attribute.
Relational Model Concepts
Primary key and foreign key
Primary Key: Is a single field chosen by the designer to
uniquely identify a record in a table (relation),
cannot be null (empty/unassigned)

A FOREIGN KEY is a field (or collection of fields) in one


table, that refers to the PRIMARY KEY in another table.

The table with the foreign key is called the child table, and
the table with the primary key is called the referenced or
parent table.
Primary key and Secondary key
Thank you

You might also like