SlideShare a Scribd company logo
Welcome to our
Presentation
Presentation Topic: Relational Schema
Group Members
 Rifat Rahman ID: 162-15-1049
 Hasan Haider ID: 162-15-1041
 Arifur Jaman ID: 153-15-607
 Shahedul Islam ID: 162-15-1029
 Mohammad Salim Hosen ID: 162-15-1044
Relational Model
 After designing the conceptual model of Database using ER
diagram, we need to convert the conceptual model in the relational
model which can be implemented using any RDMBS languages like
Oracle SQL, MySQL etc.
 Relational Model: Relational Model represents how data is stored
in Relational Databases.
 A relational database stores data in the form of relations (tables).
Relational Schema
 Relational Schema is a important terminology of Relational Model.
 Relation Schema: A relation schema represents name of the
relation with its attributes.
 e.g.; STUDENT (ROLL_NO, NAME, ADDRESS, PHONE and AGE) is
relation schema for STUDENT.
 If a schema has more than 1 relation, it is called Relational Schema.
ER Diagram to Relational Schema
Conversion
 The ER diagram represents the conceptual level of database
design meanwhile the relational schema is the logical level for
the database design.
 So to Convert ER diagram to Relational Schema We will be
following some simple rules.
Entities and Simple Attributes:
 An entity type within ER diagram is turned into a table. Each attribute
turns into a column (attribute) in the table. The key attribute of the
entity is the primary key of the table which is usually underlined.
 Persons( personid , name, lastname, email )
Multi-Valued Attributes
 A multi-valued attribute is usually represented with a double-line
oval. If you have a multi-valued attribute, take the attribute and turn
it into a new entity or table of its own. Add the primary (id) column
of the parent entity as a foreign key within the new table.
 Persons( personid , name, lastname, email )
Phones ( phoneid , personid, phone )
1:1 Relationships
 Persons( personid , name, lastname, email , wifeid )
 Wife ( wifeid , name )
1:N Relationships
 Persons( personid , name, lastname, email )
 House ( houseid , num , address, personid)
N:N Relationships
 Persons( personid , name, lastname, email )
 Countries ( countryid , name, code)
 HasRelat ( hasrelatid , personid , countryid)
Weak Entity
 Student(rollno,student_name)
 Dependent(rollno,dependent_name)
Specilization or Generalization
 Create tables for all higher-
level entities.
 Create tables for lower-level
entities.
 Add primary keys of higher-
level entities in the table of
lower-level entities.
 In lower-level tables, add all
other attributes of lower-level
entities.
 Person(person_id, name, age, gender)
 Student(person_id, rollno, student_name)
 Teacher(person_id, EmpId, teacher_name)
THANK YOU

More Related Content

What's hot

Databases: Normalisation
Databases: NormalisationDatabases: Normalisation
Databases: Normalisation
Damian T. Gordon
 
Introduction & history of dbms
Introduction & history of dbmsIntroduction & history of dbms
Introduction & history of dbms
sethu pm
 
serializability in dbms
serializability in dbmsserializability in dbms
serializability in dbms
Saranya Natarajan
 
Relational model
Relational modelRelational model
Relational model
Dabbal Singh Mahara
 
Data models
Data modelsData models
Data models
Usman Tariq
 
7. Relational Database Design in DBMS
7. Relational Database Design in DBMS7. Relational Database Design in DBMS
7. Relational Database Design in DBMS
koolkampus
 
ER Model in DBMS
ER Model in DBMSER Model in DBMS
ER Model in DBMS
Kabindra Koirala
 
Dbms relational model
Dbms relational modelDbms relational model
Dbms relational model
Chirag vasava
 
Relational algebra in dbms
Relational algebra in dbmsRelational algebra in dbms
Relational algebra in dbms
Vignesh Saravanan
 
Introduction: Databases and Database Users
Introduction: Databases and Database UsersIntroduction: Databases and Database Users
Introduction: Databases and Database Users
sontumax
 
Normalization in DBMS
Normalization in DBMSNormalization in DBMS
Normalization in DBMS
Prateek Parimal
 
Entity Relationship Diagram
Entity Relationship DiagramEntity Relationship Diagram
Entity Relationship Diagram
Shakila Mahjabin
 
