Docsity

E-commerce Database Design and Implementation - Prof. Tran, Exercises of Computer Science

Toggle sidebar
bg1
ASSIGNMENT 2 FRONT SHEET
Qualification TEC Level 5 HND Diploma in Computing
Unit number and title Unit 04: Database Design & Development
Submission date Date Received 1st submission
Re-submission Date Date Received 2nd submission
Student Name Student ID
Class 1622 RE SP24 Assessor name
Student declaration
I certify that the assignment submission is entirely my own work and I fully understand the consequences of plagiarism. I understand that
making a false declaration is a form of malpractice.
Student’s signature
Grading grid
P2 P3 P4 P5 M2 M3 M4 M5 D2 D3
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27

Partial preview of the text

Download E-commerce Database Design and Implementation - Prof. Tran and more Exercises Computer Science in PDF only on Docsity!

ASSIGNMENT 2 FRONT SHEET

Qualification TEC Level 5 HND Diploma in Computing

Unit number and title Unit 04: Database Design & Development

Submission date Date Received 1st submission

Re-submission Date Date Received 2nd submission

Student Name Student ID

Class 1622 RE SP24 Assessor name

Student declaration

I certify that the assignment submission is entirely my own work and I fully understand the consequences of plagiarism. I understand that

making a false declaration is a form of malpractice.

Student’s signature

Grading grid

P2 P3 P4 P5 M2 M3 M4 M5 D2 D

❒ Summative Feedback: ❒ Resubmission Feedback:

Grade: Assessor Signature: Date:

Signature & Date:

Chapter 1 – Develop the database system.

ER Diagram

 Users can search for products, view detailed product information, and provide product ratings and reviews.  They can add products to their shopping cart, complete orders, and track order history.  Features include user login and registration, along with the display of products, the shopping cart, and personal information. Manager Wireframe  View store information: This button allows managers to access and view information related to the store(s) they are responsible for.

 View and manage products: This button provides access to the list of products available in the store. It displays information about each product, including name, description, and inventory level. Managers can use this button to perform actions related to product management, such as adding new products to the store, updating product details, or adjusting inventory.  View orders: This button allows managers to access a list of customer orders made at the store. It provides detailed information about each order, including order date, customer information, and order status.  View Staff: This button allows managers to access and monitor staff working at the store. In addition, you can edit employee data such as adding, deleting,... Director Wireframe

Staff Wireframe  View store: This button lets employees know which store they are working at and can change when the employee moves to work at another store.  View products: Staff can view a complete list of all available products in the system. This list displays product name, price, type,...  View orders: Staff can use this button to add an order for a customer to the store to shop for products  View product details: Staff can also use this button to view order details and make corrections when errors occur.

1.2. Queries to create database with results.

Result when adding data susscessfully: Director: Shop:

Customer: Order: Order_Detail:

2.1. Queries to INSERT data with illustrations of final result.

Result:

2.3. Queries to DELETE data with illustrations of final result.

Result:

2.4. Queries to SELECT data with illustrations of final result.

Result:

2.5. Advanced queries : Stored proceduces, trigger, function.

Result: