Create table statements for all tables

Assignment Help Database Management System
Reference no: EM132310929

Database Design Assignment -

Case Study: Australian Native Plants Ltd - Online CRM Database

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:

  • information on length of identifiers, postcodes, names,
  • 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:

  • Automatically insert a message to the Message table when a client order is placed,

CREATE FUCNTION / PROCEDURE

  • Implement the native plant cost calculation as a function or stored procedure.

INSERT INTO statements for populating the database:

  • Incorporate the exact 6 nursery ANP member names given in the dataset (make up email addresses and phone numbers)
  • Incorporate the exact 11 plants and their names given in the dataset
  • 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.)
  • Create your own member plant pricing for plants and their shipping costs (at least 3 plants for 3 members)
  • Create at least 3 client entries
  • Create at least 3 client orders
  • 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):

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

  • List of all orders with a particular order status.
  • The report will be grouped by member nursery,
  • Each line will list the participating nursery name, nursery state, total number of outstanding orders, and the total value of those orders.

Attachment:- Assignment File - Case Study.rar

Reference no: EM132310929

Questions Cloud

Explaining theoretical perspectives and empirical research : When conducting your research, consider the issues that arise within these different disciplines. In your analysis of each topic, explain the theoretical.
Are economic systems a form of moral philosophy : 1. Are Economic Systems a Form of Moral Philosophy? Explain.
What are some of the social and environmental considerations : What are some of the social and environmental considerations you would need to manage at a CAR launch festival to ensure it is considered to be a sustainable
Highlight any key and ongoing evaluation : Highlight any key and ongoing evaluation that should occur over these stages.
Create table statements for all tables : ICT211 Database Design Assignment, University of the Sunshine Coast, Australia. CREATE TABLE statements for all tables including integrity constraints
Discussion about the differences of each treatment listed : Write a 750-1,000-word assignment that gives a general overview of commonly used substance use disorder treatment approaches.
Racism refers to the belief that certain racial or ethnic : According to the dictionary, racism refers to "the belief that certain racial or ethnic groups are inferior to one or more other groups."
How you would managing the implementation of treatment : Why is it important to integrate coordinated treatments for comorbid/co-occurring disorders? Provide at least two examples of the potential financial.
Key to resident food choices in food deserts : "Money, Not Access, Key to Resident Food Choices in ‘Food Deserts'". What were the key findings and conclusion from the research?

Reviews

len2310929

5/23/2019 10:07:50 PM

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.

len2310929

5/23/2019 10:07:34 PM

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.

len2310929

5/23/2019 10:07:26 PM

Report Rubric -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. Comprehensive - ER diagrams, relational schema, supplementary design requirements are comprehensively reflectedin the prototype code. Assumptions and business rules are meticulously reflected in the database constraints.

len2310929

5/23/2019 10:07:19 PM

Systematic and skillful - Accurate, clear and skillful creation of ER diagrams and relational schema. Systematic, clear and accurate supplementary design requirements and assumptions. Skillful and seamless - The SQL script will be skilfully constructed and seamlessly drop and create MySQL tables along with comprehensive constraints without error. Skillful and seamless - The SQL script will be skillfully constructed and seamlessly insert, search and manipulate MySQL database data without error. Skillful and seamless - The SQL script will be skillfully constructed and seamlessly demonstrate MySQL appropriate and correct procedures, functions and / or triggers without error.

Write a Review

Database Management System Questions & Answers

  Comparison between file approach and database approach

In general, my report talks about the Database management system. But I want to a specific topics of it in 3 pages. The topics are: Comparison between File approach and Database approach

  Create a pl-sql procedure - print out names of employees

Create a PL-SQL procedure that a company name, print out names of employees working at that company. Test your procedure with a company name you have in your company table.

  Products under the traditional costing system

Determine the unit product cost of each of the company's two products under the traditional costing system

  Draw the er diagrams for the following business rules using

draw the er diagrams for the following business rules using gliffy. identify all entities attributes relationships

  Decompose home library relation into a set of 3nf relations

Draw a dependency diagram to show the functional dependencies that exist in this relation and Decompose the Home Library relation

  Role and tasks performed by database administrator

In 250 - 300 words describe role of a database administrator and the tasks performed by this role. Also, describe why this role is important in Database Management.

  Explain the security mechanisms available for a database

Use technology and information resources to research issues in database systems. Write clearly and concisely about relational database management systems using proper writing mechanics and technical style conventions.

  Develop the database schema based on the domain model

Develop the database schema based on the domain model class diagram. Make sure that each table has a primary key and the foreign keys.

  Selecting opies of book titled the big magic

How many copies of the book titled „The big magic? are owned by the local library whose name is "Newtown" library?

  Development of an effective entity relationship model

Determine the steps in the development of an effective Entity Relationship Model (ERM) Diagram and determine the possible iterative steps

  How would auditing help you find a dishonest employee

What kind of auditing would be appropriate for a bank?

  Create a visual representation of monthly data

Create a visual representation of monthly data, Summarize Monthly Data for each product during the last 12 months

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