Rdbms
RdbmsRdbms
Data modeling using the entity relationship model
Data modeling using the entity relationship modelData modeling using the entity relationship model
Data modeling using the entity relationship model
Jafar Nesargi
 
Relational Algebra & Calculus
Relational Algebra & CalculusRelational Algebra & Calculus
Relational Algebra & Calculus
Abdullah Khosa
 
Entity relationship modelling
Entity relationship modellingEntity relationship modelling
Entity relationship modelling
Dr. C.V. Suresh Babu
 
Database Management System
Database Management SystemDatabase Management System
Database Management System
Nishant Munjal
 
Types of Database Models
Types of Database ModelsTypes of Database Models
Types of Database Models
Murassa Gillani
 
Ppt of dbms e r features
Ppt of dbms e r featuresPpt of dbms e r features
Ppt of dbms e r features
Nirali Akabari
 
DBMS: Types of keys
DBMS:  Types of keysDBMS:  Types of keys
DBMS: Types of keys
Bharati Ugale
 

What's hot (20)

Databases: Normalisation
Databases: NormalisationDatabases: Normalisation
Databases: Normalisation
 
Introduction & history of dbms
Introduction & history of dbmsIntroduction & history of dbms
Introduction & history of dbms
 
serializability in dbms
serializability in dbmsserializability in dbms
serializability in dbms
 
Relational model
Relational modelRelational model
Relational model
 
Data models
Data modelsData models
Data models
 
7. Relational Database Design in DBMS
7. Relational Database Design in DBMS7. Relational Database Design in DBMS
7. Relational Database Design in DBMS
 
ER Model in DBMS
ER Model in DBMSER Model in DBMS
ER Model in DBMS
 
Dbms relational model
Dbms relational modelDbms relational model
Dbms relational model
 
Relational algebra in dbms
Relational algebra in dbmsRelational algebra in dbms
Relational algebra in dbms
 
Introduction: Databases and Database Users
Introduction: Databases and Database UsersIntroduction: Databases and Database Users
Introduction: Databases and Database Users
 
Normalization in DBMS
Normalization in DBMSNormalization in DBMS
Normalization in DBMS
 
Entity Relationship Diagram
Entity Relationship DiagramEntity Relationship Diagram
Entity Relationship Diagram
 
Rdbms
RdbmsRdbms
Rdbms
 
Data modeling using the entity relationship model
Data modeling using the entity relationship modelData modeling using the entity relationship model
Data modeling using the entity relationship model
 
Relational Algebra & Calculus
Relational Algebra & CalculusRelational Algebra & Calculus
Relational Algebra & Calculus
 
Entity relationship modelling
Entity relationship modellingEntity relationship modelling
Entity relationship modelling
 
Database Management System
Database Management SystemDatabase Management System
Database Management System
 
Types of Database Models
Types of Database ModelsTypes of Database Models
Types of Database Models
 
Ppt of dbms e r features
Ppt of dbms e r featuresPpt of dbms e r features
Ppt of dbms e r features
 
DBMS: Types of keys
DBMS:  Types of keysDBMS:  Types of keys
DBMS: Types of keys
 

Similar to Presentation on Relational Schema (Database)

