SlideShare a Scribd company logo
1 of 12
Submitted By: Group-3
• Ganesh Pattnayak (13/IT/19)
• Himanshu (13/IT/20)
• Jyotish Kumar Thakur (13/IT/21)
• Krishna Kumar Pankaj (13/IT/22)
• Kritika Raj (13/IT/23)
• Kumar Gaurav (13/IT/24)
• Madhvendra Kumar (13/IT/25)
• Md Absaar Aamir (13/IT/26)
• Md Muktasid Alam (13/IT/27)
Case Study Analysis
Entity
Attribute
-> Simple & Composite
-> Single & Multi-valued
Super key, Candidate key, Primary key
Composite key
Cardinality
-> One to one, One to many, Many to many
Partial Participation &Total Participation
A Company has several business units.
Each business unit has multiple projects.
Employees must be assigned to one business
unit.
One or more employees are assigned to a
project, but an employee may be on vacation
and not assigned to any projects.
One of the assigned employees will be
project manager for that project.
Company
Project
Business Unit
Employee
Comp
-BU
works
for
c-id
add1 add2 add3
b-name
b-loc
b-id
add2
add1
dob
c-name
emp-no
e-name
e-type p-id p-name
p-durphone email
no of hrs
worked
c-id c-name add1 add2 add3
Company
b-id b-name b-loc c-id
Business Unit
p-id p-name p-dur b-id
Project
emp-no e-name dob add1 add2 e-type b-id
Employee
R1
R2
R3
R4
emp-no phone
Emp-phn
emp-no email
Emp-email
R6R5
emp-no p-id no of hours worked
Emp-proj
R7
Attributes must be atomic in nature.
No multi-valued attribute must be present.
->
It is in 1NF
Non Prime attributes fully functionally
dependent on Primary Key
It is in 2NF No non prime
attribute is dependent
on another non-prime
attribute
In our Schema,
 R1 has no dependencies b/w npa(c-name,add1,add2,add3)
 R2 has no dependencies b/w npa(b-name,b_loc)
 R3 has no dependencies b/w npa(p-name,p-dur)
 R1 has no dependencies b/w npa(e-name,dob,add1,add2,e-type)
• B is a subset of A (trivial dependency)
• A must be the super key
For all functional dependencies such as A -> B
Atleast one of the following conditions must hold:
• In our Schema we have already verified 2NF
for R1 to R4,which shows that dependencies
are preserved
All the functional dependencies must be preserved
in our relational schema(R1 to R4)
R1 and R2 are said to be lossless join ,if one
of the following conditions hold:
• R1 intersection R2->R1
• R1 intersection R2-> R2
In our Schema,
R1 and R2 are in lossless join(c-id -> R1)
R2 and R3 are in lossless join(b-id -> R2)
R2 and R4 are in lossless join(b-id -> R2)
Thank you!!

More Related Content

Viewers also liked (9)

Multi Cuisine Vegetarian Menu
Multi Cuisine Vegetarian MenuMulti Cuisine Vegetarian Menu
Multi Cuisine Vegetarian Menu
 
Multi Cuisine Non-Vegetarian Menu
Multi Cuisine Non-Vegetarian MenuMulti Cuisine Non-Vegetarian Menu
Multi Cuisine Non-Vegetarian Menu
 
Shack Dinner Menu
Shack Dinner MenuShack Dinner Menu
Shack Dinner Menu
 
Corporate Buffet menu
Corporate Buffet menuCorporate Buffet menu
Corporate Buffet menu
 
Menu icon 2014 new
Menu icon 2014 newMenu icon 2014 new
Menu icon 2014 new
 
Raviraj - Restaurant Menu Card 2009 - 2010
Raviraj - Restaurant Menu Card 2009 - 2010Raviraj - Restaurant Menu Card 2009 - 2010
Raviraj - Restaurant Menu Card 2009 - 2010
 
Exotic Veg Menu
Exotic Veg MenuExotic Veg Menu
Exotic Veg Menu
 
Dinner Menus
Dinner MenusDinner Menus
Dinner Menus
 
Exotic Non-Veg. Menu
Exotic Non-Veg. MenuExotic Non-Veg. Menu
Exotic Non-Veg. Menu
 

Similar to Case study3

intro to differnt oper.pptx
intro to differnt oper.pptxintro to differnt oper.pptx
intro to differnt oper.pptxssuser5ad1571
 
