Investigate questions about the importance of sociality

Assignment Help PL-SQL Programming
Reference no: EM132375198

Database Programming

Background

Dr. Celine Frere's research group is based at USC Sippy Downs and studies wild animal populations to understand how animals evolve and to improve their conservation outcomes. Although Dr. Frere has contributed to research on a variety of species throughout her career (from giraffes to porpoises), her research group focuses on three main species: koalas on Australia's east coast, eastern water dragons in Brisbane's Central Business District, and bottlenose dolphins in Shark Bay Western Australia.

The eastern water dragon project is one of the most important projects of Dr. Frere's research group. This project was established around Brisbane's CBD in 2010. These dragons are bigger and bolder than their non-urban counterparts. They are also diversifying at rates that allow for the study of evolution in action. Dragons in Brisbane city show significant levels of genetic divergence despite the small geographic distances between parks (<5 km), and significant differences in morphology (body size, head and limb shape and forelimb and hindlimb length) depending on the park they reside in. This project has shown that, like mammals, dragons have preferred associates or "friends", social dominance hierarchies, and even share avoidances. Each dragon in the Parkland is identified by a unique scale pattern around each eye. By studying the behaviour and social networks of these lizards over their lifespans and across generations, Dr. Frere's research group is able to investigate questions about the importance of sociality to health, reproductive success and evolution.

The Problem

Dr. Frere's research group has a huge database written and maintained in Microsoft Access that they wish to port to MySQL. Their database has thousands of records that cover information about the eastern water dragons such as description, morphology and when they were contacted. Their database has also a series of views to facilitate complex queries by the numerous researchers that work within Dr. Frere's research group.

Unfortunately, their database has only 2 tables. You will be given 2 excel spreadsheets representing those tables and a subset of their data, and a data dictionary for the table fields. Your main task is to look at the spreadsheets and propose, justify and implement improvements to the database to make it more efficient.

Your assignment is in two parts: Part A: Report, Part B: Code. You are required to submit three files:

<student_Number>_<student_first_name_last_name>_ICT320_PartA.docx

<student_Number>_<student_first_name_last_name>_ICT320_PartB.sql

<student_Number>_<student_first_name_last_name>_ICT320_PartB.py

You are not to contact Dr. Frere's research group directly as this takes valuable resources

away from field group. All client communication is to be directed through your lecturer/tutor or via the course coordinator Mr. Adriano da Silva Marinho.

Please note that all data is copyright and owned by Dr. Celine Frere's research group and or USC and is used with their permission for the purposes of this assignment. Further distribution of this data is not permitted.
For the data dictionary, please refer to the documents "User table and field descriptions.xlsx" and "Behavioural Surveys 2018.docx".

Submission Format and Requirements

For Part A you are to include an analysis of the current database design in a word document or PDF. You should include:
• Identification of major implementation flaws in the existing system, and/or areas for improvement, including (but not limited to) o Removing repeated data, o De- normalization for optimization o changing some areas to NoSQL (if so, include what type of NoSQL database).
o Rational for the creation of each specific constraint (Foreign Key and Unique) and/or index.
• Identification of the current Normal Form of the system.
• An ER Diagram for the current design of the system, and an ER Diagram for the re-designed system.
• Your assumptions and any supplementary design requirements regarding the system.
For Part B you are to submit
• A single plain text file, named
<student_Number>_<student_first_name>_<student_last_name>
_ICT320_PartB.sql. In this file you are to include all the SQL for your database modification. This includes:
o ALTER/CREATE TABLE statements for:
- Changes proposed in your redesign from Part A
- Commands for the missing FOREIGN KEYs, INDEXes and
UNIQUEness constraints.

o CREATE VIEWs for

- Animals vs Date vs Time vs Location: you are to create a view that lists all the animals that have been contacted by a researcher. This view should list the animal name, their contact location, the date and the time.
- Number of contacts per animal: you are to create a view

that lists the number of contacts for each animal.

o CREATE PROCEDUREs for