The Relational Data Model and Relational Database Constraints Ch5 (Navathe 4t...
The Relational Data Model and Relational Database Constraints Ch5 (Navathe 4t...The Relational Data Model and Relational Database Constraints Ch5 (Navathe 4t...
The Relational Data Model and Relational Database Constraints Ch5 (Navathe 4t...
Raj vardhan
 
Schema relationship to E-R diagram
Schema relationship to E-R diagramSchema relationship to E-R diagram
Schema relationship to E-R diagram
Badrul Alam
 
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
 
ERD.pptx
ERD.pptxERD.pptx
ERD.pptx
sarahabbas40
 
Reasoning of database consistency through description logics
Reasoning of database consistency through description logicsReasoning of database consistency through description logics
Reasoning of database consistency through description logics
Ahmad karawash
 
relational model.pptx
relational model.pptxrelational model.pptx
relational model.pptx
ThangamaniR3
 
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
 
4-therelationaldatamodelandrelationaldatabaseconstraints-140128022150-phpapp0...
4-therelationaldatamodelandrelationaldatabaseconstraints-140128022150-phpapp0...4-therelationaldatamodelandrelationaldatabaseconstraints-140128022150-phpapp0...
4-therelationaldatamodelandrelationaldatabaseconstraints-140128022150-phpapp0...
ThangamaniR3
 
Unit 2 DBMS
Unit 2 DBMSUnit 2 DBMS
Unit 2 DBMS
DhivyaSubramaniyam
 
RDBMS ERD
RDBMS ERDRDBMS ERD
RDBMS ERD
Sarmad Ali
 
PhillyR 18-19 Kickoff - Data Structure Intro
PhillyR 18-19 Kickoff - Data Structure IntroPhillyR 18-19 Kickoff - Data Structure Intro
PhillyR 18-19 Kickoff - Data Structure Intro
Leon Kim
 
Download different material from slide share
Download different material from slide shareDownload different material from slide share
Download different material from slide share
fanta teferi
 
Week 4 The Relational Data Model & The Entity Relationship Data Model
Week 4 The Relational Data Model & The Entity Relationship Data ModelWeek 4 The Relational Data Model & The Entity Relationship Data Model
Week 4 The Relational Data Model & The Entity Relationship Data Model
oudesign
 
Relational Model
Relational ModelRelational Model
Relational Model
A. S. M. Shafi
 
Relational database
Relational databaseRelational database
Relational database
Ducat
 
ENCh05.ppt
ENCh05.pptENCh05.ppt
ENCh05.ppt
Bestnegi
 
Ch3.pdf
Ch3.pdfCh3.pdf
Ch3.pdf
MOHAMMAD51818
 
erdiagramspresentation-150826044953-lva1-app6891.pdf
erdiagramspresentation-150826044953-lva1-app6891.pdferdiagramspresentation-150826044953-lva1-app6891.pdf
erdiagramspresentation-150826044953-lva1-app6891.pdf
vinayakjadhav94
 
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
 
Data model
Data modelData model
Data model
Syed Zaid Irshad
 

Similar to Presentation on Relational Schema (Database) (20)

The Relational Data Model and Relational Database Constraints Ch5 (Navathe 4t...
The Relational Data Model and Relational Database Constraints Ch5 (Navathe 4t...The Relational Data Model and Relational Database Constraints Ch5 (Navathe 4t...
The Relational Data Model and Relational Database Constraints Ch5 (Navathe 4t...
 
Schema relationship to E-R diagram
Schema relationship to E-R diagramSchema relationship to E-R diagram
Schema relationship to E-R diagram
 
The relational data model part[1]
The relational data model part[1]The relational data model part[1]
The relational data model part[1]
 
ERD.pptx
ERD.pptxERD.pptx
ERD.pptx
 
Reasoning of database consistency through description logics
Reasoning of database consistency through description logicsReasoning of database consistency through description logics
Reasoning of database consistency through description logics
 
relational model.pptx
relational model.pptxrelational model.pptx
relational model.pptx
 
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
 
4-therelationaldatamodelandrelationaldatabaseconstraints-140128022150-phpapp0...
4-therelationaldatamodelandrelationaldatabaseconstraints-140128022150-phpapp0...4-therelationaldatamodelandrelationaldatabaseconstraints-140128022150-phpapp0...
4-therelationaldatamodelandrelationaldatabaseconstraints-140128022150-phpapp0...
 
Unit 2 DBMS
Unit 2 DBMSUnit 2 DBMS
Unit 2 DBMS
 
RDBMS ERD
RDBMS ERDRDBMS ERD
RDBMS ERD
 
PhillyR 18-19 Kickoff - Data Structure Intro
PhillyR 18-19 Kickoff - Data Structure IntroPhillyR 18-19 Kickoff - Data Structure Intro
PhillyR 18-19 Kickoff - Data Structure Intro
 
Download different material from slide share
Download different material from slide shareDownload different material from slide share
Download different material from slide share
 
Week 4 The Relational Data Model & The Entity Relationship Data Model
Week 4 The Relational Data Model & The Entity Relationship Data ModelWeek 4 The Relational Data Model & The Entity Relationship Data Model
Week 4 The Relational Data Model & The Entity Relationship Data Model
 
Relational Model
Relational ModelRelational Model
Relational Model
 
Relational database
Relational databaseRelational database
Relational database
 
ENCh05.ppt
ENCh05.pptENCh05.ppt
ENCh05.ppt
 
Ch3.pdf
Ch3.pdfCh3.pdf
Ch3.pdf
 
erdiagramspresentation-150826044953-lva1-app6891.pdf
erdiagramspresentation-150826044953-lva1-app6891.pdferdiagramspresentation-150826044953-lva1-app6891.pdf
erdiagramspresentation-150826044953-lva1-app6891.pdf
 
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...
 
Data model
Data modelData model
Data model
 

More from Salim Hosen

Restaurant management system
Restaurant management systemRestaurant management system
Restaurant management system
Salim Hosen
 
Presentation on computer ram
Presentation on computer ramPresentation on computer ram
Presentation on computer ram
Salim Hosen
 
Presentation on Bio Informatics
Presentation on Bio InformaticsPresentation on Bio Informatics
Presentation on Bio Informatics
Salim Hosen
 
Presentation on iot restaurant project
Presentation on iot restaurant projectPresentation on iot restaurant project
Presentation on iot restaurant project
Salim Hosen
 
Famous Quotes of Famous People
Famous Quotes of Famous PeopleFamous Quotes of Famous People
Famous Quotes of Famous People
Salim Hosen
 
Presentation on IOT (Internet Of Things)
Presentation on IOT (Internet Of Things)Presentation on IOT (Internet Of Things)
Presentation on IOT (Internet Of Things)
Salim Hosen
 
Presentation on Graph
Presentation on GraphPresentation on Graph
Presentation on Graph
Salim Hosen
 
Presentation on Variance
Presentation on VariancePresentation on Variance
Presentation on Variance
Salim Hosen
 
Presentation on Digital Image Processing
Presentation on Digital Image ProcessingPresentation on Digital Image Processing
Presentation on Digital Image Processing
Salim Hosen
 
Intellectual Property Presentation
Intellectual Property PresentationIntellectual Property Presentation
Intellectual Property Presentation
Salim Hosen
 
Android Studio Overview
Android Studio OverviewAndroid Studio Overview
Android Studio Overview
Salim Hosen
 
Presentation on Greedy Algorithm
Presentation on Greedy AlgorithmPresentation on Greedy Algorithm
Presentation on Greedy Algorithm
Salim Hosen
 
Presentation Data Link Layer and Network Layer
Presentation Data Link Layer and Network LayerPresentation Data Link Layer and Network Layer
Presentation Data Link Layer and Network Layer
Salim Hosen
 
Presentation on RAM
Presentation on RAMPresentation on RAM
Presentation on RAM
Salim Hosen
 
Presentation on BJT
Presentation on BJTPresentation on BJT
Presentation on BJT
Salim Hosen
 
Application of Differential Equation
Application of Differential EquationApplication of Differential Equation
Application of Differential Equation
Salim Hosen
 
Intellectual property
Intellectual propertyIntellectual property
Intellectual property
Salim Hosen
 

More from Salim Hosen (17)

Restaurant management system
Restaurant management systemRestaurant management system
Restaurant management system
 
Presentation on computer ram
Presentation on computer ramPresentation on computer ram
Presentation on computer ram
 
Presentation on Bio Informatics
Presentation on Bio InformaticsPresentation on Bio Informatics
Presentation on Bio Informatics
 
Presentation on iot restaurant project
Presentation on iot restaurant projectPresentation on iot restaurant project
Presentation on iot restaurant project
 
Famous Quotes of Famous People
Famous Quotes of Famous PeopleFamous Quotes of Famous People
Famous Quotes of Famous People
 
Presentation on IOT (Internet Of Things)
Presentation on IOT (Internet Of Things)Presentation on IOT (Internet Of Things)
Presentation on IOT (Internet Of Things)
 
Presentation on Graph
Presentation on GraphPresentation on Graph
Presentation on Graph
 
Presentation on Variance
Presentation on VariancePresentation on Variance
Presentation on Variance
 
Presentation on Digital Image Processing
Presentation on Digital Image ProcessingPresentation on Digital Image Processing
Presentation on Digital Image Processing
 
Intellectual Property Presentation
Intellectual Property PresentationIntellectual Property Presentation
Intellectual Property Presentation
 
Android Studio Overview
Android Studio OverviewAndroid Studio Overview
Android Studio Overview
 
Presentation on Greedy Algorithm
Presentation on Greedy AlgorithmPresentation on Greedy Algorithm
Presentation on Greedy Algorithm
 
Presentation Data Link Layer and Network Layer
Presentation Data Link Layer and Network LayerPresentation Data Link Layer and Network Layer
Presentation Data Link Layer and Network Layer
 
Presentation on RAM
Presentation on RAMPresentation on RAM
Presentation on RAM
 
Presentation on BJT
Presentation on BJTPresentation on BJT
Presentation on BJT
 
Application of Differential Equation
Application of Differential EquationApplication of Differential Equation
Application of Differential Equation
 
Intellectual property
Intellectual propertyIntellectual property
Intellectual property
 

Recently uploaded

Artificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopmentArtificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopment
Octavian Nadolu
 
Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024
Jason Packer
 
Things to Consider When Choosing a Website Developer for your Website | FODUU
Things to Consider When Choosing a Website Developer for your Website | FODUUThings to Consider When Choosing a Website Developer for your Website | FODUU
Things to Consider When Choosing a Website Developer for your Website | FODUU
FODUU
 
AI-Powered Food Delivery Transforming App Development in Saudi Arabia.pdf
AI-Powered Food Delivery Transforming App Development in Saudi Arabia.pdfAI-Powered Food Delivery Transforming App Development in Saudi Arabia.pdf
AI-Powered Food Delivery Transforming App Development in Saudi Arabia.pdf
Techgropse Pvt.Ltd.
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
Safe Software
 
AI 101: An Introduction to the Basics and Impact of Artificial Intelligence
AI 101: An Introduction to the Basics and Impact of Artificial IntelligenceAI 101: An Introduction to the Basics and Impact of Artificial Intelligence
AI 101: An Introduction to the Basics and Impact of Artificial Intelligence
IndexBug
 
Choosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptxChoosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptx
Brandon Minnick, MBA
 
Mind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AIMind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AI
Kumud Singh
 
“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”
Claudio Di Ciccio
 
OpenID AuthZEN Interop Read Out - Authorization
OpenID AuthZEN Interop Read Out - AuthorizationOpenID AuthZEN Interop Read Out - Authorization
OpenID AuthZEN Interop Read Out - Authorization
David Brossard
 
Taking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdfTaking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdf
ssuserfac0301
 
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Speck&Tech
 
UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6
DianaGray10
 
Fueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte WebinarFueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte Webinar
Zilliz
 
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc
 
CAKE: Sharing Slices of Confidential Data on Blockchain
CAKE: Sharing Slices of Confidential Data on BlockchainCAKE: Sharing Slices of Confidential Data on Blockchain
CAKE: Sharing Slices of Confidential Data on Blockchain
Claudio Di Ciccio
 
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAUHCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
panagenda
 
Best 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERPBest 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERP
Pixlogix Infotech
 
How to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For FlutterHow to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For Flutter
Daiki Mogmet Ito
 
Ocean lotus Threat actors project by John Sitima 2024 (1).pptx
Ocean lotus Threat actors project by John Sitima 2024 (1).pptxOcean lotus Threat actors project by John Sitima 2024 (1).pptx
Ocean lotus Threat actors project by John Sitima 2024 (1).pptx
SitimaJohn
 

Recently uploaded (20)

Artificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopmentArtificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopment
 
Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024
 
Things to Consider When Choosing a Website Developer for your Website | FODUU
Things to Consider When Choosing a Website Developer for your Website | FODUUThings to Consider When Choosing a Website Developer for your Website | FODUU
Things to Consider When Choosing a Website Developer for your Website | FODUU
 
AI-Powered Food Delivery Transforming App Development in Saudi Arabia.pdf
AI-Powered Food Delivery Transforming App Development in Saudi Arabia.pdfAI-Powered Food Delivery Transforming App Development in Saudi Arabia.pdf
AI-Powered Food Delivery Transforming App Development in Saudi Arabia.pdf
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
 
AI 101: An Introduction to the Basics and Impact of Artificial Intelligence
AI 101: An Introduction to the Basics and Impact of Artificial IntelligenceAI 101: An Introduction to the Basics and Impact of Artificial Intelligence
AI 101: An Introduction to the Basics and Impact of Artificial Intelligence
 
Choosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptxChoosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptx
 
Mind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AIMind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AI
 
“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”
 
OpenID AuthZEN Interop Read Out - Authorization
OpenID AuthZEN Interop Read Out - AuthorizationOpenID AuthZEN Interop Read Out - Authorization
OpenID AuthZEN Interop Read Out - Authorization
 
Taking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdfTaking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdf
 
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
 
UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6
 
Fueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte WebinarFueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte Webinar
 
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy Survey
 
CAKE: Sharing Slices of Confidential Data on Blockchain
CAKE: Sharing Slices of Confidential Data on BlockchainCAKE: Sharing Slices of Confidential Data on Blockchain
CAKE: Sharing Slices of Confidential Data on Blockchain
 
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAUHCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
 
Best 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERPBest 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERP
 
How to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For FlutterHow to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For Flutter
 
Ocean lotus Threat actors project by John Sitima 2024 (1).pptx
Ocean lotus Threat actors project by John Sitima 2024 (1).pptxOcean lotus Threat actors project by John Sitima 2024 (1).pptx
Ocean lotus Threat actors project by John Sitima 2024 (1).pptx
 

Presentation on Relational Schema (Database)

  • 1. Welcome to our Presentation Presentation Topic: Relational Schema
  • 2. Group Members  Rifat Rahman ID: 162-15-1049  Hasan Haider ID: 162-15-1041  Arifur Jaman ID: 153-15-607  Shahedul Islam ID: 162-15-1029  Mohammad Salim Hosen ID: 162-15-1044
  • 3. Relational Model  After designing the conceptual model of Database using ER diagram, we need to convert the conceptual model in the relational model which can be implemented using any RDMBS languages like Oracle SQL, MySQL etc.  Relational Model: Relational Model represents how data is stored in Relational Databases.  A relational database stores data in the form of relations (tables).
  • 4. Relational Schema  Relational Schema is a important terminology of Relational Model.  Relation Schema: A relation schema represents name of the relation with its attributes.  e.g.; STUDENT (ROLL_NO, NAME, ADDRESS, PHONE and AGE) is relation schema for STUDENT.  If a schema has more than 1 relation, it is called Relational Schema.
  • 5. ER Diagram to Relational Schema Conversion  The ER diagram represents the conceptual level of database design meanwhile the relational schema is the logical level for the database design.  So to Convert ER diagram to Relational Schema We will be following some simple rules.
  • 6. Entities and Simple Attributes:  An entity type within ER diagram is turned into a table. Each attribute turns into a column (attribute) in the table. The key attribute of the entity is the primary key of the table which is usually underlined.  Persons( personid , name, lastname, email )
  • 7. Multi-Valued Attributes  A multi-valued attribute is usually represented with a double-line oval. If you have a multi-valued attribute, take the attribute and turn it into a new entity or table of its own. Add the primary (id) column of the parent entity as a foreign key within the new table.  Persons( personid , name, lastname, email ) Phones ( phoneid , personid, phone )
  • 8. 1:1 Relationships  Persons( personid , name, lastname, email , wifeid )  Wife ( wifeid , name )
  • 9. 1:N Relationships  Persons( personid , name, lastname, email )  House ( houseid , num , address, personid)
  • 10. N:N Relationships  Persons( personid , name, lastname, email )  Countries ( countryid , name, code)  HasRelat ( hasrelatid , personid , countryid)
  • 11. Weak Entity  Student(rollno,student_name)  Dependent(rollno,dependent_name)
  • 12. Specilization or Generalization  Create tables for all higher- level entities.  Create tables for lower-level entities.  Add primary keys of higher- level entities in the table of lower-level entities.  In lower-level tables, add all other attributes of lower-level entities.
  • 13.  Person(person_id, name, age, gender)  Student(person_id, rollno, student_name)  Teacher(person_id, EmpId, teacher_name)