1. Homepage
  2. Programming
  3. COMP643 Advanced Database Management Assignment 3: QUERYING AND UPDATING THE DOCUMENT DATABASE

COMP643 Advanced Database Management Assignment 3: QUERYING AND UPDATING THE DOCUMENT DATABASE

Engage in a Conversation
LincolnCOMP643Advanced Database ManagementMongoDBDocument DatabaseNoSQL

COMP643 Advanced Database Management Assignment 3 CourseNana.COM

20% of course marks for COMP643. CourseNana.COM

Friday, 14th June 2024 5:00 p.m. CourseNana.COM

Work not received by the due time attracts an immediate penalty, up to 25% of the points available. No work will be accepted after Sunday 16th June 2024 5:00 p.m. CourseNana.COM

via COMP643 on LEARN CourseNana.COM

Worth:
Due:
Late Penalty:
CourseNana.COM

Submission: CourseNana.COM

IMPORTANT CourseNana.COM

The use of Artificial Intelligence (AI) tools, such as ChatGPT, to complete this assessment is prohibited. Assessment answers will be analysed for evidence of the use of AI and penalties may be administered. CourseNana.COM

The University policy on Academic Integrity can be found here.
PART 1 – QUERYING AND UPDATING THE DOCUMENT DATABASE (50 POINTS) CourseNana.COM

MongoDB is an open-source document-oriented database that is designed to store large scale data. It is categorised as a NoSQL (Not only SQL) database because the storage and retrieval of data in the MongoDB is not in the form of tables and querying does not have to be done using SQL. Additional learning materials for MongoDB can be found on COMP643 LEARN Page. CourseNana.COM

In Assignment 2, Part 2, you used a database to process orders for roses. A subset of this database have been converted to MongoDB. You can download the JSON file (“rosesdb.json”) for creating this database in your local machine. CourseNana.COM

Based on this document database, write queries in MongoDB for each of the following tasks. Submit the queries in a text file, each query MUST be labelled with the question number (e.g, 1a). CourseNana.COM

  1. Display the customer id and customer name of all customers with a balance of $0.00 and who are not from “Christchurch” sorted by customer id.
    (4 points) CourseNana.COM

  2. Display the customer id, customer name, customer city and customer balance of all customers sorted by customer name in ascending order. (3 points) CourseNana.COM

  3. Display the product name and product price for every product in the system. Sort the results by product name. Duplicates should be removed. (3 points) CourseNana.COM

  4. Display the product name and total for all orders made by customer number 1001 sorted by total in descending order. (4 points) CourseNana.COM

CourseNana.COM

  1. Display the product name and product price for all products that cost greater than or equal to $50.00. (3 points) CourseNana.COM

  2. For each customer, display the customer’s name, the number of order and the order total. (5 points) CourseNana.COM

the number of distinct products in the system. (3 points)
the product name and the product price for the product with highest price. (4 points) the customer name for all customers who have never ordered a product. (2 points)
all cities customers are based in and the number of customers in each city. (3 points) the product name and total for all the product(s) ordered by John. (3 points)
the product name and the number of times each product has been ordered. (3 points) CourseNana.COM

  1. Insert a new customer, (10013, “Hans”, “Dunedin”, 0.00). (5 points) CourseNana.COM

  2. Insert a new order for Hans, (“Wenlock”, 40, 3, 120.00) and update the customer balance for CourseNana.COM

    Hans to 120.00. (5 points) CourseNana.COM

PART 2 – EVALUATIONS OF THE DOCUMENT DATABASE (30 POINTS) CourseNana.COM

Lincoln Rose Farm is expanding to 20 different cities in New Zealand. The plan is to have a collection of 1,000 roses in each location and to cater for over 20,000 customers nationwide. Write a one-page summary (excluding references) to discuss the suitability of a document database to store and manage customer orders. Your discussion should consider three factors. These factors may include data model (schema flexibility), usability and performance, data integrity and accuracy, functionality, security and cost. All references must follow APA 7th Edition reference format. CourseNana.COM

Submit your discussion as a PDF. Part 3 Marking Criteria CourseNana.COM

Description Marks CourseNana.COM

Discussion of suitability of a document database using each of 24 the three selected factors.
Spelling, punctuation, grammar and references 6
Total 30 CourseNana.COM

2|Page  CourseNana.COM

Get in Touch with Our Experts

WeChat (微信) WeChat (微信)
Whatsapp WhatsApp
Lincoln代写,COMP643代写,Advanced Database Management代写,MongoDB代写,Document Database代写,NoSQL代写,Lincoln代编,COMP643代编,Advanced Database Management代编,MongoDB代编,Document Database代编,NoSQL代编,Lincoln代考,COMP643代考,Advanced Database Management代考,MongoDB代考,Document Database代考,NoSQL代考,Lincolnhelp,COMP643help,Advanced Database Managementhelp,MongoDBhelp,Document Databasehelp,NoSQLhelp,Lincoln作业代写,COMP643作业代写,Advanced Database Management作业代写,MongoDB作业代写,Document Database作业代写,NoSQL作业代写,Lincoln编程代写,COMP643编程代写,Advanced Database Management编程代写,MongoDB编程代写,Document Database编程代写,NoSQL编程代写,Lincolnprogramming help,COMP643programming help,Advanced Database Managementprogramming help,MongoDBprogramming help,Document Databaseprogramming help,NoSQLprogramming help,Lincolnassignment help,COMP643assignment help,Advanced Database Managementassignment help,MongoDBassignment help,Document Databaseassignment help,NoSQLassignment help,Lincolnsolution,COMP643solution,Advanced Database Managementsolution,MongoDBsolution,Document Databasesolution,NoSQLsolution,