SlideShare a Scribd company logo
1. Relational Model
The relational model uses a collection of tables to represent both data and relationships among those data.
Each table has multiple columns and each column has a unique name.
Characteristics
1. The primary data model for commercial data-processing applications.
2. It provides very simple but powerful way of representing data that eases the job of the programmer.
3. This is a record-based model. The database is structured in fixed-format records of several types. Each
table contains records of a particular type. Each record type defines a fixed no. of fields, or attributes. The
columns of the table correspond to the attributes of the record type.
4. The relational model is at a lower level than the E-R model. Database designs are often carried out in
the E-R model and then translated to the relational model.
2. Structure of Relational Databases
2.1 Basic Structure
Relation and tuple: In relational model these are synonymous to table and row.
Attribute: In relational model we refer column headers as attributes.
Domain: a domain is a set of acceptable values that a column is allowed to contain. This is based on
various properties and the data type for the column. For the attribute branch_name, the domain is the set
of all branch names.
Atomic domain: A domain is atomic if elements of the domain are considered to be indivisible parts. For
example: The domain of Marital Status has a set of possibilities: Married, Single, Divorced.
Null value: One domain value that is a member of any possible domain is the null value, which signifies
that the value is unknown or does not exist. Example: telephone_no.
 Null values cause a number of difficulties while accessing or updating the database, thus should be
eliminated if at all possible.
Tuple variable: A tuple variable is variable that takes on tuples of a particular relation schema as values.
That is, every value assigned to a given tuple variable has the same number and type of fields.
Figure 1. The account relation
In the account relation of Figure 1, there are seven tuples. Let the tuple variable t refer to the first tuple of
the relation.We use the notation t[account-number] to denote the value of t on the account-number attribute.
Thus, t[account-number] = “A-101,” and t[branch-name] = “Downtown”. Alternatively, we may write t[1] to
denote the value of tuple t on the first attribute (account-number), t[2] to denote branch-name, and so on.
Since a relation is a set of tuples, we use the mathematical notation of t ∈ r to denote that tuple t is in
relation r.
2.2 Database Schema
Database schema: Logical design of the database.
Database instance: A snapshot of the data in the database at a given instant in time.
Relation schema:
 The concept of relation schema corresponds to the programming-language notion of type definition.
 There should be a name of a relation schema. The convention is to use names beginning with an
uppercase letter.
 In general, a relation schema consists of a list of attributes and their corresponding domains.
Branch_schema = (branch_name, branch_city, assets)
Customer_schema = (customer_id, customer_name, customer_street, customer_city)
Loan_schema = (loan_no., branch_name, amount)
Relation instance:
 The concept of relation instance corresponds to the programming-language notion of a value of a
variable. In other words, A relation instance is a tuple or row in a relation, i.e. one particular combination
of attribute values.
Let there be a relation Student. The schema of the relation Student has the following attributes:
{ID,first_name,last_name}
Now each of the attributes have their own domain i.e. a range of values they can take up.
Student
ID f_name l_name
1 Bob Dylan
2 Adam Levine
3 Chris Martin
(1, Bob, Dylan) is a relation instance.
Table 1. Terms and their synonyms by A. Watt.
A. S. M. Shafi
Lecturer
Department of Computer Science and Engineering
Khwaja Yunus Ali University
Enaytpur, Sirajgonj-6751, Bangladesh
Ad

More Related Content

What's hot (20)

Fundamentals of database system - Relational data model and relational datab...
Fundamentals of database system  - Relational data model and relational datab...Fundamentals of database system  - Relational data model and relational datab...
Fundamentals of database system - Relational data model and relational datab...
Mustafa Kamel Mohammadi
 
Denormalization
DenormalizationDenormalization
Denormalization
Sohail Haider
 
Structures in c language
Structures in c languageStructures in c language
Structures in c language
tanmaymodi4
 
Bc0038– data structure using c
Bc0038– data structure using cBc0038– data structure using c
Bc0038– data structure using c
hayerpa
 
Dbms ii mca-ch3-er-model-2013
Dbms ii mca-ch3-er-model-2013Dbms ii mca-ch3-er-model-2013
Dbms ii mca-ch3-er-model-2013
Prosanta Ghosh
 
Relational model
Relational modelRelational model
Relational model
Sabana Maharjan
 
Dbms 9: Relational Model
Dbms 9: Relational ModelDbms 9: Relational Model
Dbms 9: Relational Model
Amiya9439793168
 
Lecture 07 relational database management system
Lecture 07 relational database management systemLecture 07 relational database management system
Lecture 07 relational database management system
emailharmeet
 