C sharp part 001
C sharp part 001C sharp part 001
C sharp part 001Ralph Weber
 
Object Oriented Programming Short Notes for Preperation of Exams
Object Oriented Programming Short Notes for Preperation of ExamsObject Oriented Programming Short Notes for Preperation of Exams
Object Oriented Programming Short Notes for Preperation of ExamsMuhammadTalha436
 
Object Oriented Technologies
Object Oriented TechnologiesObject Oriented Technologies
Object Oriented TechnologiesUmesh Nikam
 
Database normalization
Database normalizationDatabase normalization
Database normalizationVARSHAKUMARI49
 
Operators-computer programming and utilzation
Operators-computer programming and utilzationOperators-computer programming and utilzation
Operators-computer programming and utilzationKaushal Patel
 
Relational Database and Relational Algebra
Relational Database and Relational AlgebraRelational Database and Relational Algebra
Relational Database and Relational AlgebraPyingkodi Maran
 
Variables, Data Types, Operator & Expression in c in detail
Variables, Data Types, Operator & Expression in c in detailVariables, Data Types, Operator & Expression in c in detail
Variables, Data Types, Operator & Expression in c in detailgourav kottawar
 
C++ overloading
C++ overloadingC++ overloading
C++ overloadingsanya6900
 
B.sc CSIT 2nd semester C++ Unit2
B.sc CSIT  2nd semester C++ Unit2B.sc CSIT  2nd semester C++ Unit2
B.sc CSIT 2nd semester C++ Unit2Tekendra Nath Yogi
 
Cs1123 4 variables_constants
Cs1123 4 variables_constantsCs1123 4 variables_constants
Cs1123 4 variables_constantsTAlha MAlik
 

Similar to Case study3 (20)

intro to differnt oper.pptx
intro to differnt oper.pptxintro to differnt oper.pptx
intro to differnt oper.pptx
 
C++ chapter 2
C++ chapter 2C++ chapter 2
C++ chapter 2
 
C sharp part 001
C sharp part 001C sharp part 001
C sharp part 001
 
6 normalization
6 normalization6 normalization
6 normalization
 
Object Oriented Programming Short Notes for Preperation of Exams
Object Oriented Programming Short Notes for Preperation of ExamsObject Oriented Programming Short Notes for Preperation of Exams
Object Oriented Programming Short Notes for Preperation of Exams
 
Coper in C
Coper in CCoper in C
Coper in C
 
C Introduction
C IntroductionC Introduction
C Introduction
 
Object Oriented Technologies
Object Oriented TechnologiesObject Oriented Technologies
Object Oriented Technologies
 
C Intro.ppt
C Intro.pptC Intro.ppt
C Intro.ppt
 
intro to c
intro to cintro to c
intro to c
 
Database normalization
Database normalizationDatabase normalization
Database normalization
 
DBMS CS3
DBMS CS3DBMS CS3
DBMS CS3
 
C++_overloading.ppt
C++_overloading.pptC++_overloading.ppt
C++_overloading.ppt
 
Operators-computer programming and utilzation
Operators-computer programming and utilzationOperators-computer programming and utilzation
Operators-computer programming and utilzation
 
Relational Database and Relational Algebra
Relational Database and Relational AlgebraRelational Database and Relational Algebra
Relational Database and Relational Algebra
 
Variables, Data Types, Operator & Expression in c in detail
Variables, Data Types, Operator & Expression in c in detailVariables, Data Types, Operator & Expression in c in detail
Variables, Data Types, Operator & Expression in c in detail
 
C++ overloading
C++ overloadingC++ overloading
C++ overloading
 
Chapter 7: Arithmetic and Relational Operators
Chapter 7:  Arithmetic and Relational Operators Chapter 7:  Arithmetic and Relational Operators
Chapter 7: Arithmetic and Relational Operators
 
B.sc CSIT 2nd semester C++ Unit2
B.sc CSIT  2nd semester C++ Unit2B.sc CSIT  2nd semester C++ Unit2
B.sc CSIT 2nd semester C++ Unit2
 
Cs1123 4 variables_constants
Cs1123 4 variables_constantsCs1123 4 variables_constants
Cs1123 4 variables_constants
 

Recently uploaded

Research Methodolgy & Intellectual Property Rights Series 1
Research Methodolgy & Intellectual Property Rights Series 1Research Methodolgy & Intellectual Property Rights Series 1
Research Methodolgy & Intellectual Property Rights Series 1T.D. Shashikala
 
