Professional Documents
Culture Documents
Page 1 of 12
521922922.docx
A signed copy of this form must be submitted with every assignment.
If the statement is missing your work may not be marked.
Student Declaration
Qualification: L4DC
Unit: DATABASE
Centre: LILONGWE
I have read and understood both NCC Education’s Academic Misconduct Policy and the
Referencing and Bibliographies document. To the best of my knowledge my work has been
accurately referenced and all sources cited correctly.
I confirm that this is my own work and that I have not colluded or plagiarised any part of it.
Candidate Signature:
Date:
Table of Contents
ACKNOWLEDGEMENT.............................................................................................................................3
INTRODUCTION.......................................................................................................................................3
Task 1 Analysis and Design......................................................................................................................3
a) Identify and discuss your chosen organization, with a minimum of six (6) entities.........................3
b) Draw Entity Relationship Diagram (ERD).........................................................................................4
c) Create a data dictionary for the entity relationship diagram...........................................................5
Task 2.......................................................................................................................................................7
Page 2 of 12
a) Create all the normalized tables using SQL......................................................................................7
b) Enter sample data in all tables.........................................................................................................8
Write Queries that shows your understanding of SQL.......................................................................10
Task 3 Assessment and evaluation........................................................................................................11
How well your database meets the data and information requirements of your chosen organization.
...........................................................................................................................................................11
How the use of ER modelling is important in the design of a database solution...............................11
Any assumptions that you have made and how they impact the design...........................................11
How the database supports the transactions you have identified in Task1.......................................11
Conclusion.............................................................................................................................................11
References.................................................................................................................................................11
ACKNOWLEDGEMENT
I acknowledge and thank all my God for giving me wisdom and good health, my
parents, friends and my lecture because all of them they have been present and
contributed a lot to me to come up with this work. I say thank you all.
INTRODUCTION
The assignment will describe system of National Bank of Malawi which is commercial
banking industry to come up with good developed database system in order to manage
data of bank officers, customers, accounts and also holding different transactions. This
assignment is divided into three parts: design, queries and assessment.
Task 1 Analysis and Design
a) Identify and discuss your chosen organization, with a minimum of six (6) entities.
Database refers to an organized collection of logically related data. Commercial
Banking is the chosen industry which is well-known National Bank of Malawi that will
database skills will be demonstrated and commercial banking by the way needs to have
database to be organized and implemented for them to quick retrieve data, easy
storage of data and manipulation of data. This will also help in operations of its
transaction operations.
The database which commercial banking is looking for to be implemented as an
industry will hold data about bank, branch, bank officers, accounts, customer and loans.
Its transactions include opening branches in different cities or town locations, employing
and allocating bank officers in the branches, opening accounts for its customers,
recording customers data and giving customers loans which will also requires data to be
recorded and organized well that will help to carry out its day to days business
transactions. The commercial banking will have the following entities that is expected to
be hold in its database and these are: Bank, branch, bank officer, customer and loan.
The following are advantages of database implementation at commercial banking and
these are:
Page 3 of 12
Improved data sharing and data security database implementation will help commercial
banking industry to increase accessibility to data which will help end users share the
quickly and effectively across the organization.
Effective data integration will be improved since industry management system data
integrate will be improved and it will become easy to see how operations in the
segment of the industry affect other segments.
Consistent data that complies with regulations data management system provide a
better bond for the enforcement of data privacy and security policies.
Increase in productivity of the end user this will be enhanced since database
management system is well managed and will always result in productivity for users
such as customers will easily quick access to the information from their bank and make
informed decisions.
[ CITATION Rin21 \l 1033 ]
Despite database management brings advantages but there also some of the
disadvantages of implementing a database and these are:
Database systems are difficult and time consuming to design.
Damage of database system affects all virtually application s programs.
It is also too much costs when moving a file system to a database system.
It requires initial training for all programmers and users.
b) Draw Entity Relationship Diagram (ERD)
Entities
i. Bank
ii. Branch
iii. Bank officer
iv. Account
v. Customer
vi. Loan
Page 4 of 12
c) Create a data dictionary for the entity relationship diagram
1. Bank
ENTITY PROPERTIES DATA LENGTH KEY CONSTRAIN
TYPE
Bank Bank ID Varchar 50 Primary
key
Hotel Name varchar 50 Primary Bank have
key different
names
Bank contact Varchar 30
number
2. Branch
ENTITY PROPRTIES DATA LENGTH KEY CPNSTTAIN
TYPE
Branch Branch varchar 50 Primary Branch have
name key different
names
Branch ID Varchar 50 Primary
key
Branch Varchar 50 Branch can
location located in
Page 5 of 12
different
location
3. Bank Officer
ENTITY PROPERTIE DATA LENGTH KEY CONSTRAIN
S TYPE
Bank Employee ID Varchar 50 Primary Employees
Officer key have
different ID
employee Varchar 50
name
Employee Varchar 90 Primary Employees
contact key have
number different
contact
number
4. Account
ENTITY PROPERTIES DATA LENGTH KEY CONSTRAIN
TYPE
Account Account Varchar 50 Primary Account
number key have
different
number
Account Varchar 80 Primary
recent date key
Balance Varchar 50 Account
have
different
balance
5. Customer
ENTITY PROPERTIES DATA LENGTH KEY CONSTRAIN
TYPE
Customer ID Varchar 50 Primary Customer
key have
different ID
Customer Varchar 50
name
Customer Varchar 50 Customer
address have
different
address
6. Loan
ENTITY PROPERTIES DATA LENGTH KEY CONSTRAIN
TYPE
Page 6 of 12
Loan number Varchar 30 Primary
key
Loan amount Varchar 50 Loan have
different
amount
Loan type Varchar 50 Loan have
different type
Task 2
a) Create all the normalized tables using SQL
Bank Table
Result
Result
Branch Table
Result
Page 7 of 12
Account Table
Result
Customer Table
Result
Loan Table
Result
Page 8 of 12
Result
Result
Branch Insertion
Result
Account insertion
Page 9 of 12
Result
Customer insertion
Result
Loan insertion
Result
Page 10 of 12
Query script that shows update of Account in MWK from Account Table
References
RingLead. (2021, March 21). Retrieved from RingLead: https://www.ringlead.com/blog/the-
benefits-of-using-database-management-systems/
Page 11 of 12
Page 12 of 12