SlideShare a Scribd company logo
1 of 48
PRESENTATION
OF
BANK DATABASE
MANAGEMENT
SYSTEM
INTRODUCTION
▪This is a Bank Management System Database Project
▪ The main aim of Bank Management Mini DBMS project is to
keep record of customer transactions in the bank.
▪We aim to demonstrate the use of create, read, update and
delete ORACLE operations through this project.
▪PROJECT DESCRIPTION
▪Firstly, employee registration is done in the concern bank branch.
▪Branch employee creates customer account in the bank, then customer can
credit amount, debit amount and check balance.
▪Customer can even use different services like insurance, loan, bill payments etc.
▪ Bank Management Mini DBMS Project contains 4 modules:
Account Holder: As the name suggests, a record of customer details.
Transaction: Transactions to be made by the customer (credit amount, debit etc).
Services: Additional services that customer may want like (insurance, loan etc.).
Branch/Employee : Manager/Employee details of the concern bank.
LIST OF ENTITIES AND ATTRIBUTES
ER DIAGRAM
RELATIONAL SCHEMA DIAGRAM
LIST OF RELATIONSHIPS
▪ Bank has Branches => 1 : N
One Bank can have many Branches but one Branch can not
belong to many Banks, so the relationship between Bank and
Branch is one to many relationship.
▪ Branch maintain Accounts => 1 : N
One Branch can have many Accounts but one Account can
not belong to many Branches, so the relationship between
Branch and Account is one to many relationship.
▪ Branch offer Loans => 1 : N
One Branch can have many Loans but one Loan can not
belong to many Branches, so the relationship between
Branch and Loan is one to many relationship.
▪ Account held by Customers => M : N
One Customer can have more than one Accounts and also One
Account can be held by one or more Customers, so the
relationship between Account and Customers is many to many
relationship.
▪ Loan availed by Customer => M : N
(Assume loan can be jointly held by many Customers).
One Customer can have more than one Loans and also One
Loan can be availed by one or more Customers, so the
relationship between Loan and Customers is many to many
relationship.
▪ Employee works in Branch=> M : 1
Many Employees work in one Branch , but one employee can
not work in many branches of the bank. So , the relationship
between Employee and Bank is many to one relationship.
TABLES BEFORE NORMALIZATION
Functional Dependencies
NORMALIZATION
Bank Table
Bank ( Bank_Name , Bank_Code , Bank_Address )
Prime attributes : Bank_code
1 NF : There are no multi-valued or composite
attributes.
Hence it is in 1NF.
2 NF :It is in 1NF and
There are no partial dependencies.
Hence it is in 2 NF
3 NF : There are no Transitive Dependencies.
Hence it is in 3NF
Customer Table
Customer ( Customer_id , Customer_Name , Phone_Number ,
Customer_Address , Customer_DOB )
Prime attributes :Customer_id
1 NF :There is a composite attribute Customer_Name having first_name and
last_name as attributes , and Customer_Address and a multi-valued attribute
Phone_Number.
Hence the tables after converting into 1 NF are
▪ Customer ( Customer_id, first_name ,last_name , House_No , city , state ,
country , Customer_DOB)
▪ (Customer_id , Phone_number )
2 NF :It is in 1NF and
There are no partial dependencies.
Hence it is in 2 NF
3 NF : There are no Transitive Dependencies.
Hence it is in 3NF
Branch Table
Branch ( Branch_id , Branch_Name , Branch_Address )
Prime attributes : Branch_id
1 NF : There are no multi-valued or composite attributes.
Hence it is in 1NF.
2 NF :It is in 1NF and
There are no partial dependencies.
Hence it is in 2 NF
3 NF :
It is in 2 NF and there are no Transitive Dependencies.
Hence it is in 3NF
Loan Table
Loan ( Loan_id , Loan_type , Amount )
Prime attributes : Loan_id
1 NF : There are no multi-valued or composite attributes.
Hence it is in 1NF.
2 NF :It is in 1NF and
There are no partial dependencies.
Hence it is in 2 NF
3 NF :
It is in 2 NF and there are no Transitive Dependencies.
Hence it is in 3NF
Account Table
Account ( Account_Number , Account_type , Balance )
Prime attributes : Account_number
1 NF : There are no multi-valued or composite attributes.
Hence it is in 1NF.
2 NF :It is in 1NF and
There are no partial dependencies.
Hence it is in 2 NF
3 NF :
It is in 2 NF and there are no Transitive Dependencies.
Hence it is in 3NF
Branch_has Table
Branch_has (Branch_id , Bank_code(foreign key) ,
Branch_Name , Branch_Address)
Prime attributes :Branch_id
1 NF : There are no multi-valued or composite attributes.
Hence it is in 1NF.
2 NF :It is in 1NF and
There are no partial dependencies.
Hence it is in 2 NF
3 NF :
It is in 2 NF and there are no Transitive Dependencies.
Hence it is in 3NF
Employee_worksin Table
Employee_worksin (Emp_id , Branch_id(foreign key) ,
Emp_name , Emp_ph , Emp_sal , Emp_DOB )
Prime attributes :Emp_id
1 NF :There are multi-valued attribute Emp_ph,Emp_name
Hence the tables after Normalizing are:
Employee_worksin (Emp_id , Branch_id(foreign key) ,
Emp_firstname , Emp_lastname , Emp_sal , Emp_DOB )
Emp_works (Emp_id , Emp_ph)
2 NF :It is in 1NF and
There are no partial dependencies.
Hence it is in 2 NF
3 NF :
It is in 2 NF and there are no Transitive Dependencies.
Hence it is in 3NF
Loan_Offer Table
Loan_offer (Loan_id , Loan_type , Amount ,
Branch_id(foreign key))
Prime attributes :Loan_id
1 NF : There are no multi-valued or composite attributes.
Hence it is in 1NF.
2 NF :It is in 1NF and
There are no partial dependencies.
Hence it is in 2 NF
3 NF :
It is in 2 NF and there are no Transitive Dependencies.
Hence it is in 3NF
Maintain_Account Table
Maintain_account (Account_no , Branch_id(foreign key) ,
Account_type , Balance)
Prime attributes :Account_no
1 NF : There are no multi-valued or composite attributes.
Hence it is in 1NF.
2 NF :It is in 1NF and
There are no partial dependencies.
Hence it is in 2 NF
3 NF :
It is in 2 NF and there are no Transitive Dependencies.
Hence it is in 3NF
Availed_by Table
Availed_by (Loan_id , customer_id)
Prime attributes :Loan_id , customer_id
1 NF : There are no multi-valued or composite attributes.
Hence it is in 1NF.
2 NF :It is in 1NF and
There are no partial dependencies.
Hence it is in 2 NF
3 NF :
It is in 2 NF and there are no Transitive Dependencies.
Hence it is in 3NF
Hold_by Table
Hold_by (Customer_id , Account_No)
Prime attributes : Customer_id , Account_No
1 NF : There are no multi-valued or composite attributes.
Hence it is in 1NF.
2 NF :It is in 1NF and
There are no partial dependencies.
Hence it is in 2 NF
3 NF :
It is in 2 NF and there are no Transitive Dependencies.
Hence it is in 3NF
TABLES AFTER NORMALIZATION
1)Branch_has (Branch_id , Bank_code(foreign key) , Branch_Name , Branch_Address)
2)Bank ( Bank_Name , Bank_Code , Bank_Address )
3)Employee_worksin (Emp_id , Branch_id(foreign key) , Emp_firstname , Emp_lastname
, Emp_sal , Emp_DOB )
4)Emp_works (Emp_id , Emp_ph)
5)Branch ( Branch_id , Branch_Name , Branch_Address )
6)Loan_offer (Loan_id , Loan_type , Amount , Branch_id(foreign key))
7)Maintain_account (Account_no , Branch_id(foreign key) , Account_type , Balance)
8)Loan ( Loan_id , Loan_type , Amount )
9)Availed_by (Loan_id , customer_id)
10)Customer ( Customer_id, first_name ,last_name , House_No , city , state , country ,
Customer_DOB)
11) Customer_ph(Customer_id , Phone_number )
12)Hold_by (Customer_id , Account_No)
13)Account ( Account_Number , Account_type , Balance )
THANK YOU
PRESENTATION
OF
BANK DATABASE
MANAGEMENT
SYSTEM
INTRODUCTION
▪This is a Bank Management System Database Project
▪ The main aim of Bank Management Mini DBMS project is to
keep record of customer transactions in the bank.
▪We aim to demonstrate the use of create, read, update and
delete ORACLE operations through this project.
▪PROJECT DESCRIPTION
▪Firstly, employee registration is done in the concern bank branch.
▪Branch employee creates customer account in the bank, then customer can
credit amount, debit amount and check balance.
▪Customer can even use different services like insurance, loan, bill payments etc.
▪ Bank Management Mini DBMS Project contains 4 modules:
Account Holder: As the name suggests, a record of customer details.
Transaction: Transactions to be made by the customer (credit amount, debit etc).
Services: Additional services that customer may want like (insurance, loan etc.).
Branch/Employee : Manager/Employee details of the concern bank.
LIST OF ENTITIES AND ATTRIBUTES
ER DIAGRAM
RELATIONAL SCHEMA DIAGRAM
LIST OF RELATIONSHIPS
▪ Bank has Branches => 1 : N
One Bank can have many Branches but one Branch can not
belong to many Banks, so the relationship between Bank and
Branch is one to many relationship.
▪ Branch maintain Accounts => 1 : N
One Branch can have many Accounts but one Account can
not belong to many Branches, so the relationship between
Branch and Account is one to many relationship.
▪ Branch offer Loans => 1 : N
One Branch can have many Loans but one Loan can not
belong to many Branches, so the relationship between
Branch and Loan is one to many relationship.
▪ Account held by Customers => M : N
One Customer can have more than one Accounts and also One
Account can be held by one or more Customers, so the
relationship between Account and Customers is many to many
relationship.
▪ Loan availed by Customer => M : N
(Assume loan can be jointly held by many Customers).
One Customer can have more than one Loans and also One
Loan can be availed by one or more Customers, so the
relationship between Loan and Customers is many to many
relationship.
▪ Employee works in Branch=> M : 1
Many Employees work in one Branch , but one employee can
not work in many branches of the bank. So , the relationship
between Employee and Bank is many to one relationship.
TABLES BEFORE NORMALIZATION
Functional Dependencies
NORMALIZATION
Bank Table
Bank ( Bank_Name , Bank_Code , Bank_Address )
Prime attributes : Bank_code
1 NF : There are no multi-valued or composite
attributes.
Hence it is in 1NF.
2 NF :It is in 1NF and
There are no partial dependencies.
Hence it is in 2 NF
3 NF : There are no Transitive Dependencies.
Hence it is in 3NF
Customer Table
Customer ( Customer_id , Customer_Name , Phone_Number ,
Customer_Address , Customer_DOB )
Prime attributes :Customer_id
1 NF :There is a composite attribute Customer_Name having first_name and
last_name as attributes , and Customer_Address and a multi-valued attribute
Phone_Number.
Hence the tables after converting into 1 NF are
▪ Customer ( Customer_id, first_name ,last_name , House_No , city , state ,
country , Customer_DOB)
▪ (Customer_id , Phone_number )
2 NF :It is in 1NF and
There are no partial dependencies.
Hence it is in 2 NF
3 NF : There are no Transitive Dependencies.
Hence it is in 3NF
Branch Table
Branch ( Branch_id , Branch_Name , Branch_Address )
Prime attributes : Branch_id
1 NF : There are no multi-valued or composite attributes.
Hence it is in 1NF.
2 NF :It is in 1NF and
There are no partial dependencies.
Hence it is in 2 NF
3 NF :
It is in 2 NF and there are no Transitive Dependencies.
Hence it is in 3NF
Loan Table
Loan ( Loan_id , Loan_type , Amount )
Prime attributes : Loan_id
1 NF : There are no multi-valued or composite attributes.
Hence it is in 1NF.
2 NF :It is in 1NF and
There are no partial dependencies.
Hence it is in 2 NF
3 NF :
It is in 2 NF and there are no Transitive Dependencies.
Hence it is in 3NF
Account Table
Account ( Account_Number , Account_type , Balance )
Prime attributes : Account_number
1 NF : There are no multi-valued or composite attributes.
Hence it is in 1NF.
2 NF :It is in 1NF and
There are no partial dependencies.
Hence it is in 2 NF
3 NF :
It is in 2 NF and there are no Transitive Dependencies.
Hence it is in 3NF
Branch_has Table
Branch_has (Branch_id , Bank_code(foreign key) ,
Branch_Name , Branch_Address)
Prime attributes :Branch_id
1 NF : There are no multi-valued or composite attributes.
Hence it is in 1NF.
2 NF :It is in 1NF and
There are no partial dependencies.
Hence it is in 2 NF
3 NF :
It is in 2 NF and there are no Transitive Dependencies.
Hence it is in 3NF
Employee_worksin Table
Employee_worksin (Emp_id , Branch_id(foreign key) ,
Emp_name , Emp_ph , Emp_sal , Emp_DOB )
Prime attributes :Emp_id
1 NF :There are multi-valued attribute Emp_ph,Emp_name
Hence the tables after Normalizing are:
Employee_worksin (Emp_id , Branch_id(foreign key) ,
Emp_firstname , Emp_lastname , Emp_sal , Emp_DOB )
Emp_works (Emp_id , Emp_ph)
2 NF :It is in 1NF and
There are no partial dependencies.
Hence it is in 2 NF
3 NF :
It is in 2 NF and there are no Transitive Dependencies.
Hence it is in 3NF
Loan_Offer Table
Loan_offer (Loan_id , Loan_type , Amount ,
Branch_id(foreign key))
Prime attributes :Loan_id
1 NF : There are no multi-valued or composite attributes.
Hence it is in 1NF.
2 NF :It is in 1NF and
There are no partial dependencies.
Hence it is in 2 NF
3 NF :
It is in 2 NF and there are no Transitive Dependencies.
Hence it is in 3NF
Maintain_Account Table
Maintain_account (Account_no , Branch_id(foreign key) ,
Account_type , Balance)
Prime attributes :Account_no
1 NF : There are no multi-valued or composite attributes.
Hence it is in 1NF.
2 NF :It is in 1NF and
There are no partial dependencies.
Hence it is in 2 NF
3 NF :
It is in 2 NF and there are no Transitive Dependencies.
Hence it is in 3NF
Availed_by Table
Availed_by (Loan_id , customer_id)
Prime attributes :Loan_id , customer_id
1 NF : There are no multi-valued or composite attributes.
Hence it is in 1NF.
2 NF :It is in 1NF and
There are no partial dependencies.
Hence it is in 2 NF
3 NF :
It is in 2 NF and there are no Transitive Dependencies.
Hence it is in 3NF
Hold_by Table
Hold_by (Customer_id , Account_No)
Prime attributes : Customer_id , Account_No
1 NF : There are no multi-valued or composite attributes.
Hence it is in 1NF.
2 NF :It is in 1NF and
There are no partial dependencies.
Hence it is in 2 NF
3 NF :
It is in 2 NF and there are no Transitive Dependencies.
Hence it is in 3NF
TABLES AFTER NORMALIZATION
1)Branch_has (Branch_id , Bank_code(foreign key) , Branch_Name , Branch_Address)
2)Bank ( Bank_Name , Bank_Code , Bank_Address )
3)Employee_worksin (Emp_id , Branch_id(foreign key) , Emp_firstname , Emp_lastname
, Emp_sal , Emp_DOB )
4)Emp_works (Emp_id , Emp_ph)
5)Branch ( Branch_id , Branch_Name , Branch_Address )
6)Loan_offer (Loan_id , Loan_type , Amount , Branch_id(foreign key))
7)Maintain_account (Account_no , Branch_id(foreign key) , Account_type , Balance)
8)Loan ( Loan_id , Loan_type , Amount )
9)Availed_by (Loan_id , customer_id)
10)Customer ( Customer_id, first_name ,last_name , House_No , city , state , country ,
Customer_DOB)
11) Customer_ph(Customer_id , Phone_number )
12)Hold_by (Customer_id , Account_No)
13)Account ( Account_Number , Account_type , Balance )
THANK YOU

