Database Assignment 01
Database Assignment 01
LO3 Discuss the importance and dynamics of working within a team and the impact of the team working
in different environments
Pass, Merit & Distinction P5 P6 M4 D3
Descriptions
LO4 Examine the need for Continuing Professional Development (CPD) and its role within the workplace
and higher-level learning
Pass, Merit & Distinction P7 P8 M5 D4
Descriptions
Page:02
Action Plan
Summative feedback
Assessor Date
signature
Assignment:01
1. A Cover page or title page – You should always attach a title page to your assignment. Use the
previous page as your cover sheet and make sure all the details are accurately filled.
2. Attach this brief as the first section of your assignment.
3. All the assignments should be prepared using word processing software.
4. All the assignments should be printed on A4-sized papers. Use single-side printing.
5. Allow 1” for top, bottom, right margins and 1.25” for the left margin of each page.
1. The font size should be 12 point and should be in the style of Time New Roman.
2. Use 1.5 line spacing. Left justify all paragraphs.
3. Ensure that all the headings are consistent in terms of the font size and font style.
4. Use footer function in the word processor to insert Your Name, Subject, Assignment No, and
Page Number on each page. This is useful if individual sheets become detached for any reason.
5. Use word processing application spell check and grammar check function to help editing your
assignment.
Important Points:
1. It is strictly prohibited to use textboxes to add texts in the assignments, except for the
compulsory information. egg: Figures, tables of comparison, etc. Adding text boxes in the body
except for the before-mentioned compulsory information will result in the rejection of your
work.
2. Carefully check the hand-in date and the instructions are given in the assignment. Late
submissions will not be accepted.
3. Ensure that you give yourself enough time to complete the assignment by the due date.
4. Excuses of any nature will not be accepted for failure to hand in the work on time.
5. You must take responsibility for managing your own time effectively.
6. If you are unable to hand in your assignment on time and have valid reasons such as illness, you
may apply (in writing) for an extension.
7. Failure to achieve at least PASS criteria will result in a REFERRAL grade.
8. Non-submission of work without valid reasons will lead to an automatic RE FERAL. You will then
be asked to complete an alternative assignment.
9. If you use other people’s work or ideas in your assignment, reference them properly using the
HARVARD referencing system to avoid plagiarism. You must provide both in-text citations and a
reference list.
Assignment:01
Figure numbers
Definition of database
Figure 1 DBMS
Source:
Polly pipe is a water sports provider and installer based in Braintree, England. Its manual
database system wants to design and implement a database that meets the data
requirements of a computerized system. Therefore, this system was designed and
developed as a solution for water sports providers and installers to meet their business
customers. Polly pipe is maintaining its data in the manual system.
A manual system is a paper record.
Definition of Requirements
1. Functional requirements
2. Non – functional requirements
Functional Requirements
Non-Functional Requirements
System Requirements
System requirements are the configuration that a system must have so as for a hardware or
software application to run smoothly and efficiently. Failure to satisfy these requirements may
result in installation problems or performance problems. the previous may prevent a tool or
application from getting installed, whereas the latter may cause a product to malfunction or
perform below expectation or maybe to hold or crash.
Employee
Customer
Equipment
Installation
Payment
What is Normalization?
The main reason for normalizing the relations is to get rid of these anomalies. Failure to
eliminate anomalies ends up in data redundancy and may cause data integrity and other
problems because the database grows. Normalization consists of a series of guidelines that helps
to guide you in creating an honest database structure.
To achieve the first normal form for a database, you would like to create sure that no table
contains multiple columns that you simply could use to urge identical information. Each table
should be organized into rows, and every row should have a primary key that distinguishes it as
unique. the first secret is usually one column, but sometimes over one column may
be combined to form one primary key.
The second normal form (2NF) is the second step in normalizing a database. 2NF builds on the
primary normal form (1NF). Normalization is the process of organizing data in a database in the
order that it meets two basic requirements: there is no redundancy of information (all data is
stored in mere one place).
We need to get rid of such dependencies by going to the Third Normal Form (3NF). A
relation is within the third normal form if there is no transitive dependency for non-prime
attributes additionally because it is within the second normal form
For example, a recruitment table may include the name and address of a candidate's
university, but a complete list of universities is required to send a gaggle mail. If the
information is stored on the work seeker's desk, there are no thanks to listing the schools
where there are not any candidates. What will be done here is to form a separate
university. table and so attach it to the candidate desk. Although this is often theoretical,
there are problems with its implementation. this is often because in some cases this
method is not suitable for little tables. this is often most proper for a frequently changing
data party.
The fourth normal form (4NF) may be a level of database normalization where there are not
any non-trivial multivalued dependencies apart from a candidate key.
It builds on the primary three normal forms (1NF, 2NF, and 3NF) and therefore the Boyce-Codd
Normal Form (BCNF). It states that, additionally to a database meeting the necessities of BCNF,
it must not contain quite one multivalued dependency. This is also known as the Boyce Code
Normal Form (BCNF)
employee
ID Name Type
Employee
ID Name
SHA1 Plumber
SHA23 Plumber
Data validation is an important part of any data handling task whether you are within
the field collecting information, analyzing data, or preparing to present data to
stakeholders. If data is not accurate from the beginning, your results will not be accurate
either. That is why it is necessary to verify and validate data before it is used.
Data Validation
Insert
Update
Delete
(What is Data Validation? 202
Simple interface design for the user for getting the main idea of a system. It can design on a
wireframe or any interface designing tool.
Polly pipe company has six interface forms that the author created. They are,
Main form
Login Form
Employee form
Customer form
Installation form
Equipment form
Payment form
Login Form
It is designed with a simple interface including username and password.
Figure 8 Login Form (Author 2022)
Importance Of SQL
Additionally, SQL is intended for managing data, which makes it a robust tool for organizing
and processing large amounts of data. and at last, because SQL could be a standard language,
anyone who knows the way to use it can easily edit code written by some other person, making
collaboration much simpler.
2.2.1.1.DDL
CREATE
ALTER
DROP
TRUNCATE
COMMENT
RENAME
Syntax
Example
Drop used
Syntax
Example
Alter used
Syntax
Example
• ALTER TABLE CUS_DETAILS ADD (ADDRESS VARCHAR2(50)).
• ALTER TABLE CUS_DETAILS MODIFY (NAME VARCHAR2(50)).
Example:
2.2.1.2 DML
INSERT
UPDATE
DELETE
Insert Used
Syntax
For Example:
Syntax
For example:
1. UPDATE Installation
2. SET Name = 'Ranidu'
3. WHERE Installation_ID = '779'
Delete Used
Syntax
For example: