Extended Project FastKart SQLite MYSQL 1 1 PDF
Extended Project FastKart SQLite MYSQL 1 1 PDF
Extended Project FastKart SQLite MYSQL 1 1 PDF
Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited 1
This study source was downloaded by 100000843940989 from CourseHero.com on 11-30-2022 05:42:00 GMT -06:00
https://www.coursehero.com/file/147100607/Extended-Project-FastKart-SQLite-MYSQL-1-1pdf/
Extended Project- (SQLite & MYSQL)
You are hired by a chain of online retail stores “Fastkart”. They have provided you with “Fastkart”
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
stores.
1st part- Q1-Q6 comes under SQLite and queries should be executed in DB Browser. (Database
- Fastkart.db)
2nd part- Q7-Q10 comes under MYSQL and the queries should be executed in MYSQL. (SQL Script
- Fastkart.sql)
Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited 2
This study source was downloaded by 100000843940989 from CourseHero.com on 11-30-2022 05:42:00 GMT -06:00
https://www.coursehero.com/file/147100607/Extended-Project-FastKart-SQLite-MYSQL-1-1pdf/
ER Diagram
Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited 3
This study source was downloaded by 100000843940989 from CourseHero.com on 11-30-2022 05:42:00 GMT -06:00
https://www.coursehero.com/file/147100607/Extended-Project-FastKart-SQLite-MYSQL-1-1pdf/
Part-1(SQLite)
2. Display EmailId of those customers who have done more than ten purchases. (EmailId,
Total_Transactions).
3. List the Total QuantityAvailable category wise in descending order. (Name of the category,
QuantityAvailable)
6. Display ProductId, ProductName, Price and Item_Classes of all the products where
Item_Classes are as follows:
If the price of an item is in between 2,000 and 50,000 then “High End Stuff”,
(57 Rows)
Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited 4
This study source was downloaded by 100000843940989 from CourseHero.com on 11-30-2022 05:42:00 GMT -06:00
https://www.coursehero.com/file/147100607/Extended-Project-FastKart-SQLite-MYSQL-1-1pdf/
Part-2(MYSQL)
Hint: Use case statement, there should be no permanent change done in table/DB.
(57 Rows)
8. Display the percentage of females present among all Users. (Round up to 2 decimal places)
[Note: users]
9. Display the average balance for both card types for those records only where CVVNumber >
333 and NameOnCard ends with the alphabet “e”.
10. What is the 2nd most valuable item available which does not belong to the “Motor” category.
(1 Row)
Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited 5
This study source was downloaded by 100000843940989 from CourseHero.com on 11-30-2022 05:42:00 GMT -06:00
https://www.coursehero.com/file/147100607/Extended-Project-FastKart-SQLite-MYSQL-1-1pdf/
Powered by TCPDF (www.tcpdf.org)