Create your own member plant pricing for plants

Assignment Help Basic Computer Science
Reference no: EM132309515

Case Study: Australian Native Plants Ltd - Online CRM Database

User Requirements

The following is what you, Josh and Anna agree would be a good core system for this first database design project:

Anna believes the core database entities are coop members, clients, plants and plant orders. You generally agree, but you also know that there will be other regular and composite entities, and business rules which will determine the entity relationships.

Anna explained that coop members will have a unique member id, member name, contact name, date of start, date of end (for when they leave the coop - it will be blank by default), name of nursery, address of nursery, phone, email, and a member description where the ANP member can describe themselves and their specialty.

Josh explained that a client will register on the ANP website and must provide their name, email address, and location. The database must also allocate a client id and start date. The client may order plants so there must be a delivery address attribute as well.

When asked about plants as a database entity Anna explained that each plant entity has a plant id, botanical name, it may have a common name, and a description.

Each plant variety may be stocked by many coop members and each coop member will stock many plants. Each coop member has their own price for each plant variety. This weak entity will have the ANP coop member id and the plant id, price, price date, unit shipping cost (described below for use in a stored function), and an ‘in stock' attribute.

Anna went on to explain that clients may order plants from any ANP member. The order will have an order id, client id, ANP member id, order date, order status, shipping date, courier name, shipping cost multiplier, and shipping reference number. Each order must include one or more order items. each order item is a plant with has a plant id, order id, plant cost, quantity, and unit shipping cost.

Because plants can be of various sizes and clients can order plants from any ANP member, shipping costs can vary (for example a client in Queensland may order a rare native plant from Western Australia). To allow the client to get a rough estimate of total costs, including shipping, a stored database function must be created as described below. When a client submits an order through the ANP website, the order is saved into the database and an alert message is sent to the ANP member automatically through the messaging system.

Josh described the messaging system he had built into the ANP website for clients to ask questions and send alerts including notifying ANP members of new client orders, etc. You decide to adjust the messaging system in the database to simplify and make it more efficient as follows: a message entity will have a unique message id, client id, and ANP member id. The message entity will also include a date stamp field and a message field. This simple format will give Josh the flexibility to use it in many different ways on the web site.

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

Questions Cloud

What are some important ethical and societal issues : In your own opinion, what are some important ethical and societal issues that need to be addressed in the field of Information Technology?
What was the trend in capital expenditures for each firm : HI5020 Corporate Accounting, Holmes Institute Australia: Evaluate the financial strength of each of the three companies based on the evidence present.
Present an oral presentation of research proposal : ITECH 5500 Professional Research & Communication Assignment Task - Present Interim research proposal, Federation University, Australia
Investigate the crime or the scene of the incident : 1. Investigate the crime or the scene of the incident 2. Reconstruct the scene or incident
Create your own member plant pricing for plants : ICT211 Database Design - University of the Sunshine Coast - implement the native plant cost calculation as a function or stored procedure
What is the major drawback of using rad model : What is the major drawback of using RAD Model? a) Highly specialized & skilled developers/designers are required
Why is networking software : 1) Why is networking software and hardware arranged in layers?
Similarities and differences between disaster recovery : What are the similarities and differences between Disaster Recovery, Business Continuity, and Incident Response.
Analyse and evaluate an information security baseline policy : COMP 0400 Information Security Management Assignment - Middle East College, Oman. Analyse and evaluate an information security baseline(s) policy

Reviews

len2309515

5/21/2019 3:43:16 AM

(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.

len2309515

5/21/2019 3:43:10 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.

len2309515

5/21/2019 3:42:59 AM

(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.

len2309515

5/21/2019 3:42:45 AM

(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. (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.

len2309515

5/21/2019 3:42:29 AM

Criteria High Distinction (85-100%) Distinction (75-84%) Credit (65-74%) Pass (50-64%) Fail (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.

len2309515

5/21/2019 3:42:08 AM

Submission The completed assignment is to be submitted by SafeAssign on or before the due date. The assignment will be assessed according to the marking sheet (Appendix A). Late submission of the assignment will result in a deduction of 10% of the available marks for each day that the assignment is late (This includes weekends). Assignment Return and Release of Grades Assignment grades will be available on the course web site on two weeks after submission at the latest. An electronic assignment marking sheet will be available. Where an assignment is undergoing investigation for alleged plagiarism or collusion the grade for the assignment and the assignment will be withheld until the investigation has concluded.

len2309515

5/21/2019 3:41:48 AM

Note: 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.

len2309515

5/21/2019 3:41:42 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

Basic Computer Science Questions & Answers

  Attributes are in terms of speaking

Pollan is a known speaker and there is a reason are drawn to him. What would say some of his attributes are in terms of speaking?

  Explain how primitive values like doubles are passed

Explain how primitive values like doubles are passed between functions in Java. How are string objects passed between functions in Java?

  Difference between profits and damages

How much would its total damages be? What would be the net benefits (i.e., difference between profits and damages)?

  Power point presentation about system engineering

Power point presentation about system engineering - Add the Venn diagram of System Engineering management with notes

  Why people should work for company

Now, you are in charge of recruiting for that company. Make a lists of ten important reason why people should work for your company

  Margin of a digital logic gate

How to improve the noise margin of a digital logic gate implemented in CMOS? When does it make sense to use structural Verilog instead of behavioral Verilog?

  Compute schedule that requires minimum number

Assume that all courses are offered every semester and that the student can take an unlimited number of courses. Given a list of courses and their prerequisites, compute a schedule that requires the minimum number of semesters.

  Different from those of a wired network

The nature and characteristics of a wireless network are different from those of a wired network.

  Implementing a poison pill antitakeover measure

Describe the basic mechanics of implementing a Poison Pill antitakeover measure. Explain the benefits of a Poison Pill provision. Explain why Poison Pills provisions often result in reduced Stockholder wealth.

  Explain effective site navigation from internet

Students will research the best practices for site navigation and locate the example of effective site navigation from Internet.

  Existence of the java gui application

Assume the existence of the following Java GUI application. There are two text fields for user input. The first JTextField variable is named voltage and is used to input a voltage value in volts.

  Illustrate the points you make with a specific example game

Need someine explains the difference between backward and forward induction in games of imperfect information and subgame perfect Nash equilibria

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