Reference no: EM133567765
Database Systems
Overview
In this assessment, you will apply normalization techniques to evaluate the entities designed in Assessment 1 and ensure that all relations are normalized to at least the third normal form (3NF).
Objectives(s)
This assessment item relates to the unit learning outcomes as in the unit descriptor. This assessment is designed to improve students' skills to analyze organization database requirements, normalize a database and use data manipulation language to manage a database. This assessment covers the following LOs.
1. Derive a physical design from the logical design taking into account application, hardware, operating system, and data communications networks requirements; further use of data manipulation language to query, update, and manage a database
2. Identify functional dependencies, referential integrity, data integrity and security requirements; Further integrate and merge physical design by applying normalization techniques.
3. Design and build a database system using the knowledge acquired in the unit as well as through further research on recent trends to demonstrate competence in various advanced tasks with regard to modelling, designing, and implementing a DBMS including Data warehousing, Data Management, DB Security.
Assessment Criteria
This assessment is designed to assess student's knowledge, skill and application of knowledge and skill in relation to
1. Design guidelines for relational schemas.
2. Database design process.
3. Application of normalization techniques.
4. Building a database.
5. Data manipulation language.
Task 1
Ensure all tables designed in Assignment 1 satisfies the design guidelines for relational schemas.
• Identify any non-semantic columns in each table and transform tables where the tables should have semantic columns.
• Identify tables which could possibly have any anomalies and remove all anomalies from the tables.
• Identify any columns which may have frequently null values and remove or revised those columns. If nulls are unavoidable, then make sure that they apply in exceptional cases only.
• Identify any possibility of spurious tuples and avoid such relations that contain matching columns that are not primary key and foreign key combination.
Task 2
Apply normalization technique on all tables designed in Assignment 1.
• Identify any repeating group of columns in each table and transform unnormalized tables into tables that are in 1st Normal Form.
• Identify any partial dependencies in each table and transform 1NF table into tables that are in 2nd Normal Form.
• Identify any transitive dependencies in each table and transform 2NF table into tables that are in 3rd Normal Form.
Task 3
This task must execute on MS SQL Server and be able to be demonstrated. SQL code required (Use MS SQL Server):
• Write a Create database statement to create a database and also, write a Create Table statement for all tables including integrity constraints.
• INSERT INTO statements for populating the database.
o You must at least enter 5 records for each table.
o Data may need to be inserted in a particular order to comply with the integrity constraints.
• SELECT statement that will list all houses / apartments that have not been rented.
o The details may be included like house id, classification, number of bedrooms, number of washrooms, garden, parking for number of cars, rent per day, etc.
• SELECT statement that will produce the total amount paid per customer.
o The details may be included customer id, registration date, customer name, customer address, customer phone number and total amount paid, etc.
IEEE referencing style.