2025 Databases 621 Assignment
2025 Databases 621 Assignment
TECHNOLOGY
ASSIGNMENT INSTRUCTIONS
DECLARATION OF ORIGINALITY:
I hereby declare that this assignment is my own work and has not been copied from any other source except where due
acknowledgment is made. I affirm that all sources used have been properly cited and that this submission complies with
the institution’s policies on academic integrity and plagiarism.
Richfield Graduate Institute of Technology (Pty) Ltd is registered with the Department of Higher Education & Training as a Private Higher Education Institution under the Higher
Education Act, 1997, Registration Certificate No. 2000/HE07/008.
QUESTION 1 (30 MARKS)
1.1 Richfield Consulting recently hired you as a graduate database developer. They’re upgrading their
data storage from a manual paper-based system to a digital DBMS. As a graduate developer, critically
discuss the difference between a paper-based system and a digital DBMS, furthermore, highlight the
components, functions as well as the pros and cons of a DBMS.
2.1 Provide the necessary SQL code to create a table named Student, with columns as shown in
Figure 1. Ensure that the columns have appropriate data types. (5)
Figure 1: SQL Table
2.2 Provide the necessary SQL code to insert the data as indicated in Figure 2 (5)
2.4 Provide the necessary SQL code to change the Student_Surname for Thabisa from van Niekerk to
Ndlovu. (5)
Figure 4: SQL Table with updated values
2.5 Provide the necessary SQL Code to change the Column name ‘Student_Specialisation’ to Student
Module (5)
2.6 Provide the necessary SQL code to delete the Student table as well as the database the table is
stored in. For this question, assume the Student table is stored in a database named School. (5)
3.1 TechGen is upgrading their database from an excel spreadsheet to an RDMBS. They have given
you the following business rules. A store can have many employees but only one manager. An
employee must be a Technical Assistant or Desktop Technician. A manager can be a store manager
or a departmental manager. There can only be one store in one location, and each store can have up
to three (3) departments only.
Draw the EERD for TechGen and indicate multiplicity / cardinality (where applicable) as well as the
common attributes in each table. (15)
3.2 Consider the following report below. Convert the report into a set of BCNF tables (if possible). Fully
describe each step and clearly show relation schema.
(15)
*******************************************************END********************************************************