More Related Content

Similar to (12105417)K21PPA23.pptx

De-escalating During an Interview· httpswww.ncsbn.org1658.h
De-escalating During an Interview· httpswww.ncsbn.org1658.hDe-escalating During an Interview· httpswww.ncsbn.org1658.h
De-escalating During an Interview· httpswww.ncsbn.org1658.hLinaCovington707
 
Lisa C Fordiani 2016 resume 10-30-16
Lisa C Fordiani 2016 resume 10-30-16Lisa C Fordiani 2016 resume 10-30-16
Lisa C Fordiani 2016 resume 10-30-16Lisa Fordiani
 
MBA_Finance_with_4.0_yrs (1)
MBA_Finance_with_4.0_yrs (1)MBA_Finance_with_4.0_yrs (1)
MBA_Finance_with_4.0_yrs (1)SANKHA DAS
 
National Bank of Pakistan Internship Report.pdf
National Bank of Pakistan Internship Report.pdfNational Bank of Pakistan Internship Report.pdf
National Bank of Pakistan Internship Report.pdfWasif Ali Syed
 
Introduction to Time Value of Money
Introduction to Time Value of MoneyIntroduction to Time Value of Money
Introduction to Time Value of Moneyjastini
 
Stephanie Landini Resume September 2016
Stephanie Landini Resume September 2016Stephanie Landini Resume September 2016
Stephanie Landini Resume September 2016Stephanie Landini
 
Resume sara-dagraca
Resume sara-dagracaResume sara-dagraca
Resume sara-dagracaSaraDagraca
 
detailed resume final-janet-aCCOUNTANT
detailed resume final-janet-aCCOUNTANTdetailed resume final-janet-aCCOUNTANT
detailed resume final-janet-aCCOUNTANTJanet Alcantara
 
FIXED INCOMEModule 3 Group Homework1. [6pts] Given a fiv
FIXED INCOMEModule 3 Group Homework1. [6pts] Given a fivFIXED INCOMEModule 3 Group Homework1. [6pts] Given a fiv
FIXED INCOMEModule 3 Group Homework1. [6pts] Given a fivShainaBoling829
 
RESUME-Ma. Elaine Dy
RESUME-Ma. Elaine DyRESUME-Ma. Elaine Dy
RESUME-Ma. Elaine DyMa Elaine Dy
 
Exploratory Data Analysis For Credit Risk Assesment
Exploratory Data Analysis For Credit Risk AssesmentExploratory Data Analysis For Credit Risk Assesment
Exploratory Data Analysis For Credit Risk AssesmentVishalPatil527
 
Time Value of Money
Time Value of MoneyTime Value of Money
Time Value of MoneySajad Nazari
 

Similar to (12105417)K21PPA23.pptx (20)