Relational database
Relational  databaseRelational  database
Relational database
amkrisha
 
Dbms relational data model and sql queries
Dbms relational data model and sql queries Dbms relational data model and sql queries
Dbms relational data model and sql queries
Tetala Vishnu Vardhan Reddy
 
4. SQL in DBMS
4. SQL in DBMS4. SQL in DBMS
4. SQL in DBMS
koolkampus
 
Dbms 10: Conversion of ER model to Relational Model
Dbms 10: Conversion of ER model to Relational ModelDbms 10: Conversion of ER model to Relational Model
Dbms 10: Conversion of ER model to Relational Model
Amiya9439793168
 
4 the relational data model and relational database constraints
4 the relational data model and relational database constraints4 the relational data model and relational database constraints
4 the relational data model and relational database constraints
Kumar
 
RDBMS_Unit 01
RDBMS_Unit 01RDBMS_Unit 01
RDBMS_Unit 01
Prashanth Shivakumar
 
Schema Integration, View Integration and Database Integration, ER Model & Dia...
Schema Integration, View Integration and Database Integration, ER Model & Dia...Schema Integration, View Integration and Database Integration, ER Model & Dia...
Schema Integration, View Integration and Database Integration, ER Model & Dia...
Mobarok Hossen
 
Relational database
Relational databaseRelational database
Relational database
Ducat
 
The Relational Model
The Relational ModelThe Relational Model
The Relational Model
Bhandari Nawaraj
 
R Datatypes
R DatatypesR Datatypes
R Datatypes
DataminingTools Inc
 
Presentation on c structures
Presentation on c   structures Presentation on c   structures
Presentation on c structures
topu93
 
3. Relational Models in DBMS
3. Relational Models in DBMS3. Relational Models in DBMS
3. Relational Models in DBMS
koolkampus
 
Fundamentals of database system - Relational data model and relational datab...
Fundamentals of database system  - Relational data model and relational datab...Fundamentals of database system  - Relational data model and relational datab...
Fundamentals of database system - Relational data model and relational datab...
Mustafa Kamel Mohammadi
 
Structures in c language
Structures in c languageStructures in c language
Structures in c language
tanmaymodi4
 
Bc0038– data structure using c
Bc0038– data structure using cBc0038– data structure using c
Bc0038– data structure using c
hayerpa
 
Dbms ii mca-ch3-er-model-2013
Dbms ii mca-ch3-er-model-2013Dbms ii mca-ch3-er-model-2013
Dbms ii mca-ch3-er-model-2013
Prosanta Ghosh
 
Dbms 9: Relational Model
Dbms 9: Relational ModelDbms 9: Relational Model
Dbms 9: Relational Model
Amiya9439793168
 
Lecture 07 relational database management system
Lecture 07 relational database management systemLecture 07 relational database management system
Lecture 07 relational database management system
emailharmeet
 
Relational database
Relational  databaseRelational  database
Relational database
amkrisha
 
4. SQL in DBMS
4. SQL in DBMS4. SQL in DBMS
4. SQL in DBMS
koolkampus
 
Dbms 10: Conversion of ER model to Relational Model
Dbms 10: Conversion of ER model to Relational ModelDbms 10: Conversion of ER model to Relational Model
Dbms 10: Conversion of ER model to Relational Model
Amiya9439793168
 
4 the relational data model and relational database constraints
4 the relational data model and relational database constraints4 the relational data model and relational database constraints
4 the relational data model and relational database constraints
Kumar
 
Schema Integration, View Integration and Database Integration, ER Model & Dia...
Schema Integration, View Integration and Database Integration, ER Model & Dia...Schema Integration, View Integration and Database Integration, ER Model & Dia...
Schema Integration, View Integration and Database Integration, ER Model & Dia...
Mobarok Hossen
 
Relational database
Relational databaseRelational database
Relational database
Ducat
 
Presentation on c structures
Presentation on c   structures Presentation on c   structures
Presentation on c structures
topu93
 
3. Relational Models in DBMS
3. Relational Models in DBMS3. Relational Models in DBMS
3. Relational Models in DBMS
koolkampus
 

Similar to Relational Model (20)

The relational data model part[1]
The relational data model part[1]The relational data model part[1]
The relational data model part[1]
Bashir Rezaie
 
Database relational model_unit3_2023 (1).pptx
Database relational model_unit3_2023 (1).pptxDatabase relational model_unit3_2023 (1).pptx
Database relational model_unit3_2023 (1).pptx
2021ismadhuprasadrna
 
