Implementing a relational database for case study

Assignment Help PL-SQL Programming
Reference no: EM133137865

ITECH1103 Big Data and Analytics Group - Federation University

Assignment: SQL Database

Overview
The purpose of this task is to develop student's skills in designing and implementing a relational database for a given case study.

Assessment Details

Background

You are to design a scenario of your choosing. This scenario will be modelled initially as an ERD, and then implemented in SQL statements. As well as creating the requisite SQL Tables, you will need to manufacture data that is imported into these Tables. You will then be required to develop several SQL queries to provide key functionality for your database.

Requirements

1. Scenario choice: your chosen scenario must include at least three entities which are related to each other. This really can be anything you choose, but you are advised to choose something you have knowledge of, to make the exercise easier. An example could be a hobby that you have - perhaps you enjoy a sport, and you wish to develop a database that models some form of performance related to the teams and games played in this sport. Another example could be a part-time job you may have, and you may wish to develop a database to assist some aspect of that business. Another example could be some area of science, perhaps an engineering type application that models a power station or a factory or an experiment of some kind. Because this "brief" is very open-ended, you are recommended to check your chosen scenario with the teaching staff to make sure it is suitable. A final consideration when thinking of your scenario are the list of SQL queries that you will need to execute within your database. For instance you will need to include certain search and statistical functions, so your scenario will need to be sophisticated enough to make these queries possible. PLEASE NOTE: each student is required to develop a UNIQUE scenario - it will not be permitted that two students use the exact same scenario.

2. Your ER Diagram must include at least three entities. There is no upper bound on how many entities you choose, but you are advised to include no more than five. Design your ER Diagram with all entity names, attribute names, primary and foreign keys, relationships, cardinality and participation indicated. You will need to normalise all of your entities, to resolve any many to many relationships.
Observe the following restrictions when creating your scenario:
- One (or more) of your entities must have a numeric field
- One (or more) of your entities must contain an alphanumeric (varchar) field
- One of your entities must contain a compound key
- Do not have include cyclic relationship (A->B->C->A)
Your attribute names, primary and foreign keys should be indicated as per the conventions given in the lecture slides (i.e. attributes as proper nouns, primary key underlined and foreign keys in italic
All many to many relationships should be resolved, and you may wish to include a discussion of normalisation including the normal form that each entity is in and why that is optimal.

3. For each entity, you must create some example data for that entity. Include at least 10 rows of data for each entity. This data must be initially stored in a text file that will be imported into the database.

4. Write the SQL statements to create the table structures from your developed ERD. The structures should contain the attributes specified in your ERD. Use data types that are appropriate for the data that will need to be stored in each attribute. Enforce primary key and foreign key constraints as indicated by your ERD. Write the SQL code to insert your data from
(3) into the SQL table structures.

5. Write the SQL statements that provide the following database functionality:

Query 1. Write an SQL statement that correctly uses the ‘LIKE' symbol on an alphanumeric field to select a subset of data. Explain the purpose of your query for your database solution.

Query 2. Write an SQL statement that correctly implements a JOIN statement over two or more entities to select a subset of data. Explain the purpose of your query for your database solution.

Query 3. Write an SQL statement that correctly uses the ‘>' operator to select a subset of data for a single entity. Explain the purpose of your query for your database solution.

Query 4. Write an SQL statement that correctly uses the ‘GROUP BY' operator to select an aggregation of data (e.g. SUM, AVG, COUNT). Explain the purpose of your query for your database solution.

Query 5. Write an SQL statement that correctly uses the ‘IN' symbol to select a subset of data for a single entity. Explain the purpose of your query for your database solution.

Query 6. Write an SQL statement that correctly uses the ‘UPDATE' symbol to modify at least three rows of data in one of your tables. Explain the purpose of your query for your database solution.

6. Write a short section (two or three paragraphs) about some aspect of your scenario that might be too difficult or very complex to implement in an SQL database.

Documentation requirements
1. Prepare a report (single Word or PDF document) which contains the following: a). ER diagram based on your created scenario
b). Example data
c). A copy of your SQL code - you must also provide associated output (as screengrabs, inserted into the report)
d). Statement of any resources used. These includes full disclosure of assistance from all sources including tutors and other students. Full APA referencing of any resources used.

Reference no: EM133137865

Questions Cloud

Prepare consolidated statement of financial position : On 31 December 2010, the Statements of Financial Position of each the two companies were as follows: Prepare Consolidated Statement of Financial Position
Adding performance pay to compensation mix : The Moka House Owner's are considering adding performance pay to their compensation mix. provide compensation advice to the owner's, what would you recommend an
How hr can help the manager through the topic : Research the topic of TELECOMMUTING / WORKING FROM HOME and in a page long summary, discuss what you learned. The objective is to discuss the topic in a way tha
Racial diversity in tourism and hospitality industry : How many economic problems pose a challenge to social class diversity?
Implementing a relational database for case study : SQL Database Assignment - Develop students skills in designing and implementing a relational database for a given case study
What is equity in the workplace : What is equity in the workplace? How to implement equity in the workplace?
Demonstrated ability to perform crucial operations : All except which of the following are acceptable factors to consider when deciding layoffs?
Making furniture and durable home decoration products : XYZ company is in the manufacturing industry making furniture and durable home decoration products. Workers have limited interactions with each other as they wo
How much economic profit did they earn : Their implicit costs of production are $4,000 and their explicit costs of production are $10,000. How much economic profit did they earn

Reviews

Write a Review

PL-SQL Programming Questions & Answers

  Build cross-cultural awareness

Working across cultures can be enriching and meaningful. Colleagues can build cross-cultural awareness by engaging with people who are similar to and yet different from them. At the same time, working across cultures also has its challenges.

  Demonstrate use of sql to perform olap operations

DS 715 - Assignment - Demonstrate use of SQL to perform OLAP operations; Estimated time to complete: 40 min reading +45-50 min.

  Display the output of the sql statement

Write a procedure that takes a car registration and returns the most recent date of rental and the maximum rental period for that car.  The procedure had the following formal parameters

  Design and implement the best deal business database

In this assignment, you are to design and implement the Best Deal business database that you have modelled in the assignment-1 and a series of SQL queries to reflect the business logic of the Best Deal.

  Manipulate the data in the solution

Create the database schema for the relational database system and manipulate the data in the solution that you are proposing to the company

  Explain the advantage of using mysql transaction

Explain the advantage of using MySQL transaction and its integrity? Please give an example - describe and provide either PHP/MySQL coding evidence or the screenshot evidence of PHP/MySQL coding

  Run the lab_03_01.sql script

Run the lab_03_01.sql script in the attached file to create the SAL_HISTORY table. Display the structure of the SAL_HISTORY table.

  Find certain governors general of australia

Find certain Governors General of Australia. Find all Governors General of Australia who were Barons at the time of their appointment. List them by Title and name and date that they were appointed to the position. Order the list by ascending date o..

  Explain your experiences related to your setup of mysql. in

Describe your experiences related to your setup of MySQL. Include any difficulties or issues that you had encountered during the installation.

  Demonstrate use of ssas interactive features

Demonstrate use of SSAS interactive features and MDX queries to perform OLAP operations - Basic understanding of cubes with dimensions, measures, and hierarchies is sufficient for creating OLAP queries.

  How you approached normalization

How you approached normalization. Design and develop the below queries using professional principles and standards.

  Retrieve the title of the course along with the number di

Retrieve the title of the course along with the number DI students who registered in this course in order of the student registration number.

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