- Animal with the greatest number of contacts: You are to create a procedure that looks into the view described above and returns, as an output parameter, the animal with the greatest number of contacts.
- Year with the greatest number of contacts: You are to create a procedure that looks into the database and returns what was the year where the greatest number of animals was contacted.
o You need to test your database with some of the data provided to you. You are free to use any subset but make sure the subset you use accounts for any constraints you created or assumed. PAY ATTENTION TO THE DATA DICTIONARY, THERE ARE LEGACY FIELDS THAT SHOULD BE INCLUDED IN YOUR DESIGN.
• A single plain text file named
<student_Number>_<student_first_name>_<student_last_name>
_ICT320_PartB.py. In this file you are to include the Python for your programming implementation. This includes:
o Calling and outputting as a single HTML page for each of the views (i.e. a SELECT * for both views)
o In the same HTML page, calling and outputting the results of the procedures
o Format the views as tables.

Attachment:- Database Programming.rar

Reference no: EM132375198

Questions Cloud

Legal claims could patty make against cash mart : What types of legal claims could Patty make against Cash Mart, Gerry, and Acme Corporation? What are possible tort claims that Patty can make against Cash Mart
Difference between clinical and statistical significance : Not all EBP projects result in statistically significant results. Define clinical significance, and explain the difference between clinical and statistical.
Comparative programming languages - parallel implementations : Programming applications to specification in a number of different programming languages - Comparative Programming Languages - Parallel Implementations
Rules with regard to curfew and drinking alcoholic beverages : she went to her coach and accused Jean of violating team rules with regard to curfew and drinking alcoholic beverages
Investigate questions about the importance of sociality : ICT320 - Database Programming - University of the Sunshine Coast - Investigate questions about the importance of sociality to health, reproductive success
What statements about diversity are included : Locate the Web site of a major corporation of your choice. What statements about diversity are included? Is there a nondiscrimination policy?
How will given help george determine goals for coaching : Consider the case of George in Chapter 3 of the text. How does Proschaka's six stages of developmental change apply to the case? Discuss the three of the.
Explain tort and criminal law on business : Explain tort and criminal law on business. it is very specialized and carries only parts for old British cars like MGs and Triumphs.
Identify the client goals and objectives for coaching : Create a questioning strategy you will use to determine the goals of your client. Include two to three scholarly resources to support your questions.

Reviews

len2375198

9/23/2019 10:35:31 PM

The completed assignment is to be submitted to Blackboard by the due date of Friday 11h59pm Week 12. The assignment will be assessed according to the marking rubric. Late submission will be penalized according to the policy in the course outline. Please note Saturday and Sunday are included in the count of days late.

Write a Review

PL-SQL Programming Questions & Answers

  Create a database model

Create a database model and Submit the table creation statements for the Database Model.

  Write pl-sql procedures and functions

Write PL/SQL procedures and functions to populate and query that database

  Sql questions

Write a query to display using the employees table the EMPLOYEE_ID, FIRST_NAME, LAST_NAME and HIRE_DATE of every employee who was hired after to 1 January, 1995.

  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.

  Write sql queries

Write a query to display the last name, department number, and salary of any employee whose department number and salary both match the department number and salary of any employee who earns a commission.

  Explaining sql insert statement to insert new row in cds

Write down a SQL insert statement to insert new row in "CDS" table.

  Write down name of actors in ascending order

Write down actors (or actress, your choice, but not both) who have won at least two (2) Academy Awards for best actor/actress. Provide the actor name, movie title & year. Order the result by actor name."

  What is an sql injection attack

What is an SQL injection attack? Explain how it works, and what precautions must be taken to prevent SQL injection attacks.What are two advantages of encrypting data stored in the database?

  Determine resonant frequency in series rlc resonant circuit

Given the series RLC resonant circuit in the figure, operating at variable frequency, determine: The resonant frequency ω o ,  The circuit’s quality factor Q , The cut-off frequencies, f 1  & f 2  and the bandwidth BW

  Query that uses cube operator to return lineitemsum

Write summary query which uses CUBE operator to return LineItemSum (which is the sum of InvoiceLineItemAmount) group by Account(an alias for AccountDesciption).

  Query to show customers were missing for existing orders

As DBA, your manager called a meeting and asked why there are so many orders for customers that don't exist in the customer table. Write query which would shows which customers were missing for existing orders. Use a join or a subquery.

  Sql query into a relational algebra statement

Turn this SQL query into a relational algebra statement? SELECT Request.reqfor, Ordering.invamt, Ordering.invnbr, Ordering.invdat

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