Advanced Database Design and Development Assignment

Assignment Help Database Management System
Reference no: EM132391580

300941 - Database Design and Development (Advanced) Assignment - Western Sydney University, Australia

For all the SQL queries in this assignment, students need to submit their SQL statements constructed directly, that is, not to generate the SQL script for you by the GUI, as this would defeat the purpose of practicing how to formulate SQL queries directly.

All required screenshots must be clearly readable, and the relevant text in on the screenshots must be directly legible on a normal A4-sized printout of the submitted document.

Q1. Database modelling

In this part, you are asked to design a database to support a Coach Booking System. The major business requirements are summarised below in the Mini Case: A Coach Booking System. You are asked to develop a detailed Entity-Relationship model for this mini case. Your ER model should consist of a detailed ER diagram integrated with itemised discussions on the features of the entities and relationships and all the assumptions you made where applicable. The ER diagram and the accompanying document should identify keys, constraints, entity types, relationship types, specialisation/generalisation if any, etc. You must use the same notation scheme for the ER diagram as the textbook (use UML notations as shown in the last page of the textbook, and don't use Crew Foot notations), and the ER diagram should be strictly in the way the textbook uses for. We note that our past experiences show drawing an ER diagram on Microsoft Powerpoint gives one better control and flexibility when compared with drawing diagrams with Microsoft Word.

i. The ER diagram should include, among others, representative attributes for all entity types, proper subclassing if any, and correct participation multiplicities for the relationship types. It should be meaningfully and well designed, and should also include all relevant and necessary aspects, and indicate any supplementary business rules if you decide to introduce.

ii. Map the above ER diagram into a global relation diagram (GRD). The GRD should be in a form similar to Figure 17.9 of the textbook, but all the attributes should be kept there too. Include in the diagram all the primary keys, foreign keys, and the multiplicity constraints.

iii. Please note that an ERD is the artefact of the conceptual database design phase, while a GRD is the artfact of the logical database design phase which relates to the relational models. As such, a good ERD should be conceptually more concise and the relationships there should in general remain so rather than becoming extra entities as in a relational model.

Q2. More analysis and SQL

i. Create the database tables in SQL (runnable on the School's Microsoft SQL Server) for all the relations in your relation diagram, and enforce there all the relevant constraints including primary keys and foreign keys. Fill the tables with sufficient data - generally around 3 tuples or more per table, but should be sufficient to illustrate meaningfully the working of the general queries to be completed below. List the content of your tables with screenshots. Screenshots of active windows (under Microsoft Windows) can be obtained by pressing CTRL-ALT-PRTSC keys together, see the example on the right. Your screenshots must contain your username as in the above example, and you may list several tables on a single screenshot if you wish.

ii. Write in SQL the commands to complete the following queries, and show your results in screenshots. Where parameters for the queries below are not completely specified, the parameters should be chosen so as to generate non-trivial (non-empty) results for the queries.

(a) For a given coach and a given date, list all the names of the clients who have a booking with the coach for that day.

(b) List all the coaches and their respective total number of coaching hours that are ever booked for.

(c) For a given date, say 1 Oct 2019, list all the coaches booked for that day, the corresponding booked coaching timeslot and venue, and the name of the client. The output should be properly sorted.

(d) For a given timeslot, say 1 Oct 2019 between 10-11am, and for a training item, say tennis or anything of your choice, list all the coaches who are still available, that is, who have not been booked for the timeslot yet.

iii. For your final designed database, find a scenario in which a relatively prominent business data integrity can not be ensured by your current primary keys and foreign keys, nor by adding directly more of such keys or check clauses in the created tables. In other words, the data integrity ensured by the keys within the database may not be enough to ensure all the data integrity within the business context. Write a SQL statement that will determine if such a problem exists or not, and where, for any given state of the database.

Attachment:- Database Design Assignment File.rar

Reference no: EM132391580

Questions Cloud

Level of measurement of age taking : Identify the most likely level of measurement of AGE taking into account the coding used.
Rate of gonorrhea in a population : An epidemiologist is interested in the rate of gonorrhea in a population of 2500 college students who are known to be at risk for this disease.
Experience alcohol-related arrest : In a study of binge drinking among undergraduates at Ohio University, a researcher was interested in gender differences as related to binge drinking
Calculate the population density per square mile : Imagine a very crowded large city, with each person standing on his or her own 2-foot-by-2-foot square, where the squares are adjacent
Advanced Database Design and Development Assignment : 300941 - Database Design and Development (Advanced) Assignment Help and Solution - Western Sydney University, Australia - Develop a Entity-Relationship model
Assess the impact of the program statistically : Assess the impact of the program statistically. Use a two-sided test and let alpha = 0.05.
Spiny lobster fishermen fishing in the west coast : Assume prior knowledge indicates that the trap spacing readings for the population of red spiny lobster taken during a day
Histogram or bar chart or another type of graph : If you were graphing data related to times of the day in three hour blocks (eg/ 12:00-02:59, 03:00-5:59 etc) and pedestrian accidents
What is the probability that a 3 was rolled : Suppose all of the balls taken out are blue, what is the probability that a 3 was rolled?

Reviews

Write a Review

Database Management System Questions & Answers

  Write an essay describing the use of an olap data cube

Write a 2 to 3 page essay describing the use of an OLAP Data Cube. Your essay should also describe the operations of Drill Down, Roll Up, Slice, and Dice.

  Draw the dependency diagram and identify all dependencies

Write the relational schema for the above table, draw the dependency diagram, and identify all dependencies, including all partial and transitive dependencies.

  Database application development question

Submit an Executive Memo addressed to the CIO and the board of directors. Last week, the CIO reviewed your presentation and has decided to move forward with your recommendations for improvements.

  Develop relational databases that are secure

DATABASES-LEVEL-YEAR TWO, SEMESTER TWO-National Council for Higher Education- BACHELOR OF INFORMATION TECHNOLOGY.

  Create a good project based on online diary and event manage

Create a good project based on online diary and event management. users can register and create daily/weekly/yearly events,create contacts,upload media and sent messages to their friends.

  Discuss about the data management research paper

Discuss about the Data Management Research Paper.Explain the Database Management System.

  Construct the final dataset

The data preparation phase covers all activities to construct the final dataset (data that will be fed into the modeling tool(s)) from the initial raw data

  Describe an example of a very poorly implemented database

Describe an example of a very poorly implemented database that you've encountered (or read about) that illustrates the potential for really messing things up.

  Create an erd and relatioal schema

Create an ERD and relatioal schema in third normal form based upon the following business rules. (Hint: ensure that all attributes are FULLY DETERMINED by the primary key.) Don't forget to place your normalization arrows on your relational schema.

  Design pattern for web based database interfaces

We have implemented the MVC design pattern for Web based database interfaces. However, there are other design patterns that may be directly applicable to PHP programming, or web programming in general.

  Design entity relationship diagram for mail order database

Design an Entity-Relationship diagram for the mail order database and enter the design using a data-modeling tool such as ERWin.

  Dsign document 1write a four to sixnbsp page design

this assignment consists of two sections a design document and a revised project plan. you must submit both sections

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