sunil.kumar11
sunil.kumar11sunil.kumar11
sunil.kumar11
 
De-escalating During an Interview· httpswww.ncsbn.org1658.h
De-escalating During an Interview· httpswww.ncsbn.org1658.hDe-escalating During an Interview· httpswww.ncsbn.org1658.h
De-escalating During an Interview· httpswww.ncsbn.org1658.h
 
Lisa C Fordiani 2016 resume 10-30-16
Lisa C Fordiani 2016 resume 10-30-16Lisa C Fordiani 2016 resume 10-30-16
Lisa C Fordiani 2016 resume 10-30-16
 
MBA_Finance_with_4.0_yrs (1)
MBA_Finance_with_4.0_yrs (1)MBA_Finance_with_4.0_yrs (1)
MBA_Finance_with_4.0_yrs (1)
 
sunil.kumar11
sunil.kumar11sunil.kumar11
sunil.kumar11
 
National Bank of Pakistan Internship Report.pdf
National Bank of Pakistan Internship Report.pdfNational Bank of Pakistan Internship Report.pdf
National Bank of Pakistan Internship Report.pdf
 
Data modelling interview question
Data modelling interview questionData modelling interview question
Data modelling interview question
 
Introduction to Time Value of Money
Introduction to Time Value of MoneyIntroduction to Time Value of Money
Introduction to Time Value of Money
 
Stephanie Landini Resume September 2016
Stephanie Landini Resume September 2016Stephanie Landini Resume September 2016
Stephanie Landini Resume September 2016
 
Benjamin Hass Resume
Benjamin Hass ResumeBenjamin Hass Resume
Benjamin Hass Resume
 
CV of accountant
CV of accountantCV of accountant
CV of accountant
 
Resume sara-dagraca
Resume sara-dagracaResume sara-dagraca
Resume sara-dagraca
 
detailed resume final-janet-aCCOUNTANT
detailed resume final-janet-aCCOUNTANTdetailed resume final-janet-aCCOUNTANT
detailed resume final-janet-aCCOUNTANT
 
Resume
ResumeResume
Resume
 
FIXED INCOMEModule 3 Group Homework1. [6pts] Given a fiv
FIXED INCOMEModule 3 Group Homework1. [6pts] Given a fivFIXED INCOMEModule 3 Group Homework1. [6pts] Given a fiv
FIXED INCOMEModule 3 Group Homework1. [6pts] Given a fiv
 