Relational Database Model Database Management system
Relational Database Model Database Management systemRelational Database Model Database Management system
Relational Database Model Database Management system
soalteepaudel
 
Chapter 6 relational data model and relational
Chapter  6  relational data model and relationalChapter  6  relational data model and relational
Chapter 6 relational data model and relational
Jafar Nesargi
 
Chapter 6 relational data model and relational
Chapter  6  relational data model and relationalChapter  6  relational data model and relational
Chapter 6 relational data model and relational
Jafar Nesargi
 
BCS403 DBMS MODULE-2 4th sem engineering.pptx
BCS403 DBMS MODULE-2 4th sem engineering.pptxBCS403 DBMS MODULE-2 4th sem engineering.pptx
BCS403 DBMS MODULE-2 4th sem engineering.pptx
nithudgowda3
 
Chapter 6 relational data model and relational
Chapter  6  relational data model and relationalChapter  6  relational data model and relational
Chapter 6 relational data model and relational
Jafar Nesargi
 
relational model.pptx
relational model.pptxrelational model.pptx
relational model.pptx
ThangamaniR3
 
RELATIONAL MODEL CONCEPTS.pptx with good explanation
RELATIONAL MODEL CONCEPTS.pptx with good explanationRELATIONAL MODEL CONCEPTS.pptx with good explanation
RELATIONAL MODEL CONCEPTS.pptx with good explanation
farsankadavandy
 
DBMS Module-2 notes for engineering BE vtu
DBMS Module-2 notes for engineering BE vtuDBMS Module-2 notes for engineering BE vtu
DBMS Module-2 notes for engineering BE vtu
shreya520613
 
Relational Model in DBMS detail explanation
Relational Model in DBMS detail explanationRelational Model in DBMS detail explanation
Relational Model in DBMS detail explanation
keerthanaparath1
 
COMPUTERS Database
COMPUTERS Database COMPUTERS Database
COMPUTERS Database
Rc Os
 
DBMS Unit-2.pdf
DBMS Unit-2.pdfDBMS Unit-2.pdf
DBMS Unit-2.pdf
vaishnavi339314
 
relational model in Database Management.ppt.ppt
relational model in Database Management.ppt.pptrelational model in Database Management.ppt.ppt
relational model in Database Management.ppt.ppt
Roshni814224
 
4_RelationalDataModelAndRelationalMapping.pdf
4_RelationalDataModelAndRelationalMapping.pdf4_RelationalDataModelAndRelationalMapping.pdf
4_RelationalDataModelAndRelationalMapping.pdf
LPhct2
 
Towards a New Data Modelling Architecture - Part 1
Towards a New Data Modelling Architecture - Part 1Towards a New Data Modelling Architecture - Part 1
Towards a New Data Modelling Architecture - Part 1
JEAN-MICHEL LETENNIER
 
Data resource management
Data resource managementData resource management
Data resource management
Nirajan Silwal
 
Dbms ii mca-ch4-relational model-2013
Dbms ii mca-ch4-relational model-2013Dbms ii mca-ch4-relational model-2013
Dbms ii mca-ch4-relational model-2013
Prosanta Ghosh
 
RDBMS
RDBMSRDBMS
RDBMS
NilaNila16
 
Module 2 2022 scheme BCS403 database management system
Module 2 2022 scheme BCS403 database management systemModule 2 2022 scheme BCS403 database management system
Module 2 2022 scheme BCS403 database management system
SushmaMD
 
The relational data model part[1]
The relational data model part[1]The relational data model part[1]
The relational data model part[1]
Bashir Rezaie
 
Database relational model_unit3_2023 (1).pptx
Database relational model_unit3_2023 (1).pptxDatabase relational model_unit3_2023 (1).pptx
Database relational model_unit3_2023 (1).pptx
2021ismadhuprasadrna
 
Relational Database Model Database Management system
Relational Database Model Database Management systemRelational Database Model Database Management system
Relational Database Model Database Management system
soalteepaudel
 
Chapter 6 relational data model and relational
Chapter  6  relational data model and relationalChapter  6  relational data model and relational
Chapter 6 relational data model and relational
Jafar Nesargi
 
Chapter 6 relational data model and relational
Chapter  6  relational data model and relationalChapter  6  relational data model and relational
Chapter 6 relational data model and relational
Jafar Nesargi
 
BCS403 DBMS MODULE-2 4th sem engineering.pptx
BCS403 DBMS MODULE-2 4th sem engineering.pptxBCS403 DBMS MODULE-2 4th sem engineering.pptx
BCS403 DBMS MODULE-2 4th sem engineering.pptx
nithudgowda3
 
