Photo AI

4.1 One of your friends suggests that you hire a database administrator to help you create the proposed relational database - NSC Information Technology - Question 4 - 2017 - Paper 2

Question icon

Question 4

4.1-One-of-your-friends-suggests-that-you-hire-a-database-administrator-to-help-you-create-the-proposed-relational-database-NSC Information Technology-Question 4-2017-Paper 2.png

4.1 One of your friends suggests that you hire a database administrator to help you create the proposed relational database. 4.1.1 List THREE duties that are carrie... show full transcript

Worked Solution & Example Answer:4.1 One of your friends suggests that you hire a database administrator to help you create the proposed relational database - NSC Information Technology - Question 4 - 2017 - Paper 2

Step 1

List THREE duties that are carried out by a database administrator.

96%

114 rated

Answer

  1. Management: Overseeing the overall database environment to ensure it runs effectively.
  2. Maintenance: Performing routine checks and updates to keep the database functioning smoothly.
  3. Security access rights: Managing who has access to the database and ensuring data security.

Step 2

What is a relational database?

99%

104 rated

Answer

A relational database is a collection of tables that are linked together through defined relationships. This structure allows for efficient data management and retrieval.

Step 3

List TWO possible sources of data for your database.

96%

101 rated

Answer

  1. Existing documents: Such as invoices or sales records that can provide valuable data.
  2. Existing workflows: Current business processes that can highlight necessary data points.

Step 4

What is involved in data maintenance?

98%

120 rated

Answer

Data maintenance involves keeping information up to date to ensure the reliability and accuracy of the data stored in the database.

Step 5

What is the general aim of normalization?

97%

117 rated

Answer

Normalization aims to organize a database into separate tables to reduce data redundancy and avoid update anomalies.

Step 6

Which field would you regard as redundant? Motivate your answer.

97%

121 rated

Answer

The Owner's Name field is redundant because it can be derived from the Owner_ID field, which references the owners table.

Step 7

Using SQL, split the database into TWO tables. Clearly indicate the table names, primary and foreign keys as well as the relationship between the tables.

96%

114 rated

Answer

  1. Owners Table:

    • Primary Key: Owner_ID
    • Fields: Owner_ID, Name, Contact
  2. Clothes Table:

    • Primary Key: Clothes_ID
    • Foreign Key: Owner_ID
    • Fields: Clothes_ID, Item, Basket, Category, MarkUp, Total

Relationship: Owners Table (1) to Clothes Table (N) indicating that one owner can have multiple items.

Step 8

Write a statement to show all the information from the table arranged in ascending order according to the price.

99%

104 rated

Answer

SELECT * FROM Stock_DetailsTB ORDER BY TotalValue;

Step 9

Write a statement that will delete the item in the old basket called Dress.

96%

101 rated

Answer

DELETE FROM Stock_DetailsTB WHERE Item='Dress';

Step 10

Malcolm Peter's phone number has changed. Please update it to 0715624117.

98%

120 rated

Answer

UPDATE Stock_DetailsTB SET Contact = '0715624117' WHERE Owner's Name = 'Malcolm Peter';

Join the NSC students using SimpleStudy...

97% of Students

Report Improved Results

98% of Students

Recommend to friends

100,000+

Students Supported

1 Million+

Questions answered

;