Professional Documents
Culture Documents
Instagram Data Analysis
Instagram Data Analysis
Instagram Data Analysis
ANALYTICS
BY
JUGAL SUNIL
Project Description
User Analysis is the process by which we determine the characteristics of all the modern world users
for the future development of the software or mobile applications.
These are mainly conducted by the working team of the respected organisations, so that we can
analyse the the particular softwares feature by measuring user engagements and interests.
Approach
Analysing and measuring user engagement and their attributes is very important while developing a
new software or applications in order to provide a user friendly experience for the people.
Tech- Stack Used
Visual Studio Code
Version: 1.74.3 (user setup)
Visual Studio Code is a graphical code editor for Linux , macOS and Windows. It supports
extensions like SQLTools, SQLTool PostgreSQL and many more which helps me in completing this
project.
Insights
One of the main thing is I started realizing the importance of Data Analytics in the current
technology.
Another important thing is how we can keep track of an applications metrics, how can be a
application or a software can reach its success in the current world by analysing the datas.
Result
As a result of completing this project
SELECT username
FROM users LEFT JOIN photos
ON users.id = photos.user_id
WHERE photos.id is NULL;
OUTPUT
3) Identify the winner of the contest and provide their details to the team
SELECT
tags.tag_name,
COUNT(*) AS total
FROM photo_tags
JOIN tags
ON photo_tags.tag_id = tags.id
GROUP BY tags.id
ORDER BY total DESC
LIMIT 5;
OUTPUT
5)What day of the week do most users register on? Provide insights on when to schedule an ad
campaign
SELECT
DAYNAME(created_at) AS day,
COUNT(*) AS total
FROM users
GROUP BY day
ORDER BY total DESC
LIMIT 2;
OUTPUT
B- 1) Provide how many times does average user posts on Instagram. Also, provide the total
number of photos on Instagram/total number of users
SELECT username,
COUNT(*) AS num_of_likes
FROM users INNER JOIN likes
ON users.id = likes.user_id
GROUP BY likes.user_id HAVING num_of_likes = (SELECT COUNT(*)FROM
photos);
OUTPUT
THANK YOU