>> Database Management System
Relational Database Systems Assignment
Goal: To develop a relational database solution to solve a real world data storage and manipulation problem. This task will help to build your knowledge of relational database design and implementation techniques, and the ethical and sustainability implications of appropriate database design and implementation.
Product: A report and set of SQL files that together document the analysis of and solution to the prescribed real world situation.
Format: Further details will be available on Blackboard in the assignment specification.
Criteria - You will be assessed according to your use and application of:
- Insightful analysis of the given problem
- Critical reflection on the appropriateness of the design and implementation according to ethical and sustainability principles
- Design completeness and accuracy
- Consistency and ability to apply appropriate translation strategies through the different levels of design
- Correctness and completeness of the SQL implementation
Background - Australia Zoo Wildlife Hospital (AZWH) is a charity organization that exists to treat and or care for sick, injured or orphaned wildlife. They are brought animals from across South East Queensland, and beyond, and are re-knowned for their specialization in both Koalas and Sea Turtles.
As a charity that operates separately from the main Australia Zoo company, the Zoo runs with very little funds. As part of an ongoing agreement between University of the Sunshine Coast and Australia Zoo Wildlife Hospital, we are re-developing their database systems.
Stage one is the Accession (admissions) system which stores information on who brought in the wildlife, where it was found, suspected injuries, initial triage and/or vet notes and what wildlife career if any the animal is assigned to for re-habilitation or care. Animals are brought for a large variety of reasons and sometimes multiple reasons, and the database is to record these and be able to query them.
The Wildlife hospital can see up to 6000-8000 admissions per year, and there is a large database of information that is maintained both for their own record keeping and for regulatory requirements set down by the State and Federal Governments. One such regulatory requirement is that all Koalas treated in Queensland are given a unique QPWS (Queensland Parks and Wildlife Service) identifier that must be maintained. A monthly report is generated to give to QPWS on these koalas and their treatment. Other wildlife such as birds can be either transferred in or out of AZWL, and as such may have more than one ID that the database needs to be able to store, recall and query.
In appendices of this document you fill find an example of a blank Australia Zoo Wildlife Hospital Accession form, a list of conditions that the animals may suffer, a partially completed form. These will form the basis of your universe of discourse. Sample data will be made available in or before in week 11 of semester (this is to have you consider your design before implementation).
User Reports - For the purposes of your assignment you are to create queries for the following user reports. The queries should be in the main .sql file but separated by a comment showing which query it is. Eg. # Query 2.a.i
You should include the query used on your database design to get that data.
1. List the patient id, accession number, animal name, and breed for all animals, sorted by animal type, that are currently being treated (where they have not been released, or sent to a carer or other facility).
2. Monthly report (this is multiple queries):
a. list the total for all in-coming accessions in the previous calendar month grouped by
i. Local government area
ii. Cause of affliction
b. List the total number of accessions for this month in the previous years.
3. List all details for Carer Groups with an expired permit.
Attachment:- Assignment Files.rar