Chapter 6 relational data model and relational
Chapter  6  relational data model and relationalChapter  6  relational data model and relational
Chapter 6 relational data model and relational
Jafar Nesargi
 
relational model.pptx
relational model.pptxrelational model.pptx
relational model.pptx
ThangamaniR3
 
RELATIONAL MODEL CONCEPTS.pptx with good explanation
RELATIONAL MODEL CONCEPTS.pptx with good explanationRELATIONAL MODEL CONCEPTS.pptx with good explanation
RELATIONAL MODEL CONCEPTS.pptx with good explanation
farsankadavandy
 
DBMS Module-2 notes for engineering BE vtu
DBMS Module-2 notes for engineering BE vtuDBMS Module-2 notes for engineering BE vtu
DBMS Module-2 notes for engineering BE vtu
shreya520613
 
Relational Model in DBMS detail explanation
Relational Model in DBMS detail explanationRelational Model in DBMS detail explanation
Relational Model in DBMS detail explanation
keerthanaparath1
 
COMPUTERS Database
COMPUTERS Database COMPUTERS Database
COMPUTERS Database
Rc Os
 
relational model in Database Management.ppt.ppt
relational model in Database Management.ppt.pptrelational model in Database Management.ppt.ppt
relational model in Database Management.ppt.ppt
Roshni814224
 
4_RelationalDataModelAndRelationalMapping.pdf
4_RelationalDataModelAndRelationalMapping.pdf4_RelationalDataModelAndRelationalMapping.pdf
4_RelationalDataModelAndRelationalMapping.pdf
LPhct2
 
Towards a New Data Modelling Architecture - Part 1
Towards a New Data Modelling Architecture - Part 1Towards a New Data Modelling Architecture - Part 1
Towards a New Data Modelling Architecture - Part 1
JEAN-MICHEL LETENNIER
 
Data resource management
Data resource managementData resource management
Data resource management
Nirajan Silwal
 
Dbms ii mca-ch4-relational model-2013
Dbms ii mca-ch4-relational model-2013Dbms ii mca-ch4-relational model-2013
Dbms ii mca-ch4-relational model-2013
Prosanta Ghosh
 
Module 2 2022 scheme BCS403 database management system
Module 2 2022 scheme BCS403 database management systemModule 2 2022 scheme BCS403 database management system
Module 2 2022 scheme BCS403 database management system
SushmaMD
 
Ad

More from A. S. M. Shafi (20)

Data Warehouse Schema (Star, Snowflake).docx
Data Warehouse Schema (Star, Snowflake).docxData Warehouse Schema (Star, Snowflake).docx
Data Warehouse Schema (Star, Snowflake).docx
A. S. M. Shafi
 
Correlation Analysis in Machine Learning.pdf
Correlation Analysis in Machine Learning.pdfCorrelation Analysis in Machine Learning.pdf
Correlation Analysis in Machine Learning.pdf
A. S. M. Shafi
 
Naive Bayes and Decision Tree Algorithm.pdf
Naive Bayes and Decision Tree Algorithm.pdfNaive Bayes and Decision Tree Algorithm.pdf
Naive Bayes and Decision Tree Algorithm.pdf
A. S. M. Shafi
 
Frequent Pattern Growth Mining Algorithm.pdf
Frequent Pattern Growth Mining Algorithm.pdfFrequent Pattern Growth Mining Algorithm.pdf
Frequent Pattern Growth Mining Algorithm.pdf
A. S. M. Shafi
 
Direct Hashing and Pruning Algorithm in Data MIning.pdf
Direct Hashing and Pruning Algorithm in Data MIning.pdfDirect Hashing and Pruning Algorithm in Data MIning.pdf
Direct Hashing and Pruning Algorithm in Data MIning.pdf
A. S. M. Shafi
 
Association Rule Mining with Apriori Algorithm.pdf
Association Rule Mining with Apriori Algorithm.pdfAssociation Rule Mining with Apriori Algorithm.pdf
Association Rule Mining with Apriori Algorithm.pdf
A. S. M. Shafi
 
HITS Algorithm in Data and Web MIning.pdf
HITS Algorithm in Data and Web MIning.pdfHITS Algorithm in Data and Web MIning.pdf
HITS Algorithm in Data and Web MIning.pdf
A. S. M. Shafi
 
