Design and implement a relational database

Assignment Help Database Management System
Reference no: EM131512641

Assignment

Overview

For this assignment you will implement and query a database from a supplied ER Diagram and sample data. You will be required to write the SQL statements to create the database structures; and the queries on the data to give the report results, as specified in the nnnnnnnn-query.sql template file. You also need to understand, and import the sample data found in the "ass2-itech1006-2017-INSERT sql" file.

Learning Outcomes Assessed

The following course learning outcomes are assessed by completing this assessment:

- A1.design and implement a relational database using a database management system

- A2.utilise a query language tools and techniques to obtain data and information from a database

- K5. describe relational algebra and its relationship to Structured Query Language (SQL)

- S1.interpret entity-relationship diagrams to implement a relational database

- S2.demonstrate skills in designing and building a database application using a commercially available database management system development tool

- S3.use a query language for data manipulation

Assessment Details

The board of A-league soccer have decided to modify their initial data base specifications, leading to a number of modifications from the initial model. The new aim of the A-league board is to provide members and fans access to data about players, clubs and matches, in order to help them with their tipping competitions.

You have been provided with the updated solution of the new logical data model, including the ER diagram and the data ready to be loaded in. You have been commissioned to continue your role, (in your capacity as a Database Management System consultant), to write the SQL statements to create the database and its tables; import the data; and to provide SQL solutions to a number of queries.
The database should be created based on the ER diagram, (found at the end of this document), and with the provided data. The provided sample data is to be used for inserting data into the tables. This data can be found in an accompanying file,"ass2- itech1006-2017-INSERT.sql". You will need to import this file into your database. You will also need to write some insert statements, (please refer to question j, in the "nnnnnnnn- query.sql" file). Further, in this template query file, you will also need to add the results to the rest of the provided queries.

To implement the database

1. Translate the provided ER diagram into a relational schema using the correct notations and standards for this course. It should include:

a. Table names

b. Attribute names and field types (as required by XAMPP)

c. Primary and foreign keys identified
(Please refer to the data file to get a better understanding of the types needed for the fields.)

2. Create a text file called nnnnnnnn-create.sql (where nnnnnnnn is your student number). The file should include:

a. The SQL statements to create a database called nnnnnnnnALEAGUE (where nnnnnnnn is your student ID - e.g. 30111145ALEAGUE)

b. The SQL statements to create the tables and attributes, including their primary keys, foreign keys and the relationships of the tables.

3. Import the data from the "ass2-itech1006-2017-INSERT.sql" file. You need to:

a. Read through this file and understand what the data types are

b. Rename nnnnnnnnALEAGUE (changing nnnnnnnn to your student number) in the USE [DATABASE] statement found near the top of the file.

4. Add the queries to the provided query template text file (nnnnnnnn-query).

a. Rename the nnnnnnnn component of the file name to your student number.

b. Provide the SQL statements necessary to display the results for all the English equivalent instructions a-l. Write these queries under each of the a-l commented query instructions in the file.

Your documentation should include:

1. A title page clearly stating your name and student ID and your tutor's name.

2. A copy of the relational schema you have developed from the ER diagram provided.

3. A copy of the two files you are required to create and include, (ie nnnnnnnn-create.sql and nnnnnnnn-query.sql).

4. Full APA referencing of any resources you have used to complete your submission

You should submit the following:

1. The documentation file described above EITHER as a MS word file, WPS file or a PDF. If you are using a mac, please submit in a PDF so I can be sure of opening it.

2. The nnnnnnnn-create.sql file (where nnnnnnnn is your student number).

3. The nnnnnnnn-query.sql file (where nnnnnnnn is your student number).

Please note that the SQL files must be in a text format (i.e. no formatting of the text). I will run the nnnnnnnn-create.sql and parse the nnnnnnnn-query.sql file.

Attachment:- Database.rar

Reference no: EM131512641

Questions Cloud

Describe strategic marketing management : Can you describe strategic marketing management in your own words? Do you need to go to some of the reading resources to get an understanding.
What challenges do leaders face in their organizations : What challenges do leaders face in their organizations? In order to answer this question, please take a "field trip" to the Northwood library.
Information technology professional networking : Over the past few years, the LinkedIn Web site has provided a valuable way for IT personnel to network on a professional basis.
Create a regression model that forecasts final grade : Create a regression model that forecasts Final Grade using the resources and attendance. Place the results below. Use either Excel of Minitab
Design and implement a relational database : Design and implement a relational database using a database management system and utilise a query language tools and techniques
Service-level agreements : When companies enter into a contract with a cloud-computing provider, the companies normally sign SLAs.
How selected contemporary public leader effectively applied : Explain how the selected contemporary public leader effectively applied leadership skills when dealing employees within the public organization they serve.
Images and appeal to higher-class consumers : Sears, JCPenney, and Walmart tried hard in recent years to upgrade their images and appeal to higher-class consumers.
Processes of project portfolio management : Levine (2005) describes two processes of project portfolio management; prioritizing and selecting projects and managing the projects.