CLOUD COMPUTING SERVICES - Cloud Reference Modal
CLOUD COMPUTING SERVICES - Cloud Reference ModalCLOUD COMPUTING SERVICES - Cloud Reference Modal
CLOUD COMPUTING SERVICES - Cloud Reference ModalSwarnaSLcse
 
analog-vs-digital-communication (concept of analog and digital).pptx
analog-vs-digital-communication (concept of analog and digital).pptxanalog-vs-digital-communication (concept of analog and digital).pptx
analog-vs-digital-communication (concept of analog and digital).pptxKarpagam Institute of Teechnology
 
Developing a smart system for infant incubators using the internet of things ...
Developing a smart system for infant incubators using the internet of things ...Developing a smart system for infant incubators using the internet of things ...
Developing a smart system for infant incubators using the internet of things ...IJECEIAES
 
21P35A0312 Internship eccccccReport.docx
21P35A0312 Internship eccccccReport.docx21P35A0312 Internship eccccccReport.docx
21P35A0312 Internship eccccccReport.docxrahulmanepalli02
 
Involute of a circle,Square, pentagon,HexagonInvolute_Engineering Drawing.pdf
Involute of a circle,Square, pentagon,HexagonInvolute_Engineering Drawing.pdfInvolute of a circle,Square, pentagon,HexagonInvolute_Engineering Drawing.pdf
Involute of a circle,Square, pentagon,HexagonInvolute_Engineering Drawing.pdfJNTUA
 
engineering chemistry power point presentation
engineering chemistry  power point presentationengineering chemistry  power point presentation
engineering chemistry power point presentationsj9399037128
 
Seismic Hazard Assessment Software in Python by Prof. Dr. Costas Sachpazis
Seismic Hazard Assessment Software in Python by Prof. Dr. Costas SachpazisSeismic Hazard Assessment Software in Python by Prof. Dr. Costas Sachpazis
Seismic Hazard Assessment Software in Python by Prof. Dr. Costas SachpazisDr.Costas Sachpazis
 
Basics of Relay for Engineering Students
Basics of Relay for Engineering StudentsBasics of Relay for Engineering Students
Basics of Relay for Engineering Studentskannan348865
 
UNIT 4 PTRP final Convergence in probability.pptx
UNIT 4 PTRP final Convergence in probability.pptxUNIT 4 PTRP final Convergence in probability.pptx
UNIT 4 PTRP final Convergence in probability.pptxkalpana413121
 
Maximizing Incident Investigation Efficacy in Oil & Gas: Techniques and Tools
Maximizing Incident Investigation Efficacy in Oil & Gas: Techniques and ToolsMaximizing Incident Investigation Efficacy in Oil & Gas: Techniques and Tools
Maximizing Incident Investigation Efficacy in Oil & Gas: Techniques and Toolssoginsider
 
Fuzzy logic method-based stress detector with blood pressure and body tempera...
Fuzzy logic method-based stress detector with blood pressure and body tempera...Fuzzy logic method-based stress detector with blood pressure and body tempera...
Fuzzy logic method-based stress detector with blood pressure and body tempera...IJECEIAES
 
Raashid final report on Embedded Systems
Raashid final report on Embedded SystemsRaashid final report on Embedded Systems
Raashid final report on Embedded SystemsRaashidFaiyazSheikh
 
Dynamo Scripts for Task IDs and Space Naming.pptx
Dynamo Scripts for Task IDs and Space Naming.pptxDynamo Scripts for Task IDs and Space Naming.pptx
Dynamo Scripts for Task IDs and Space Naming.pptxMustafa Ahmed
 
Passive Air Cooling System and Solar Water Heater.ppt
Passive Air Cooling System and Solar Water Heater.pptPassive Air Cooling System and Solar Water Heater.ppt
Passive Air Cooling System and Solar Water Heater.pptamrabdallah9
 
5G and 6G refer to generations of mobile network technology, each representin...
5G and 6G refer to generations of mobile network technology, each representin...5G and 6G refer to generations of mobile network technology, each representin...
5G and 6G refer to generations of mobile network technology, each representin...archanaece3
 
Autodesk Construction Cloud (Autodesk Build).pptx
Autodesk Construction Cloud (Autodesk Build).pptxAutodesk Construction Cloud (Autodesk Build).pptx
Autodesk Construction Cloud (Autodesk Build).pptxMustafa Ahmed
 