RESUME-Ma. Elaine Dy
RESUME-Ma. Elaine DyRESUME-Ma. Elaine Dy
RESUME-Ma. Elaine Dy
 
Exploratory Data Analysis For Credit Risk Assesment
Exploratory Data Analysis For Credit Risk AssesmentExploratory Data Analysis For Credit Risk Assesment
Exploratory Data Analysis For Credit Risk Assesment
 
resume2
resume2resume2
resume2
 
Mohammed Atif Khan
Mohammed Atif KhanMohammed Atif Khan
Mohammed Atif Khan
 
Time Value of Money
Time Value of MoneyTime Value of Money
Time Value of Money
 

More from AbhishekKumar66407

More from AbhishekKumar66407 (8)

LinuInterviewQALinuInterviewQALinuInterv
LinuInterviewQALinuInterviewQALinuIntervLinuInterviewQALinuInterviewQALinuInterv
LinuInterviewQALinuInterviewQALinuInterv
 
FSJavaScript.ppt
FSJavaScript.pptFSJavaScript.ppt
FSJavaScript.ppt
 
3. Lect 29_ 30_ 32 Project Planning.pptx
3. Lect 29_ 30_ 32 Project Planning.pptx3. Lect 29_ 30_ 32 Project Planning.pptx
3. Lect 29_ 30_ 32 Project Planning.pptx
 
Practical_4_cse307_ppt.ppt
Practical_4_cse307_ppt.pptPractical_4_cse307_ppt.ppt
Practical_4_cse307_ppt.ppt
 
12115093PYTHONPROJECT.pdf
12115093PYTHONPROJECT.pdf12115093PYTHONPROJECT.pdf
12115093PYTHONPROJECT.pdf
 
python pre-submission.pdf
python pre-submission.pdfpython pre-submission.pdf
python pre-submission.pdf
 
HareshS12113506DBMSppt.pptx.pdf
HareshS12113506DBMSppt.pptx.pdfHareshS12113506DBMSppt.pptx.pdf
HareshS12113506DBMSppt.pptx.pdf
 
IPHEADER_IPV4_IPV6_4.pdf
IPHEADER_IPV4_IPV6_4.pdfIPHEADER_IPV4_IPV6_4.pdf
IPHEADER_IPV4_IPV6_4.pdf
 

Recently uploaded

Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startQuintin Balsdon
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapRishantSharmaFr
 
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills KuwaitKuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwaitjaanualu31
 
Computer Lecture 01.pptxIntroduction to Computers
Computer Lecture 01.pptxIntroduction to ComputersComputer Lecture 01.pptxIntroduction to Computers
Computer Lecture 01.pptxIntroduction to ComputersMairaAshraf6
 
A Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityA Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityMorshed Ahmed Rahath
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXssuser89054b
 
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptxOrlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptxMuhammadAsimMuhammad6
 
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdfAldoGarca30
 
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Arindam Chakraborty, Ph.D., P.E. (CA, TX)
 
Work-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxWork-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxJuliansyahHarahap1
 
Introduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaIntroduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaOmar Fathy
 
School management system project Report.pdf
School management system project Report.pdfSchool management system project Report.pdf
School management system project Report.pdfKamal Acharya
 
Employee leave management system project.
Employee leave management system project.Employee leave management system project.
Employee leave management system project.Kamal Acharya
 
PE 459 LECTURE 2- natural gas basic concepts and properties
PE 459 LECTURE 2- natural gas basic concepts and propertiesPE 459 LECTURE 2- natural gas basic concepts and properties
PE 459 LECTURE 2- natural gas basic concepts and propertiessarkmank1
 
Wadi Rum luxhotel lodge Analysis case study.pptx
Wadi Rum luxhotel lodge Analysis case study.pptxWadi Rum luxhotel lodge Analysis case study.pptx
Wadi Rum luxhotel lodge Analysis case study.pptxNadaHaitham1
 
Moment Distribution Method For Btech Civil
Moment Distribution Method For Btech CivilMoment Distribution Method For Btech Civil
Moment Distribution Method For Btech CivilVinayVitekari
 
DeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesDeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesMayuraD1
 
Block diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptBlock diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptNANDHAKUMARA10
 
Engineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planesEngineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planesRAJNEESHKUMAR341697
 

Recently uploaded (20)

Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the start
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leap
 
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills KuwaitKuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
 
Computer Lecture 01.pptxIntroduction to Computers
Computer Lecture 01.pptxIntroduction to ComputersComputer Lecture 01.pptxIntroduction to Computers
Computer Lecture 01.pptxIntroduction to Computers
 
A Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityA Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna Municipality
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptxOrlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
 
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
 
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
 
Work-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxWork-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptx
 
Introduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaIntroduction to Serverless with AWS Lambda
Introduction to Serverless with AWS Lambda
 
School management system project Report.pdf
School management system project Report.pdfSchool management system project Report.pdf
School management system project Report.pdf
 
Employee leave management system project.
Employee leave management system project.Employee leave management system project.
Employee leave management system project.
 
PE 459 LECTURE 2- natural gas basic concepts and properties
PE 459 LECTURE 2- natural gas basic concepts and propertiesPE 459 LECTURE 2- natural gas basic concepts and properties
PE 459 LECTURE 2- natural gas basic concepts and properties
 
Wadi Rum luxhotel lodge Analysis case study.pptx
Wadi Rum luxhotel lodge Analysis case study.pptxWadi Rum luxhotel lodge Analysis case study.pptx
Wadi Rum luxhotel lodge Analysis case study.pptx
 