Page Rank Algorithm in Data Mining and Web Application.pdf
Page Rank Algorithm in Data Mining and Web Application.pdfPage Rank Algorithm in Data Mining and Web Application.pdf
Page Rank Algorithm in Data Mining and Web Application.pdf
A. S. M. Shafi
 
K Nearest Neighbor Classifier in Machine Learning.pdf
K Nearest Neighbor Classifier in Machine Learning.pdfK Nearest Neighbor Classifier in Machine Learning.pdf
K Nearest Neighbor Classifier in Machine Learning.pdf
A. S. M. Shafi
 
K Means Clustering Algorithm in Machine Learning.pdf
K Means Clustering Algorithm in Machine Learning.pdfK Means Clustering Algorithm in Machine Learning.pdf
K Means Clustering Algorithm in Machine Learning.pdf
A. S. M. Shafi
 
2D Transformation in Computer Graphics
2D Transformation in Computer Graphics2D Transformation in Computer Graphics
2D Transformation in Computer Graphics
A. S. M. Shafi
 
3D Transformation in Computer Graphics
3D Transformation in Computer Graphics3D Transformation in Computer Graphics
3D Transformation in Computer Graphics
A. S. M. Shafi
 
Projection
ProjectionProjection
Projection
A. S. M. Shafi
 
2D Transformation
2D Transformation2D Transformation
2D Transformation
A. S. M. Shafi
 
Line drawing algorithm
Line drawing algorithmLine drawing algorithm
Line drawing algorithm
A. S. M. Shafi
 
Fragmentation
FragmentationFragmentation
Fragmentation
A. S. M. Shafi
 
File organization
File organizationFile organization
File organization
A. S. M. Shafi
 
Bankers algorithm
Bankers algorithmBankers algorithm
Bankers algorithm
A. S. M. Shafi
 
RR and priority scheduling
RR and priority schedulingRR and priority scheduling
RR and priority scheduling
A. S. M. Shafi
 
Fcfs and sjf
Fcfs and sjfFcfs and sjf
Fcfs and sjf
A. S. M. Shafi
 
Data Warehouse Schema (Star, Snowflake).docx
Data Warehouse Schema (Star, Snowflake).docxData Warehouse Schema (Star, Snowflake).docx
Data Warehouse Schema (Star, Snowflake).docx
A. S. M. Shafi
 
Correlation Analysis in Machine Learning.pdf
Correlation Analysis in Machine Learning.pdfCorrelation Analysis in Machine Learning.pdf
Correlation Analysis in Machine Learning.pdf
A. S. M. Shafi
 
Naive Bayes and Decision Tree Algorithm.pdf
Naive Bayes and Decision Tree Algorithm.pdfNaive Bayes and Decision Tree Algorithm.pdf
Naive Bayes and Decision Tree Algorithm.pdf
A. S. M. Shafi
 
Frequent Pattern Growth Mining Algorithm.pdf
Frequent Pattern Growth Mining Algorithm.pdfFrequent Pattern Growth Mining Algorithm.pdf
Frequent Pattern Growth Mining Algorithm.pdf
A. S. M. Shafi
 
Direct Hashing and Pruning Algorithm in Data MIning.pdf
Direct Hashing and Pruning Algorithm in Data MIning.pdfDirect Hashing and Pruning Algorithm in Data MIning.pdf
Direct Hashing and Pruning Algorithm in Data MIning.pdf
A. S. M. Shafi
 
Association Rule Mining with Apriori Algorithm.pdf
Association Rule Mining with Apriori Algorithm.pdfAssociation Rule Mining with Apriori Algorithm.pdf
Association Rule Mining with Apriori Algorithm.pdf
A. S. M. Shafi
 
HITS Algorithm in Data and Web MIning.pdf
HITS Algorithm in Data and Web MIning.pdfHITS Algorithm in Data and Web MIning.pdf
HITS Algorithm in Data and Web MIning.pdf
A. S. M. Shafi
 
Page Rank Algorithm in Data Mining and Web Application.pdf
Page Rank Algorithm in Data Mining and Web Application.pdfPage Rank Algorithm in Data Mining and Web Application.pdf
Page Rank Algorithm in Data Mining and Web Application.pdf
A. S. M. Shafi
 
K Nearest Neighbor Classifier in Machine Learning.pdf
K Nearest Neighbor Classifier in Machine Learning.pdfK Nearest Neighbor Classifier in Machine Learning.pdf
K Nearest Neighbor Classifier in Machine Learning.pdf
A. S. M. Shafi
 