NO1 Best Powerful Vashikaran Specialist Baba Vashikaran Specialist For Love V...
NO1 Best Powerful Vashikaran Specialist Baba Vashikaran Specialist For Love V...NO1 Best Powerful Vashikaran Specialist Baba Vashikaran Specialist For Love V...
NO1 Best Powerful Vashikaran Specialist Baba Vashikaran Specialist For Love V...Amil baba
 
Adsorption (mass transfer operations 2) ppt
Adsorption (mass transfer operations 2) pptAdsorption (mass transfer operations 2) ppt
Adsorption (mass transfer operations 2) pptjigup7320
 
Independent Solar-Powered Electric Vehicle Charging Station
Independent Solar-Powered Electric Vehicle Charging StationIndependent Solar-Powered Electric Vehicle Charging Station
Independent Solar-Powered Electric Vehicle Charging Stationsiddharthteach18
 

Recently uploaded (20)

Research Methodolgy & Intellectual Property Rights Series 1
Research Methodolgy & Intellectual Property Rights Series 1Research Methodolgy & Intellectual Property Rights Series 1
Research Methodolgy & Intellectual Property Rights Series 1
 
CLOUD COMPUTING SERVICES - Cloud Reference Modal
CLOUD COMPUTING SERVICES - Cloud Reference ModalCLOUD COMPUTING SERVICES - Cloud Reference Modal
CLOUD COMPUTING SERVICES - Cloud Reference Modal
 
analog-vs-digital-communication (concept of analog and digital).pptx
analog-vs-digital-communication (concept of analog and digital).pptxanalog-vs-digital-communication (concept of analog and digital).pptx
analog-vs-digital-communication (concept of analog and digital).pptx
 
Developing a smart system for infant incubators using the internet of things ...
Developing a smart system for infant incubators using the internet of things ...Developing a smart system for infant incubators using the internet of things ...
Developing a smart system for infant incubators using the internet of things ...
 
21P35A0312 Internship eccccccReport.docx
21P35A0312 Internship eccccccReport.docx21P35A0312 Internship eccccccReport.docx
21P35A0312 Internship eccccccReport.docx
 
Involute of a circle,Square, pentagon,HexagonInvolute_Engineering Drawing.pdf
Involute of a circle,Square, pentagon,HexagonInvolute_Engineering Drawing.pdfInvolute of a circle,Square, pentagon,HexagonInvolute_Engineering Drawing.pdf
Involute of a circle,Square, pentagon,HexagonInvolute_Engineering Drawing.pdf
 
engineering chemistry power point presentation
engineering chemistry  power point presentationengineering chemistry  power point presentation
engineering chemistry power point presentation
 
Seismic Hazard Assessment Software in Python by Prof. Dr. Costas Sachpazis
Seismic Hazard Assessment Software in Python by Prof. Dr. Costas SachpazisSeismic Hazard Assessment Software in Python by Prof. Dr. Costas Sachpazis
Seismic Hazard Assessment Software in Python by Prof. Dr. Costas Sachpazis
 
Basics of Relay for Engineering Students
Basics of Relay for Engineering StudentsBasics of Relay for Engineering Students
Basics of Relay for Engineering Students
 
UNIT 4 PTRP final Convergence in probability.pptx
UNIT 4 PTRP final Convergence in probability.pptxUNIT 4 PTRP final Convergence in probability.pptx
UNIT 4 PTRP final Convergence in probability.pptx
 
Maximizing Incident Investigation Efficacy in Oil & Gas: Techniques and Tools
Maximizing Incident Investigation Efficacy in Oil & Gas: Techniques and ToolsMaximizing Incident Investigation Efficacy in Oil & Gas: Techniques and Tools
Maximizing Incident Investigation Efficacy in Oil & Gas: Techniques and Tools
 
Fuzzy logic method-based stress detector with blood pressure and body tempera...
Fuzzy logic method-based stress detector with blood pressure and body tempera...Fuzzy logic method-based stress detector with blood pressure and body tempera...
Fuzzy logic method-based stress detector with blood pressure and body tempera...
 
Raashid final report on Embedded Systems
Raashid final report on Embedded SystemsRaashid final report on Embedded Systems
Raashid final report on Embedded Systems
 
Dynamo Scripts for Task IDs and Space Naming.pptx
Dynamo Scripts for Task IDs and Space Naming.pptxDynamo Scripts for Task IDs and Space Naming.pptx
Dynamo Scripts for Task IDs and Space Naming.pptx
 
