BIT358 Advance Database Assignment

Assignment Help Database Management System
Reference no: EM132624025

BIT358 Advance Database - Melbourne Polytechnic

Assessment - Database Design Report

Assignment Instruction:

Task 1 - ER Diagram

Create an ER Diagram using Crow's foot notation to represent the problem domain. (Use any suitable
diagramming tool e.g. Visio/Word)

i. Only maximum cardinalities are required
ii. Each entity needs to show the entity name, primary key , foreign key and atleast 4 more non-key attributes
iii. All M:N relationships are to be resolved into M:1/1:M relationships
iv. Any assumptions made must be stated

Task 2 - Relational Data logical model
Convert the above ER Diagram into a Relational Data logical model.

i. All primary keys must be underlined
ii. All foreign keys must be stated with bold and underlined format
iii. The relational table descriptions are to be in the form:

Task 3 - Data Dictionary

Create a data dictionary for the above relational data model using the following sample format. All data items must have suitable data types.

Task 4 - SQL Code

Based on the specification you have provided in the data dictionary. Create ONE SCRIPT for i, ii and iii.

i. Write the Oracle SQL code (in ONE script) to implement the relational data logical model. [10 marks deducted for code that does not work!]

ii. Define primary keys, foreign keys, NOT NULL, CHECK and UNIQUE constraints in the CREATE TABLE statement ONLY. You must use appropriate names for your constraints. [Note: a foreign key constraint requires the existence of the referenced table].

iii. (Oracle) - Choose an appropriate column to use the DEFAULT clause. Explain what is meant by DEFAULT and why this column is suitable to take such values.
OR
(SAS) - What is view in database? Create a view to display the teachers who are teaching Chemistry subject.

iv. Use appropriate INSERT INTO statements to populate each table. (at least 3 rows per table)

v. Use DROP TABLE statements for all tables in your script so that the database can be deleted and then created again every time the script is run.

vi. Demonstrate your knowledge of the ALTER TABLE statement by using three different examples in your script and explain briefly reason of writing this alter table command.

vii. (Oracle)This section requires some additional research. Ideally, your script would include a SEQUENCE. Using appropriate resources investigate the SQL sequence feature and use it to insert a value of the surrogate key such as SessionID. Display your knowledge of the use of sequences by the use of NEXTVAL. (HINT: NextVal should be used in the INSERT INTO statement)
OR

viii. (SAS) This section requires some additional research. List all the employees' full name by using PROC SQL Select statement and Macro variable assignment in SAS. Hint: Use PROC SQL with into and quit.

Attachment:- Database Design Report.rar

Reference no: EM132624025

Questions Cloud

Characteristics of successful organizational cultures : Compare and contrast the relative importance of the three characteristics that companies look for in managers as they rise through the management hierarchy.
Analyze the efforts that sas has exerted to motivate : Q1: Analyze the efforts that SAS has exerted to motivate its employees in terms of Maslow's hierarchy of needs.
Discuss the different types of decision errors : The Space Shuttle Challenger disaster occurred on January 28, 1986, when Space Shuttle Challenger broke apart 73 seconds into its flight
Managing proprietary and sensitive information : why do you think that employees in the organizations featured in the case do not realize themselves the dangers of loosely managing proprietary
BIT358 Advance Database Assignment : BIT358 Advance Database Assignment Help and Solution, Melbourne Polytechnic - Assessment Writing Service - Create an ER Diagram using Crow's foot notation
Find what the effect of a stock dividend is to : Find What the effect of a stock dividend is to? decrease total assets and stockholders' equity./ change the composition of stockholders' equity
Does the placement facilitate authentication in some way : What happens when we place the authentication system in our demilitarized zone (DMZ)-that is, in the layer closest to the Internet? What do we have to do.
Calculate the liability best must record : Best Ltd. has guaranteed a $800,000 loan of Grand Ltd., a customer. Calculate the liability Best must record, if any
What challenges do managers of the warehouse face : Please read Bloomberg Case in the News, "Amazon Effect" Is Hiking Pay and Fueling Land Rush in U.S., page 27-28 in the textbook, and answer the corresponding qu

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