Incorporate mysql database and its corresponding sql

Assignment Help Database Management System
Reference no: EM132313417

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: EM132313417

Questions Cloud

Will goofy be able to cash mickeys check : How could Mickey have indorsed the check so that he would not have to be concerned about losing the check?
Explain different sources of law and laws : Explain different sources of law and laws that the organizations must comply with. In addition, you also need to explain the role of government in law-making
Two parties when there is no written agreement : How can a plaintiff prove the existence of a contract between two parties when there is no written agreement?
Should insurance companies spread the risk amongst : Should insurance companies spread the risk amongst all of their policyholders as is often done automobile insurance or is there better way to deal with the matt
Incorporate mysql database and its corresponding sql : ICT211 - Database Design - Incorporate MySQL database and its corresponding SQL and procedural language - Sequence your script so Josh can run and re-run
For intentional torts and criminal law issues : For intentional torts and Criminal law issues, is a student required to show causation (Actual and proximate cause) or are there certain intentional torts
For intentional torts and criminal law issues : For intentional torts and Criminal law issues, is a student required to show causation (Actual and proximate cause) or are there certain
What is the role of jail and prisons in corrections : What is the role of jail and prisons in corrections? Why are there differing security levels in state and federal prisons.? What are some issues the prison syst
Ratifying a rome statute of international criminal court : Is The Malaysian Government's decision to withdraw from ratifying a Rome Statute of International Criminal Court's treaty could be considered as wise decision?

Reviews

len2313417

5/29/2019 2:01:40 AM

(30%) 5. Create SQL code to insert, search and manipulate the relational database data. Skillful and seamless The SQL script will be skillfully constructed and seamlessly insert, search and manipulate MySQL database data without error. (15%) 6. Create SQL code to demonstrate the use and understanding of procedural language in relational databases.Skillful and seamless The SQL script will be skillfully constructed and seamlessly demonstrate MySQL appropriate and correct procedures, functions and / or triggers without error.

len2313417

5/29/2019 2:01:18 AM

(20%) 3. Create relational database design schema and documentation. Systematic and skillful Accurate, clear and skillful creation of ER diagrams and relational schema. Systematic, clear and accurate supplementary design requirements and assumptions. (20%) 4. Create SQL code to create and delete relational database tables. Skillful and seamless The SQL script will be skilfully constructed and seamlessly drop and create MySQL tables along with comprehensive constraints without error.

len2313417

5/29/2019 2:00:59 AM

Criteria (10%) 1. Demonstrate an understanding of client requirements. Comprehensive and insightful Client specifications are clearly and comprehensively reflected in the ER diagrams, relational schema, supplementary design requirements. Assumptions show a good depth of insight into the sometimes unclear case study business rules. High Distinction (5%) 2. Create a cohesive database design that is reflected in the prototype code. Comprehensive ER diagrams, relational schema, supplementary design requirements are comprehensively reflected in the prototype code. Assumptions and business rules are meticulously reflected in the database constraints.

len2313417

5/29/2019 2:00:11 AM

Each student MUST be able to produce a copy of their assignment and this copy MUST be produced within 24 hours of it being requested by the Course Co-ordinator. Failure to produce the second copy of the assignment when requested may result in loss of marks or a fail grade for the assignment. Requests for an extension to an assignment extension MUST be made prior to the date of submission and requests made on the day of submission or after the submission date will only be considered in exceptional circumstances.

len2313417

5/29/2019 2:00:00 AM

Submit your assignment to the link under Assessment -> Task 2 on Blackboard. The submission link will be open a week before the due date. Please follow the submission instructions provided. The assignment will be marked out of a total of 100 marks and forms 30% of the total assessment for the course. ALL assignments will be checked for plagiarism and/or collusion between individuals.

Write a Review

Database Management System Questions & Answers

  Knowledge and data warehousing

Design a dimensional model for analysing Purchases for Adventure Works Cycles and implement it as cubes using SQL Server Analysis Services. The AdventureWorks OLTP sample database is the data source for you BI analysis.

  Design a database schema

Design a Database schema

  Entity-relationship diagram

Create an entity-relationship diagram and design accompanying table layout using sound relational modeling practices and concepts.

  Implement a database of courses and students for a school

Implement a database of courses and students for a school.

  Prepare the e-r diagram for the movie database

Energy in the home, personal energy use and home energy efficiency and Efficient use of ‘waste' heat and renewable heat sources

  Design relation schemas for the entire database

Design relation schemas for the entire database.

  Prepare the relational schema for database

Prepare the relational schema for database

  Data modeling and normalization

Data Modeling and Normalization

  Use cases perform a requirements analysis for the case study

Use Cases Perform a requirements analysis for the Case Study

  Knowledge and data warehousing

Knowledge and Data Warehousing

  Stack and queue data structure

Identify and explain the differences between a stack and a queue data structure

  Practice on topic of normalization

Practice on topic of 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