K Means Clustering Algorithm in Machine Learning.pdf
K Means Clustering Algorithm in Machine Learning.pdfK Means Clustering Algorithm in Machine Learning.pdf
K Means Clustering Algorithm in Machine Learning.pdf
A. S. M. Shafi
 
2D Transformation in Computer Graphics
2D Transformation in Computer Graphics2D Transformation in Computer Graphics
2D Transformation in Computer Graphics
A. S. M. Shafi
 
3D Transformation in Computer Graphics
3D Transformation in Computer Graphics3D Transformation in Computer Graphics
3D Transformation in Computer Graphics
A. S. M. Shafi
 
Line drawing algorithm
Line drawing algorithmLine drawing algorithm
Line drawing algorithm
A. S. M. Shafi
 
RR and priority scheduling
RR and priority schedulingRR and priority scheduling
RR and priority scheduling
A. S. M. Shafi
 
Ad

Recently uploaded (20)

new ppt artificial intelligence historyyy
new ppt artificial intelligence historyyynew ppt artificial intelligence historyyy
new ppt artificial intelligence historyyy
PianoPianist
 
QA/QC Manager (Quality management Expert)
QA/QC Manager (Quality management Expert)QA/QC Manager (Quality management Expert)
QA/QC Manager (Quality management Expert)
rccbatchplant
 
Introduction to Zoomlion Earthmoving.pptx
Introduction to Zoomlion Earthmoving.pptxIntroduction to Zoomlion Earthmoving.pptx
Introduction to Zoomlion Earthmoving.pptx
AS1920
 
Reagent dosing (Bredel) presentation.pptx
Reagent dosing (Bredel) presentation.pptxReagent dosing (Bredel) presentation.pptx
Reagent dosing (Bredel) presentation.pptx
AlejandroOdio
 
Development of MLR, ANN and ANFIS Models for Estimation of PCUs at Different ...
Development of MLR, ANN and ANFIS Models for Estimation of PCUs at Different ...Development of MLR, ANN and ANFIS Models for Estimation of PCUs at Different ...
Development of MLR, ANN and ANFIS Models for Estimation of PCUs at Different ...
Journal of Soft Computing in Civil Engineering
 
Structural Response of Reinforced Self-Compacting Concrete Deep Beam Using Fi...
Structural Response of Reinforced Self-Compacting Concrete Deep Beam Using Fi...Structural Response of Reinforced Self-Compacting Concrete Deep Beam Using Fi...
Structural Response of Reinforced Self-Compacting Concrete Deep Beam Using Fi...
Journal of Soft Computing in Civil Engineering
 
DT REPORT by Tech titan GROUP to introduce the subject design Thinking
DT REPORT by Tech titan GROUP to introduce the subject design ThinkingDT REPORT by Tech titan GROUP to introduce the subject design Thinking
DT REPORT by Tech titan GROUP to introduce the subject design Thinking
DhruvChotaliya2
 
Compiler Design Unit1 PPT Phases of Compiler.pptx
Compiler Design Unit1 PPT Phases of Compiler.pptxCompiler Design Unit1 PPT Phases of Compiler.pptx
Compiler Design Unit1 PPT Phases of Compiler.pptx
RushaliDeshmukh2
 
π0.5: a Vision-Language-Action Model with Open-World Generalization
π0.5: a Vision-Language-Action Model with Open-World Generalizationπ0.5: a Vision-Language-Action Model with Open-World Generalization
π0.5: a Vision-Language-Action Model with Open-World Generalization
NABLAS株式会社
 
some basics electrical and electronics knowledge
some basics electrical and electronics knowledgesome basics electrical and electronics knowledge
some basics electrical and electronics knowledge
nguyentrungdo88
 
Data Structures_Searching and Sorting.pptx
Data Structures_Searching and Sorting.pptxData Structures_Searching and Sorting.pptx
Data Structures_Searching and Sorting.pptx
RushaliDeshmukh2
 
Oil-gas_Unconventional oil and gass_reseviours.pdf
Oil-gas_Unconventional oil and gass_reseviours.pdfOil-gas_Unconventional oil and gass_reseviours.pdf
Oil-gas_Unconventional oil and gass_reseviours.pdf
M7md3li2
 
The Gaussian Process Modeling Module in UQLab
The Gaussian Process Modeling Module in UQLabThe Gaussian Process Modeling Module in UQLab
The Gaussian Process Modeling Module in UQLab
Journal of Soft Computing in Civil Engineering
 
IntroSlides-April-BuildWithAI-VertexAI.pdf
IntroSlides-April-BuildWithAI-VertexAI.pdfIntroSlides-April-BuildWithAI-VertexAI.pdf
IntroSlides-April-BuildWithAI-VertexAI.pdf
Luiz Carneiro
 
