Case study - australian native plants ltd

Assignment Help Database Management System
Reference no: EM132315622

Case Study: Australian Native Plants Ltd - Online CRM Database

Background

Important requirements

Josh would like to use the sample code that you create. For this reason you MUST:

• Incorporate MySQL database and its corresponding SQL and procedural language,
• Sequence your script so Josh can run (and re-run) it as one sequential script without error

Required native plant cost calculation stored procedure / function

Clients can purchase native plants from any ANP member. However shipping costs for shipping plants within that ANP member's state is much cheaper than sending them interstate. Anna has a shipping cost agreement among ANP coop members as follows:

• If a client purchases plants from ANP members located within the client's state or territory, the total price for the plant delivered to the client will be the listed price plus the unit shipping cost.
• for all interstate purchases the client will multiply the corresponding shipping multiplier (table below) by the listed price.

Assignment Requirements and Deliverables

Part A - Submitted as a MS Word Document:

• Entity Relationship Diagram in Crows Foot Notation
• Relational Schema - including Primary and Foreign Keys
• Supplementary Design requirements - for example but not limited to:
o information on length of identifiers, postcodes, names,
o data attribute information (compulsory, variable length / type, etc.)
• Assumptions

Part B - Submitted as a single plain text file with name <studentNumber>_crm.sql, containing all your SQL implementation:

IMPORTANT NOTES:
• Josh uses a MySQL database. Your Part B MUST work on a MySQL database and be able to be demonstrated to Josh so he is able to apply your SQL implementation into the ANP website.
• Where you are asked to incorporate the exact data provided there will be a Zero (0) mark awarded if different data is incorporated.
Instructions:
• CREATE TABLE statements for all tables including integrity constraints,
• CREATE TRIGGER statements:
o Automatically insert a message to the Message table when a client order is placed,
• CREATE FUCNTION / PROCEDURE
o implement the native plant cost calculation as a function or stored procedure.
• INSERT INTO statements for populating the database:
o Incorporate the exact 6 nursery ANP member names given in the dataset (make up email addresses and phone numbers)
o Incorporate the exact 11 plants and their names given in the dataset
o Incorporate the Shipping Multiplier table into the database as an entity / table - it is recommended to use the abbreviated state name in the database (Vic, Qld, NSW, etc.)
o Create your own member plant pricing for plants and their shipping costs (at least 3 plants for 3 members)
o Create at least 3 client entries
o Create at least 3 client orders
o Data may need to be inserted in a particular order to comply with integrity constraints,

• SELECT statement/s that will produce the following data for a sample order (you will need to have the data in the database for this query):
o The Client ORDER will include:
– client name and account number,
– order number / id and the total amount for the order,
– order date,
– At least three order items:
• item name,
• quantity,
• price,
• shipping cost,
• item total cost incorporating the native plant cost calculation Function / Procedure (HINT a function is much easier to call in a SELECT statement)

• SELECT statement that will produce order report based on an order status for all member nurseries (you will need to have the data in the database for this query):
o List of all orders with a particular order status
o the report will be grouped by member nursery,
o each line will list the participating nursery name, nursery state, total number of outstanding orders, and the total value of those orders

Attachment:- Database Design.rar

Reference no: EM132315622

Questions Cloud

Analyse the difficulties the company faced : Analyse the difficulties the company faced when implementing this strategy in Malaysia - A minimum of 15 academic papers should be part of your literature
Prepare a forecasted contribution margin income statement : The marketing manager believes that increasing advertising costs by $125,000 in 2018 will increase the company's sales volume to 12,400 units.
Entity relationship diagram in crows foot notation : Entity Relationship Diagram in Crows Foot Notation - Data may need to be inserted in a particular order to comply with integrity constraints
Prepare a contribution margin income statement for 2018 : Assume sales for 2018 decrease by 5%. Prepare a contribution margin income statement for 2018. Hudson Co. reports the contribution margin income statement.
Case study - australian native plants ltd : Entity Relationship Diagram in Crows Foot Notation - ELECT statement that will produce order report based on an order status for all member nurseries
What is the maximum allowable deduction that lisa may take : Lisa Co. was organized on January 4, Year 2. For the year ended December 31, Year 2, Lisa had taxable income of $550,000 before charitable contributions.
What is the average collection period in days : What is the average collection period in days? Sales on credit - 40,000,000 Beginning accounts receivable - 1,000,000.
What impact does changing the discount rate have : What impact does changing increasing or decreasing the discount rate have on the calculation of impairment losses.
Advanced waste management in australia : Advanced waste management in Australia -Provide a clear and concise overview of project. Present, aims discussed, potential findings and conclusions to be drawn

Reviews

Write a Review

Database Management System Questions & Answers

  List all details of all the records in the customer table

ITECH 1006 - Database Management Systems Assignment. Create a text file called nnnnnnnn_query.sql (where nnnnnnnn is your student number).  The file should include the SQL statements necessary to display the following reports: List all details of a..

  Prepare a database and will create a user interface for it

In this assignment you will be given a database and will create a user interface for it using the best practices that you have learned in the course.

  Q1with the new unsw timetabling system the lic of each

q1with the new unsw timetabling system the lic of each course is required to specify what facilities they require in

  Defines the semantic checks necessary to produce

The third project involves writing the semantic analyzer for the compiler that was begun in the previous projects. To simplify the semantic error checking, you are to remove the ability to have multiple functions from the grammar and the ability t..

  Explain any assumptions that you had to make about business

Explain any assumptions that you had to make about the business rules to in order to create the diagram and the associated relationships.

  Why do we need an automated tool for sql injection

Discuss sqlmap, an automated tool for sql injection and database takeover in 500 words or more. How does it work? Where do you get it? How much does it cost?

  Possible combinations of problems and technique

Discuss connections, similarities, shared issues, discrepancies, possible combinations of problems and techniques from the three papers, etc - What- ever you consider relevant, but with reasons and referring to the papers if necessary.

  Discuss the armstrong rule of inference

Let R be a relation of degree n. What is the maximum number of functional dependencies R can possibly satisfy (trivial as well as nontrivial)?

  Create an enhanced erd to meet requirements

Create an enhanced ERD to meet requirements. Ensure that entities are properly defined and appropriate attributes are listed for each entity. Also, ensure that all entities are properly related.

  Analyze the six broad classes of control activities defined

Analyze the six broad classes of control activities defined by Committee of Sponsoring Organizations (COSO) and determine how they will impact the database des

  Describe the importance of maintaining integrity rules

Describe the importance of maintaining integrity rules throughout the database structure. List specific fields that you would index.

  Explain steps of process in increasing cardinalities

When increasing cardinalities from 1:N to N:M, which of the given steps are included in process the order of steps listed below is not relevant, only steps themselves?

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