Project: Animesh Halder
Project: Animesh Halder
Submitted by
ANIMESH HALDER
Project Problem Statement:
You are hired by a chain of online retail stores “Reliant retail limited”. They provided you with “orders”
database and seek answers to the following queries as the results from these queries will help the
company in making data-driven decisions that will impact the overall growth of the online retail store.
1st part(Q1-Q6) comes under SQLite and queries should be executed in DB Browser. (Database used-
New Orders.db)
2nd part(Q7-Q10) comes under MYSQL and the queries should be executed in MYSQL. (SQL Script used
- new Orders.sql)
1. Write a query to Display the product details (product_class_code, product_id, product_desc, product_price,) as per the following criteria and sort them in
descending order of category: a. If the category is 2050, increase the price by 2000 b. If the category is 2051, increase the price by 500 c. If the category is
2052, increase the price by 600. Hint: Use case statement. no permanent change in table required. (60 ROWS) [NOTE: PRODUCT TABLE]