theory-slides-for react for beginners.pptx
theory-slides-for react for beginners.pptxtheory-slides-for react for beginners.pptx
theory-slides-for react for beginners.pptx
sanchezvanessa7896
 
"Boiler Feed Pump (BFP): Working, Applications, Advantages, and Limitations E...
"Boiler Feed Pump (BFP): Working, Applications, Advantages, and Limitations E..."Boiler Feed Pump (BFP): Working, Applications, Advantages, and Limitations E...
"Boiler Feed Pump (BFP): Working, Applications, Advantages, and Limitations E...
Infopitaara
 
Smart_Storage_Systems_Production_Engineering.pptx
Smart_Storage_Systems_Production_Engineering.pptxSmart_Storage_Systems_Production_Engineering.pptx
Smart_Storage_Systems_Production_Engineering.pptx
rushikeshnavghare94
 
fluke dealers in bangalore..............
fluke dealers in bangalore..............fluke dealers in bangalore..............
fluke dealers in bangalore..............
Haresh Vaswani
 
Metal alkyne complexes.pptx in chemistry
Metal alkyne complexes.pptx in chemistryMetal alkyne complexes.pptx in chemistry
Metal alkyne complexes.pptx in chemistry
mee23nu
 
Smart Storage Solutions.pptx for production engineering
Smart Storage Solutions.pptx for production engineeringSmart Storage Solutions.pptx for production engineering
Smart Storage Solutions.pptx for production engineering
rushikeshnavghare94
 
new ppt artificial intelligence historyyy
new ppt artificial intelligence historyyynew ppt artificial intelligence historyyy
new ppt artificial intelligence historyyy
PianoPianist
 
QA/QC Manager (Quality management Expert)
QA/QC Manager (Quality management Expert)QA/QC Manager (Quality management Expert)
QA/QC Manager (Quality management Expert)
rccbatchplant
 
Introduction to Zoomlion Earthmoving.pptx
Introduction to Zoomlion Earthmoving.pptxIntroduction to Zoomlion Earthmoving.pptx
Introduction to Zoomlion Earthmoving.pptx
AS1920
 
Reagent dosing (Bredel) presentation.pptx
Reagent dosing (Bredel) presentation.pptxReagent dosing (Bredel) presentation.pptx
Reagent dosing (Bredel) presentation.pptx
AlejandroOdio
 
DT REPORT by Tech titan GROUP to introduce the subject design Thinking
DT REPORT by Tech titan GROUP to introduce the subject design ThinkingDT REPORT by Tech titan GROUP to introduce the subject design Thinking
DT REPORT by Tech titan GROUP to introduce the subject design Thinking
DhruvChotaliya2
 
Compiler Design Unit1 PPT Phases of Compiler.pptx
Compiler Design Unit1 PPT Phases of Compiler.pptxCompiler Design Unit1 PPT Phases of Compiler.pptx
Compiler Design Unit1 PPT Phases of Compiler.pptx
RushaliDeshmukh2
 
π0.5: a Vision-Language-Action Model with Open-World Generalization
π0.5: a Vision-Language-Action Model with Open-World Generalizationπ0.5: a Vision-Language-Action Model with Open-World Generalization
π0.5: a Vision-Language-Action Model with Open-World Generalization
NABLAS株式会社
 
some basics electrical and electronics knowledge
some basics electrical and electronics knowledgesome basics electrical and electronics knowledge
some basics electrical and electronics knowledge
nguyentrungdo88
 
Data Structures_Searching and Sorting.pptx
Data Structures_Searching and Sorting.pptxData Structures_Searching and Sorting.pptx
Data Structures_Searching and Sorting.pptx
RushaliDeshmukh2
 
Oil-gas_Unconventional oil and gass_reseviours.pdf
Oil-gas_Unconventional oil and gass_reseviours.pdfOil-gas_Unconventional oil and gass_reseviours.pdf
Oil-gas_Unconventional oil and gass_reseviours.pdf
M7md3li2
 
IntroSlides-April-BuildWithAI-VertexAI.pdf
IntroSlides-April-BuildWithAI-VertexAI.pdfIntroSlides-April-BuildWithAI-VertexAI.pdf
IntroSlides-April-BuildWithAI-VertexAI.pdf
Luiz Carneiro
 
theory-slides-for react for beginners.pptx
theory-slides-for react for beginners.pptxtheory-slides-for react for beginners.pptx
theory-slides-for react for beginners.pptx
sanchezvanessa7896
 