Moment Distribution Method For Btech Civil
Moment Distribution Method For Btech CivilMoment Distribution Method For Btech Civil
Moment Distribution Method For Btech Civil
 
DeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesDeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakes
 
Block diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptBlock diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.ppt
 
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
 
Engineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planesEngineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planes
 

(12105417)K21PPA23.pptx

  • 2. INTRODUCTION ▪This is a Bank Management System Database Project ▪ The main aim of Bank Management Mini DBMS project is to keep record of customer transactions in the bank. ▪We aim to demonstrate the use of create, read, update and delete ORACLE operations through this project.
  • 3. ▪PROJECT DESCRIPTION ▪Firstly, employee registration is done in the concern bank branch. ▪Branch employee creates customer account in the bank, then customer can credit amount, debit amount and check balance. ▪Customer can even use different services like insurance, loan, bill payments etc. ▪ Bank Management Mini DBMS Project contains 4 modules: Account Holder: As the name suggests, a record of customer details. Transaction: Transactions to be made by the customer (credit amount, debit etc). Services: Additional services that customer may want like (insurance, loan etc.). Branch/Employee : Manager/Employee details of the concern bank.
  • 4. LIST OF ENTITIES AND ATTRIBUTES
  • 7. LIST OF RELATIONSHIPS ▪ Bank has Branches => 1 : N One Bank can have many Branches but one Branch can not belong to many Banks, so the relationship between Bank and Branch is one to many relationship. ▪ Branch maintain Accounts => 1 : N One Branch can have many Accounts but one Account can not belong to many Branches, so the relationship between Branch and Account is one to many relationship. ▪ Branch offer Loans => 1 : N One Branch can have many Loans but one Loan can not belong to many Branches, so the relationship between Branch and Loan is one to many relationship.
  • 8. ▪ Account held by Customers => M : N One Customer can have more than one Accounts and also One Account can be held by one or more Customers, so the relationship between Account and Customers is many to many relationship. ▪ Loan availed by Customer => M : N (Assume loan can be jointly held by many Customers). One Customer can have more than one Loans and also One Loan can be availed by one or more Customers, so the relationship between Loan and Customers is many to many relationship. ▪ Employee works in Branch=> M : 1 Many Employees work in one Branch , but one employee can not work in many branches of the bank. So , the relationship between Employee and Bank is many to one relationship.
  • 11.
  • 12. NORMALIZATION Bank Table Bank ( Bank_Name , Bank_Code , Bank_Address ) Prime attributes : Bank_code 1 NF : There are no multi-valued or composite attributes. Hence it is in 1NF. 2 NF :It is in 1NF and There are no partial dependencies. Hence it is in 2 NF 3 NF : There are no Transitive Dependencies. Hence it is in 3NF
  • 13. Customer Table Customer ( Customer_id , Customer_Name , Phone_Number , Customer_Address , Customer_DOB ) Prime attributes :Customer_id 1 NF :There is a composite attribute Customer_Name having first_name and last_name as attributes , and Customer_Address and a multi-valued attribute Phone_Number. Hence the tables after converting into 1 NF are ▪ Customer ( Customer_id, first_name ,last_name , House_No , city , state , country , Customer_DOB) ▪ (Customer_id , Phone_number ) 2 NF :It is in 1NF and There are no partial dependencies. Hence it is in 2 NF 3 NF : There are no Transitive Dependencies. Hence it is in 3NF
  • 14. Branch Table Branch ( Branch_id , Branch_Name , Branch_Address ) Prime attributes : Branch_id 1 NF : There are no multi-valued or composite attributes. Hence it is in 1NF. 2 NF :It is in 1NF and There are no partial dependencies. Hence it is in 2 NF 3 NF : It is in 2 NF and there are no Transitive Dependencies. Hence it is in 3NF
  • 15. Loan Table Loan ( Loan_id , Loan_type , Amount ) Prime attributes : Loan_id 1 NF : There are no multi-valued or composite attributes. Hence it is in 1NF. 2 NF :It is in 1NF and There are no partial dependencies. Hence it is in 2 NF 3 NF : It is in 2 NF and there are no Transitive Dependencies. Hence it is in 3NF
  • 16. Account Table Account ( Account_Number , Account_type , Balance ) Prime attributes : Account_number 1 NF : There are no multi-valued or composite attributes. Hence it is in 1NF. 2 NF :It is in 1NF and There are no partial dependencies. Hence it is in 2 NF 3 NF : It is in 2 NF and there are no Transitive Dependencies. Hence it is in 3NF
  • 17. Branch_has Table Branch_has (Branch_id , Bank_code(foreign key) , Branch_Name , Branch_Address) Prime attributes :Branch_id 1 NF : There are no multi-valued or composite attributes. Hence it is in 1NF. 2 NF :It is in 1NF and There are no partial dependencies. Hence it is in 2 NF 3 NF : It is in 2 NF and there are no Transitive Dependencies. Hence it is in 3NF
  • 18. Employee_worksin Table Employee_worksin (Emp_id , Branch_id(foreign key) , Emp_name , Emp_ph , Emp_sal , Emp_DOB ) Prime attributes :Emp_id 1 NF :There are multi-valued attribute Emp_ph,Emp_name Hence the tables after Normalizing are: Employee_worksin (Emp_id , Branch_id(foreign key) , Emp_firstname , Emp_lastname , Emp_sal , Emp_DOB ) Emp_works (Emp_id , Emp_ph) 2 NF :It is in 1NF and There are no partial dependencies. Hence it is in 2 NF 3 NF : It is in 2 NF and there are no Transitive Dependencies. Hence it is in 3NF
  • 19. Loan_Offer Table Loan_offer (Loan_id , Loan_type , Amount , Branch_id(foreign key)) Prime attributes :Loan_id 1 NF : There are no multi-valued or composite attributes. Hence it is in 1NF. 2 NF :It is in 1NF and There are no partial dependencies. Hence it is in 2 NF 3 NF : It is in 2 NF and there are no Transitive Dependencies. Hence it is in 3NF
  • 20. Maintain_Account Table Maintain_account (Account_no , Branch_id(foreign key) , Account_type , Balance) Prime attributes :Account_no 1 NF : There are no multi-valued or composite attributes. Hence it is in 1NF. 2 NF :It is in 1NF and There are no partial dependencies. Hence it is in 2 NF 3 NF : It is in 2 NF and there are no Transitive Dependencies. Hence it is in 3NF
  • 21. Availed_by Table Availed_by (Loan_id , customer_id) Prime attributes :Loan_id , customer_id 1 NF : There are no multi-valued or composite attributes. Hence it is in 1NF. 2 NF :It is in 1NF and There are no partial dependencies. Hence it is in 2 NF 3 NF : It is in 2 NF and there are no Transitive Dependencies. Hence it is in 3NF
  • 22. Hold_by Table Hold_by (Customer_id , Account_No) Prime attributes : Customer_id , Account_No 1 NF : There are no multi-valued or composite attributes. Hence it is in 1NF. 2 NF :It is in 1NF and There are no partial dependencies. Hence it is in 2 NF 3 NF : It is in 2 NF and there are no Transitive Dependencies. Hence it is in 3NF
  • 23. TABLES AFTER NORMALIZATION 1)Branch_has (Branch_id , Bank_code(foreign key) , Branch_Name , Branch_Address) 2)Bank ( Bank_Name , Bank_Code , Bank_Address ) 3)Employee_worksin (Emp_id , Branch_id(foreign key) , Emp_firstname , Emp_lastname , Emp_sal , Emp_DOB ) 4)Emp_works (Emp_id , Emp_ph) 5)Branch ( Branch_id , Branch_Name , Branch_Address ) 6)Loan_offer (Loan_id , Loan_type , Amount , Branch_id(foreign key)) 7)Maintain_account (Account_no , Branch_id(foreign key) , Account_type , Balance) 8)Loan ( Loan_id , Loan_type , Amount ) 9)Availed_by (Loan_id , customer_id) 10)Customer ( Customer_id, first_name ,last_name , House_No , city , state , country , Customer_DOB) 11) Customer_ph(Customer_id , Phone_number ) 12)Hold_by (Customer_id , Account_No) 13)Account ( Account_Number , Account_type , Balance )
  • 26. INTRODUCTION ▪This is a Bank Management System Database Project ▪ The main aim of Bank Management Mini DBMS project is to keep record of customer transactions in the bank. ▪We aim to demonstrate the use of create, read, update and delete ORACLE operations through this project.
  • 27. ▪PROJECT DESCRIPTION ▪Firstly, employee registration is done in the concern bank branch. ▪Branch employee creates customer account in the bank, then customer can credit amount, debit amount and check balance. ▪Customer can even use different services like insurance, loan, bill payments etc. ▪ Bank Management Mini DBMS Project contains 4 modules: Account Holder: As the name suggests, a record of customer details. Transaction: Transactions to be made by the customer (credit amount, debit etc). Services: Additional services that customer may want like (insurance, loan etc.). Branch/Employee : Manager/Employee details of the concern bank.
  • 28. LIST OF ENTITIES AND ATTRIBUTES
  • 31. LIST OF RELATIONSHIPS ▪ Bank has Branches => 1 : N One Bank can have many Branches but one Branch can not belong to many Banks, so the relationship between Bank and Branch is one to many relationship. ▪ Branch maintain Accounts => 1 : N One Branch can have many Accounts but one Account can not belong to many Branches, so the relationship between Branch and Account is one to many relationship. ▪ Branch offer Loans => 1 : N One Branch can have many Loans but one Loan can not belong to many Branches, so the relationship between Branch and Loan is one to many relationship.
  • 32. ▪ Account held by Customers => M : N One Customer can have more than one Accounts and also One Account can be held by one or more Customers, so the relationship between Account and Customers is many to many relationship. ▪ Loan availed by Customer => M : N (Assume loan can be jointly held by many Customers). One Customer can have more than one Loans and also One Loan can be availed by one or more Customers, so the relationship between Loan and Customers is many to many relationship. ▪ Employee works in Branch=> M : 1 Many Employees work in one Branch , but one employee can not work in many branches of the bank. So , the relationship between Employee and Bank is many to one relationship.
  • 35.
  • 36. NORMALIZATION Bank Table Bank ( Bank_Name , Bank_Code , Bank_Address ) Prime attributes : Bank_code 1 NF : There are no multi-valued or composite attributes. Hence it is in 1NF. 2 NF :It is in 1NF and There are no partial dependencies. Hence it is in 2 NF 3 NF : There are no Transitive Dependencies. Hence it is in 3NF
  • 37. Customer Table Customer ( Customer_id , Customer_Name , Phone_Number , Customer_Address , Customer_DOB ) Prime attributes :Customer_id 1 NF :There is a composite attribute Customer_Name having first_name and last_name as attributes , and Customer_Address and a multi-valued attribute Phone_Number. Hence the tables after converting into 1 NF are ▪ Customer ( Customer_id, first_name ,last_name , House_No , city , state , country , Customer_DOB) ▪ (Customer_id , Phone_number ) 2 NF :It is in 1NF and There are no partial dependencies. Hence it is in 2 NF 3 NF : There are no Transitive Dependencies. Hence it is in 3NF
  • 38. Branch Table Branch ( Branch_id , Branch_Name , Branch_Address ) Prime attributes : Branch_id 1 NF : There are no multi-valued or composite attributes. Hence it is in 1NF. 2 NF :It is in 1NF and There are no partial dependencies. Hence it is in 2 NF 3 NF : It is in 2 NF and there are no Transitive Dependencies. Hence it is in 3NF
  • 39. Loan Table Loan ( Loan_id , Loan_type , Amount ) Prime attributes : Loan_id 1 NF : There are no multi-valued or composite attributes. Hence it is in 1NF. 2 NF :It is in 1NF and There are no partial dependencies. Hence it is in 2 NF 3 NF : It is in 2 NF and there are no Transitive Dependencies. Hence it is in 3NF
  • 40. Account Table Account ( Account_Number , Account_type , Balance ) Prime attributes : Account_number 1 NF : There are no multi-valued or composite attributes. Hence it is in 1NF. 2 NF :It is in 1NF and There are no partial dependencies. Hence it is in 2 NF 3 NF : It is in 2 NF and there are no Transitive Dependencies. Hence it is in 3NF
  • 41. Branch_has Table Branch_has (Branch_id , Bank_code(foreign key) , Branch_Name , Branch_Address) Prime attributes :Branch_id 1 NF : There are no multi-valued or composite attributes. Hence it is in 1NF. 2 NF :It is in 1NF and There are no partial dependencies. Hence it is in 2 NF 3 NF : It is in 2 NF and there are no Transitive Dependencies. Hence it is in 3NF
  • 42. Employee_worksin Table Employee_worksin (Emp_id , Branch_id(foreign key) , Emp_name , Emp_ph , Emp_sal , Emp_DOB ) Prime attributes :Emp_id 1 NF :There are multi-valued attribute Emp_ph,Emp_name Hence the tables after Normalizing are: Employee_worksin (Emp_id , Branch_id(foreign key) , Emp_firstname , Emp_lastname , Emp_sal , Emp_DOB ) Emp_works (Emp_id , Emp_ph) 2 NF :It is in 1NF and There are no partial dependencies. Hence it is in 2 NF 3 NF : It is in 2 NF and there are no Transitive Dependencies. Hence it is in 3NF
  • 43. Loan_Offer Table Loan_offer (Loan_id , Loan_type , Amount , Branch_id(foreign key)) Prime attributes :Loan_id 1 NF : There are no multi-valued or composite attributes. Hence it is in 1NF. 2 NF :It is in 1NF and There are no partial dependencies. Hence it is in 2 NF 3 NF : It is in 2 NF and there are no Transitive Dependencies. Hence it is in 3NF
  • 44. Maintain_Account Table Maintain_account (Account_no , Branch_id(foreign key) , Account_type , Balance) Prime attributes :Account_no 1 NF : There are no multi-valued or composite attributes. Hence it is in 1NF. 2 NF :It is in 1NF and There are no partial dependencies. Hence it is in 2 NF 3 NF : It is in 2 NF and there are no Transitive Dependencies. Hence it is in 3NF
  • 45. Availed_by Table Availed_by (Loan_id , customer_id) Prime attributes :Loan_id , customer_id 1 NF : There are no multi-valued or composite attributes. Hence it is in 1NF. 2 NF :It is in 1NF and There are no partial dependencies. Hence it is in 2 NF 3 NF : It is in 2 NF and there are no Transitive Dependencies. Hence it is in 3NF
  • 46. Hold_by Table Hold_by (Customer_id , Account_No) Prime attributes : Customer_id , Account_No 1 NF : There are no multi-valued or composite attributes. Hence it is in 1NF. 2 NF :It is in 1NF and There are no partial dependencies. Hence it is in 2 NF 3 NF : It is in 2 NF and there are no Transitive Dependencies. Hence it is in 3NF
  • 47. TABLES AFTER NORMALIZATION 1)Branch_has (Branch_id , Bank_code(foreign key) , Branch_Name , Branch_Address) 2)Bank ( Bank_Name , Bank_Code , Bank_Address ) 3)Employee_worksin (Emp_id , Branch_id(foreign key) , Emp_firstname , Emp_lastname , Emp_sal , Emp_DOB ) 4)Emp_works (Emp_id , Emp_ph) 5)Branch ( Branch_id , Branch_Name , Branch_Address ) 6)Loan_offer (Loan_id , Loan_type , Amount , Branch_id(foreign key)) 7)Maintain_account (Account_no , Branch_id(foreign key) , Account_type , Balance) 8)Loan ( Loan_id , Loan_type , Amount ) 9)Availed_by (Loan_id , customer_id) 10)Customer ( Customer_id, first_name ,last_name , House_No , city , state , country , Customer_DOB) 11) Customer_ph(Customer_id , Phone_number ) 12)Hold_by (Customer_id , Account_No) 13)Account ( Account_Number , Account_type , Balance )