0% found this document useful (0 votes)
2K views

Trainity Project 2

This document describes a project to analyze user behavior and engagement on Instagram using SQL. It provides tasks for various teams to identify loyal users, inactive users, the most liked photo, popular hashtags, and the best day to launch ads. Insights found loyal users since 2016, many inactive users, the top hashtags, and evidence of bots/fake accounts.

Uploaded by

armaan sanyam
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2K views

Trainity Project 2

This document describes a project to analyze user behavior and engagement on Instagram using SQL. It provides tasks for various teams to identify loyal users, inactive users, the most liked photo, popular hashtags, and the best day to launch ads. Insights found loyal users since 2016, many inactive users, the top hashtags, and evidence of bots/fake accounts.

Uploaded by

armaan sanyam
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 9

INSTAGRAM USER ANALYTICS

PROJECT DESCRIPTION –
This project is analysis of user behaviour and engagement on social media platform Instagram.
The objective of this project is to provide insights from the provided dataset to various teams
like development, marketing so that they can take informed decisions regarding future
advertisement campaigns, addition of new features etc.

APPROACH –
I used SQL to execute the queries and answer the questions put forward by various
departments. I will be providing answers to question asked like oldest users, most used
hashtags, most liked photos, bots and fake account and many more from the provided database
and many tables.

TECH STACK USED-


STRUCTURED QUERY LANGAUAGE (SQL) was used to perform data analysis on
MYSQL workbench version 8.0.033 .
A) Marketing Analysis

1.
Loyal User Reward -
The marketing team wants to reward the most loyal users, i.e., those who have been using the
platform for the longest time.
Your Task - Identify the five oldest users on Instagram from the provided database.

SELECT - Data (i.e. columns) you want to select.

FROM - users tells the database to select data from the user table. (*) tells the database that you
want to see all columns in this table.

ORDER BY – to sort output in particular order

LIMIT n - returns the first n rows from the result.


2.
Inactive User Engagement - The team wants to encourage inactive users to start posting by
sending them promotional emails.

Your Task -Identify users who have never posted a single photo on Instagram.

OUTPUT -
id username
5 Aniya_Hackett
7 Kasandra_Homenick
14 Jaclyn81
21 Rocio33
24 Maxwell.Halvorson
25 Tierra.Trantow
34 Pearl7
36 Ollie_Ledner37
41 Mckenna17
45 David.Osinski47
49 Morgan.Kassulke
53 Linnea59
54 Duane60
57 Julien_Schmidt
66 Mike.Auer39
68 Franco_Keebler64
71 Nia_Haag
74 Hulda.Macejkovic
75 Leslie67
76 Janelle.Nikolaus81
80 Darby_Herzog
81 Esther.Zulauf61
83 Bartholome.Bernhard
89 Jessyca_West
90 Esmeralda.Mraz57
91 Bethany20

LEFT JOIN – returns all rows from left table but the only matching rows from the right table.

3.

Contest Winner Declaration - The team has organized a contest where the user with the most
likes on a single photo win.

Your Task - Determine the winner of the contest and provide their details to the team.
COUNT() - function returns the number of rows that matches the specific criteria.

4.

Hashtag Research- A partner brand wants to know the most popular hashtags to use in their
posts to reach the most people.
Your Task - Identify and suggest the top five most used hashtags on the platform.

GROUP BY – Group rows that have the same values into summary rows. often used with
aggregate functions.
5.
Ad Campaign Launch - The team wants to know the best day of the week to launch ads.

Your Task - Determine the day of the week when most users register on Instagram. Provide
insights on when to schedule an ad campaign.
B) Investor Metrics

1.

User Engagement -Investors want to know if users are still active and posting on Instagram or if
they are making fewer posts.

Your Task - Calculate the average number of posts per user on Instagram. Also, provide the
total number of photos on Instagram divided by the total number of users.

2.

Bots & Fake Accounts - Investors want to know if the platform is crowded with fake and
dummy accounts.

Your Task - Identify users (potential bots) who have liked every single photo on the site, as this
is not typically possible for a normal user.
INSIGHTS GAINED

This is one of the most important parts of the project to derive insights to help the various
departments to make informed decisions.

The most loyal users of Instagram have been using the platform since 2016.

Instagram has many users who have never posted a single photo.

Most liked photo on Instagram.

The most used hashtags on Instagram are related to smile, beach, party, fun, and concert.

Thursday and Sunday are the day when most users register on Instagram, making it the best
day to launch campaigns.

On average, an Instagram user posts about 2 to 3 photos per week.

There is evidence of the presence of bots and fake accounts on Instagram, assuming accounts
have liked every single photo on the site.
RESULTS

Through this project I gained many valuable insights through precise queries and attached the
screenshots for the given.

In this project I learned how to extract data, solve problems using specific queries using SQL in
the given database.

You might also like