Write a create table statement for all tables

Assignment Help Database Management System
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.

 

Reference no: EM133567765

Questions Cloud

Calculate the tank circuit resonant frequency : Calculate the Tank Circuit Resonant Frequency, costs of the overall circuit and output to the screen with the description as shown in the sample run
What are three competing approache of organizational culture : What are the three competing approaches of organizational culture and how are they defined? According to Schein, describe the formal definition of culture.
Decision-making and drive improved business outcomes : Appraise an organization's competitive position by applying standards approaches and analyse activities/issues in recruitment, employment relations
What the correlation coefficient measures : What correlation coefficient measures. How correlation coefficient values used in portfolio theory, i.e. role of the correlation coefficient in portfolio theory
Write a create table statement for all tables : Write a Create Table statement for all tables including integrity constraints, Data may need to be inserted in a particular order to comply with the integrity
Process innovation and implementation strategy : Propose a process innovation and an implementation strategy to meet the needs of the Chinle population
What do we mean when we say sociology is a social science : What do we mean when we say sociology is a "social science"?? Explain each step of the scientific method. ? What is a hypothesis? A variable?
What role does genetics play in development of obesity : What role does genetics play in the development of obesity? Is there evidence that genes may become expressed that contribute to obesity?
Discuss how diagnoses can be problematic for children : Discuss how diagnoses can be problematic for children AND their families as it pertains to development and culture. Identify at least three (3) ways to minimize

Reviews

Write a Review

Database Management System Questions & Answers

  Knowledge and data warehousing

Design a dimensional model for analysing Purchases for Adventure Works Cycles and implement it as cubes using SQL Server Analysis Services. The AdventureWorks OLTP sample database is the data source for you BI analysis.

  Design a database schema

Design a Database schema

  Entity-relationship diagram

Create an entity-relationship diagram and design accompanying table layout using sound relational modeling practices and concepts.

  Implement a database of courses and students for a school

Implement a database of courses and students for a school.

  Prepare the e-r diagram for the movie database

Energy in the home, personal energy use and home energy efficiency and Efficient use of ‘waste' heat and renewable heat sources

  Design relation schemas for the entire database

Design relation schemas for the entire database.

  Prepare the relational schema for database

Prepare the relational schema for database

  Data modeling and normalization

Data Modeling and Normalization

  Use cases perform a requirements analysis for the case study

Use Cases Perform a requirements analysis for the Case Study

  Knowledge and data warehousing

Knowledge and Data Warehousing

  Stack and queue data structure

Identify and explain the differences between a stack and a queue data structure

  Practice on topic of normalization

Practice on topic of Normalization

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd