Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mastermindromii/sql-case-study-on-famous-painting
Welcome to the SQL Case Study on Famous Paintings repository! Here, we explore intriguing insights from the Famous Paintings & Museum dataset. About
https://github.com/mastermindromii/sql-case-study-on-famous-painting
Last synced: 9 days ago
JSON representation
Welcome to the SQL Case Study on Famous Paintings repository! Here, we explore intriguing insights from the Famous Paintings & Museum dataset. About
- Host: GitHub
- URL: https://github.com/mastermindromii/sql-case-study-on-famous-painting
- Owner: MasterMindRomii
- Created: 2024-02-18T09:02:59.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-02-18T09:59:20.000Z (9 months ago)
- Last Synced: 2024-02-18T10:23:49.686Z (9 months ago)
- Homepage:
- Size: 10.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SQL Case Study on Famous Paintings đ¨
Welcome to the SQL Case Study on Famous Paintings repository! Here, we delve into intriguing insights from the Famous Paintings & Museum dataset.
## About the Dataset âšī¸
The dataset comprises 8 tables:- **artist.csv** đ¨
- **canvas_size.csv** đŧī¸
- **image_link.csv** đ
- **museum.csv** đī¸
- **museum_hours.csv** â°
- **product_size.csv** đ
- **subject.csv** đ
- **work.csv** đ ī¸## Key Queries Explored đ
1. **Fetch all the paintings which are not displayed in any museums?**
2. **Are there museums without any paintings?**
3. **How many paintings have an asking price of more than their regular price?**
4. **Identify the paintings whose asking price is less than 50% of its regular price.**
5. **Which canvas size costs the most?**
6. **Delete duplicate records from work, product_size, subject, and image_link tables.**
7. **Identify the museums with invalid city information in the given dataset.**
8. **Museum_Hours table has 1 invalid entry. Identify it and remove it.**
9. **Fetch the top 10 most famous painting subjects.**
10. **Identify the museums which are open on both Sunday and Monday. Display museum name, city.**
11. **How many museums are open every single day?**
12. **Which are the top 5 most popular museums? (Popularity is defined based on most number of paintings in a museum)**
13. **Who are the top 5 most popular artists? (Popularity is defined based on most number of paintings done by an artist)**
14. **Display the 3 least popular canvas sizes.**
15. **Which museum is open for the longest during a day? Display museum name, state, hours open and which day?**
16. **Which museum has the most number of most popular painting style?**
17. **Identify the artists whose paintings are displayed in multiple countries.**
18. **Display the country and the city with the most number of museums. Output 2 separate columns to mention the city and country. If there are multiple values, separate them with a comma.**
19. **Identify the artist and the museum where the most expensive and least expensive painting is placed. Display the artist name, sale_price, painting name, museum name, museum city, and canvas label.**
20. **Which country has the 5th highest number of paintings?**
21. **Which are the 3 most popular and 3 least popular painting styles?**
22. **Which artist has the most number of Portraits paintings outside the USA? Display artist name, number of paintings, and the artist nationality.**## Tools and Technologies đ ī¸
- MySQL DatabaseFeel free to explore the queries, contribute, and share insights! đ