Passive Air Cooling System and Solar Water Heater.ppt
Passive Air Cooling System and Solar Water Heater.pptPassive Air Cooling System and Solar Water Heater.ppt
Passive Air Cooling System and Solar Water Heater.ppt
 
5G and 6G refer to generations of mobile network technology, each representin...
5G and 6G refer to generations of mobile network technology, each representin...5G and 6G refer to generations of mobile network technology, each representin...
5G and 6G refer to generations of mobile network technology, each representin...
 
Autodesk Construction Cloud (Autodesk Build).pptx
Autodesk Construction Cloud (Autodesk Build).pptxAutodesk Construction Cloud (Autodesk Build).pptx
Autodesk Construction Cloud (Autodesk Build).pptx
 
NO1 Best Powerful Vashikaran Specialist Baba Vashikaran Specialist For Love V...
NO1 Best Powerful Vashikaran Specialist Baba Vashikaran Specialist For Love V...NO1 Best Powerful Vashikaran Specialist Baba Vashikaran Specialist For Love V...
NO1 Best Powerful Vashikaran Specialist Baba Vashikaran Specialist For Love V...
 
Adsorption (mass transfer operations 2) ppt
Adsorption (mass transfer operations 2) pptAdsorption (mass transfer operations 2) ppt
Adsorption (mass transfer operations 2) ppt
 
Independent Solar-Powered Electric Vehicle Charging Station
Independent Solar-Powered Electric Vehicle Charging StationIndependent Solar-Powered Electric Vehicle Charging Station
Independent Solar-Powered Electric Vehicle Charging Station
 

Case study3

  • 1. Submitted By: Group-3 • Ganesh Pattnayak (13/IT/19) • Himanshu (13/IT/20) • Jyotish Kumar Thakur (13/IT/21) • Krishna Kumar Pankaj (13/IT/22) • Kritika Raj (13/IT/23) • Kumar Gaurav (13/IT/24) • Madhvendra Kumar (13/IT/25) • Md Absaar Aamir (13/IT/26) • Md Muktasid Alam (13/IT/27) Case Study Analysis
  • 2. Entity Attribute -> Simple & Composite -> Single & Multi-valued Super key, Candidate key, Primary key Composite key Cardinality -> One to one, One to many, Many to many Partial Participation &Total Participation
  • 3. A Company has several business units. Each business unit has multiple projects. Employees must be assigned to one business unit. One or more employees are assigned to a project, but an employee may be on vacation and not assigned to any projects. One of the assigned employees will be project manager for that project.
  • 4. Company Project Business Unit Employee Comp -BU works for c-id add1 add2 add3 b-name b-loc b-id add2 add1 dob c-name emp-no e-name e-type p-id p-name p-durphone email no of hrs worked
  • 5. c-id c-name add1 add2 add3 Company b-id b-name b-loc c-id Business Unit p-id p-name p-dur b-id Project emp-no e-name dob add1 add2 e-type b-id Employee R1 R2 R3 R4
  • 6. emp-no phone Emp-phn emp-no email Emp-email R6R5 emp-no p-id no of hours worked Emp-proj R7
  • 7. Attributes must be atomic in nature. No multi-valued attribute must be present. -> It is in 1NF Non Prime attributes fully functionally dependent on Primary Key
  • 8. It is in 2NF No non prime attribute is dependent on another non-prime attribute In our Schema,  R1 has no dependencies b/w npa(c-name,add1,add2,add3)  R2 has no dependencies b/w npa(b-name,b_loc)  R3 has no dependencies b/w npa(p-name,p-dur)  R1 has no dependencies b/w npa(e-name,dob,add1,add2,e-type)
  • 9. • B is a subset of A (trivial dependency) • A must be the super key For all functional dependencies such as A -> B Atleast one of the following conditions must hold:
  • 10. • In our Schema we have already verified 2NF for R1 to R4,which shows that dependencies are preserved All the functional dependencies must be preserved in our relational schema(R1 to R4)
  • 11. R1 and R2 are said to be lossless join ,if one of the following conditions hold: • R1 intersection R2->R1 • R1 intersection R2-> R2 In our Schema, R1 and R2 are in lossless join(c-id -> R1) R2 and R3 are in lossless join(b-id -> R2) R2 and R4 are in lossless join(b-id -> R2)