Professional Documents
Culture Documents
Assignment
Task 1:
Part A
Customer Table
Account Table:
Customer Table:
Payment Instruction:
1 1 Direct debit
2 2 Standing order
Account Table:
12346768 12/04/17 A1
67896377 20/02/18 A3
23574879 25/03/19 A1
34565767 25/03/19 A2
86573526 30/05/19 A3
15657868 10/06/19 A2
45765768 10/06/19 A1
58878779 15/11/19 A2
AccountType Table: (NEW)
Primary Key: typeCode
typeCode type
A1 saving
A2 current
A3 credit card
There are three guideline common designs, each with extending levels of standardization: First
Normal Form (1nf): Each field in a table holds particular information. For example, in a laborer
overview, every one table may hold stand apart origination date field. Second Normal Form
(2nf): Each field in a table that isn't a determiner of the substance of a substitute field must itself
be a limit of substitute fields in the table. Third Normal Form (3nf): No twofold information is
permitted. In this manner, for example, if two tables both oblige an origination date field, the
origination date information may be isolated into a different table, and the two unique tables may
then get to the origination date information through a record field in the origination date table.
Any change to an origination date would normally be reflecting in all tables that association with
the origination date table.
Advantages of standardization:-
More modest data set: By forgoing twofold data, you will have the ability to lessen the overall
size of the information base.
Better execution:
1. Narrow tables: Having every one of the more changed tables allows your tables to have less
segments and allows you to fit more records for each data page.
2. Fewer records for each table mean speedier upkeep tasks, for instance, list changes.
3. Only join tables that you require. More stupendous general information base affiliation.
1. Requires more joins to get the desired impact. A roughly made inquiry can chop the
information base down
2. Maintenance overhead. The higher the degree of standardization, the more staggering the
measure of tables in the information base.
3. More tables to join: By fanning out your data into more tables, you grow the need to join
tables.
4. Data model is irksome to request against: The data model is progressed for arrangements,
not for uncommonly selected addressing.
5. Tables hold codes instead of certifiable data: Repeated data is taken care of as codes rather
than huge data. Thusly, there is reliably a need to go to the inquiry up table.