"Boiler Feed Pump (BFP): Working, Applications, Advantages, and Limitations E...
"Boiler Feed Pump (BFP): Working, Applications, Advantages, and Limitations E..."Boiler Feed Pump (BFP): Working, Applications, Advantages, and Limitations E...
"Boiler Feed Pump (BFP): Working, Applications, Advantages, and Limitations E...
Infopitaara
 
Smart_Storage_Systems_Production_Engineering.pptx
Smart_Storage_Systems_Production_Engineering.pptxSmart_Storage_Systems_Production_Engineering.pptx
Smart_Storage_Systems_Production_Engineering.pptx
rushikeshnavghare94
 
fluke dealers in bangalore..............
fluke dealers in bangalore..............fluke dealers in bangalore..............
fluke dealers in bangalore..............
Haresh Vaswani
 
Metal alkyne complexes.pptx in chemistry
Metal alkyne complexes.pptx in chemistryMetal alkyne complexes.pptx in chemistry
Metal alkyne complexes.pptx in chemistry
mee23nu
 
Smart Storage Solutions.pptx for production engineering
Smart Storage Solutions.pptx for production engineeringSmart Storage Solutions.pptx for production engineering
Smart Storage Solutions.pptx for production engineering
rushikeshnavghare94
 

Relational Model

  • 1. 1. Relational Model The relational model uses a collection of tables to represent both data and relationships among those data. Each table has multiple columns and each column has a unique name. Characteristics 1. The primary data model for commercial data-processing applications. 2. It provides very simple but powerful way of representing data that eases the job of the programmer. 3. This is a record-based model. The database is structured in fixed-format records of several types. Each table contains records of a particular type. Each record type defines a fixed no. of fields, or attributes. The columns of the table correspond to the attributes of the record type. 4. The relational model is at a lower level than the E-R model. Database designs are often carried out in the E-R model and then translated to the relational model. 2. Structure of Relational Databases 2.1 Basic Structure Relation and tuple: In relational model these are synonymous to table and row. Attribute: In relational model we refer column headers as attributes. Domain: a domain is a set of acceptable values that a column is allowed to contain. This is based on various properties and the data type for the column. For the attribute branch_name, the domain is the set of all branch names. Atomic domain: A domain is atomic if elements of the domain are considered to be indivisible parts. For example: The domain of Marital Status has a set of possibilities: Married, Single, Divorced. Null value: One domain value that is a member of any possible domain is the null value, which signifies that the value is unknown or does not exist. Example: telephone_no.  Null values cause a number of difficulties while accessing or updating the database, thus should be eliminated if at all possible. Tuple variable: A tuple variable is variable that takes on tuples of a particular relation schema as values. That is, every value assigned to a given tuple variable has the same number and type of fields. Figure 1. The account relation
  • 2. In the account relation of Figure 1, there are seven tuples. Let the tuple variable t refer to the first tuple of the relation.We use the notation t[account-number] to denote the value of t on the account-number attribute. Thus, t[account-number] = “A-101,” and t[branch-name] = “Downtown”. Alternatively, we may write t[1] to denote the value of tuple t on the first attribute (account-number), t[2] to denote branch-name, and so on. Since a relation is a set of tuples, we use the mathematical notation of t ∈ r to denote that tuple t is in relation r. 2.2 Database Schema Database schema: Logical design of the database. Database instance: A snapshot of the data in the database at a given instant in time. Relation schema:  The concept of relation schema corresponds to the programming-language notion of type definition.  There should be a name of a relation schema. The convention is to use names beginning with an uppercase letter.  In general, a relation schema consists of a list of attributes and their corresponding domains. Branch_schema = (branch_name, branch_city, assets) Customer_schema = (customer_id, customer_name, customer_street, customer_city) Loan_schema = (loan_no., branch_name, amount) Relation instance:  The concept of relation instance corresponds to the programming-language notion of a value of a variable. In other words, A relation instance is a tuple or row in a relation, i.e. one particular combination of attribute values. Let there be a relation Student. The schema of the relation Student has the following attributes: {ID,first_name,last_name} Now each of the attributes have their own domain i.e. a range of values they can take up. Student ID f_name l_name 1 Bob Dylan 2 Adam Levine 3 Chris Martin (1, Bob, Dylan) is a relation instance. Table 1. Terms and their synonyms by A. Watt.
  • 3. A. S. M. Shafi Lecturer Department of Computer Science and Engineering Khwaja Yunus Ali University Enaytpur, Sirajgonj-6751, Bangladesh