Create the table structures from your developed erd

Assignment Help Other Subject
Reference no: EM133509454

Big Data And Analytics

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.

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

Question 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.

Question 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.

Question 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.

Question 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.

Question 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.

Question 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 a Relational 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: EM133509454

Questions Cloud

Explain why they are beneficial outside a religious : Comment on the Catholic perspective of sexuality. If you agree with any perspectives, explain why they are beneficial outside a religious or spiritual sense.
Establish a relationship with your spirituality and god : Tactics you can use to help reconcile your response to 1 and 2 above in order to establish, maintain or re-establish a relationship with your spirituality.
How did your community or communities shape your beliefs : How did your community or communities shape your beliefs and ideas about the world? What concepts or ideas in your culture do you not agree with? Why?
State what you want the recipient : contain all the elements/parts of an email, clearly state the purpose of the message, provide necessary details, state what you want the recipient(s) to do
Create the table structures from your developed erd : ITECH 1103 Big Data And Analytics, Federation University - create the table structures from your developed ERD. The structures should contain the attributes
Describe the goal of transportation regulation and policy : Describe the goal of transportation regulation and policy and explain why they are needed. How it has affected you in personal life or as a business manager.
Explain the word meaning in the meaning of life : In one own words, explain the word "meaning' in "the meaning of life". Why do you think this is important to understand?
Discusses relates to the design principles outlined : Discuss the previous questions as a class. Then, in groups, talk about ways to overcome these fears. Summarize your suggestions on this document.
What is relationship among knowledge skill and understanding : How does the new taxonomy differ from the old, and do you agree with the changes? What is the relationship among knowledge, skill, learning, and understanding?

Reviews

Write a Review

Other Subject Questions & Answers

  Cross-cultural opportunities and conflicts in canada

Short Paper on Cross-cultural Opportunities and Conflicts in Canada.

  Sociology theory questions

Sociology are very fundamental in nature. Role strain and role constraint speak about the duties and responsibilities of the roles of people in society or in a group. A short theory about Darwin and Moths is also answered.

  A book review on unfaithful angels

This review will help the reader understand the social work profession through different concepts giving the glimpse of why the social work profession might have drifted away from its original purpose of serving the poor.

  Disorder paper: schizophrenia

Schizophrenia does not really have just one single cause. It is a possibility that this disorder could be inherited but not all doctors are sure.

  Individual assignment: two models handout and rubric

Individual Assignment : Two Models Handout and Rubric,    This paper will allow you to understand and evaluate two vastly different organizational models and to effectively communicate their differences.

  Developing strategic intent for toyota

The following report includes the description about the organization, its strategies, industry analysis in which it operates and its position in the industry.

  Gasoline powered passenger vehicles

In this study, we examine how gasoline price volatility and income of the consumers impacts consumer's demand for gasoline.

  An aspect of poverty in canada

Economics thesis undergrad 4th year paper to write. it should be about 22 pages in length, literature review, economic analysis and then data or cost benefit analysis.

  Ngn customer satisfaction qos indicator for 3g services

The paper aims to highlight the global trends in countries and regions where 3G has already been introduced and propose an implementation plan to the telecom operators of developing countries.

  Prepare a power point presentation

Prepare the power point presentation for the case: Santa Fe Independent School District

  Information literacy is important in this environment

Information literacy is critically important in this contemporary environment

  Associative property of multiplication

Write a definition for associative property of multiplication.

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