Reviews

len1512641

5/31/2017 1:19:14 PM

Q k • Correct syntax • Correct tables/join used • Correct use of aggregation statement • Correct inequality used • Sub-query formulated correctly • Correct answer given 6 Q l • Correct syntax • Correct attributes used • Correct operator used • Correct tables/join used • Output formatted correctly 7 Total 100

len1512641

5/31/2017 1:18:59 PM

Q h • Correct syntax • Correct table used • Correct conditions used • Correct values found and used • Correct result for update 6 Q i • Correct syntax • Correct tables/join used • Where statement correctly formulated • Correct conditions/function • Output formatted correctly 6 Q j • Correct syntax • Correct tables used • Correct values inserted • Correct foreign keys given • Inserts done in correct order with correct results 10

len1512641

5/31/2017 1:18:50 PM

Q e • Correct syntax • Correct aliases • Correct tables/join used • Correct where clause 4 Q f • Correct syntax • Correct tables used • Correct use of aggregation statement • Sub-query formulated correctly • Correct answer given 5 Q g • Correct syntax • Correct table used • Correct condition used • Correct result for deletion 4

len1512641

5/31/2017 1:18:42 PM

4. SQL statements Total 65 Marks Q a • Correct syntax • Correct table used • Correct conditions used • Correct use of sorting statement 4 Q b • Correct syntax • Correct formula used • Correct tables/join used • Correct use of sorting statement 4 Q c • Correct syntax • Correct formula used • Correct tables/join used • Correct use of sorting statement 4 Q d • Correct syntax • Correct function used • Correct tables/join used • Correct aggregation • Correct aggregation conditions 5

len1512641

5/31/2017 1:18:35 PM

Assessment Criteria and Marking Overview Tasks Total 35 marks for sections 1 -3 Marks 1. Presentation • Cover page indicating student name and number and tutor name. • Page numbers included in report • Index giving page numbers of various sections • Overall presentation of the report • Full APA referencing of all materials used and full disclosure of assistance from all sources including tutors and other students. 5 2 Revised Schema • Any assumptions explained • All tables included • All attributes included, with applicable data types • Data types correct • Primary and foreign keys indicated and referenced correctly 10 3. Create Statements • File runs with no error messages • Database created correctly • All tables created correctly, • Applicable attribute types for the provided data • All primary and foreign keys created correctly • Any deletion anomalies corrected 20

Write a Review

Database Management System Questions & Answers

  Create a simple form for the sales rep table

Determine whether changes to the format of a datasheet are desirable - Determine whether validation rules, default values, and formats are necessary.

  Identify entity and relationships that implied by geocaching

Your task is to identify the entities and relationships that are implied by the geocaching cache page (see below). In effect, you will be analysing the structure of the database that supports the site.

  Explore and investigate technical problems of dbm systems

Your topic could come from a sub-problem of a cutting-edge research problem about these techniques (if you want to investigate and solve a technical problem), or a successful (or a planned) implementation in one of the above DBMSs (if you want to ..

  Why is a documentation plan important

What are the key components of change theory and how can they be put into practice?

  Who knows how to make an erd for database

Who knows how to make an ERD for database

  Functional dependencies present in the table

1. What errors prevent the table displayed above from being first normal form compliant? 2. List all the functional dependencies present in the table.

  Describe a minimum of three heuristics to optimize queries

Your supervisors and customers are very impressed with the database you have put together. Describe a minimum of three heuristics to optimize Queries.

  He club keeps track of mail and telephone contact

you are working for country club with thousands of members. you have been tasked with designing a database to keep

  Perform data mining steps on the given dataset

You will perform data mining steps (data preprocesing, classification) on this dataset and write your results in a project report in the form of a IEEE conference paper.

  Identify the different types of entities and attributes

In a group, identify the different types of entities, attributes, keys, and relationships Martex will want to consider when designing its relational database.

  Explaining cardinality of a relationship

What is meant by cardinality of a relationship? Your answer requires to be thorough and specific. Be sure to include the two types of cardinality

  Determine if the table satisfies 2nf

Determine if the table satisfies 2NF.  If the table is already in 2NF, say so.  If a table violates 2NF, say so and produce the 2NF tables.  It is sufficient to just list the results of 2NF 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