Skip to content

This project uses SQL to analyze social media data. It answers questions like finding the oldest users, best days to run ads, and more. Get insights for better ad campaigns and marketing decisions.

Notifications You must be signed in to change notification settings

gaju45/SQL-Project-On-Social-Media-Data-of-users

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

SQL_Project_Social_Media_Data_Analysis 📊 📈

Introduction

In this project, we analyze a social media's data using SQL. The project includes a variety of questions that cover different aspects of the data, ranging from easy to advance level.

Database Tools

  • MySQL
  • MySQL Workbench

Datasets used

ig_clone_data: This SQL schema forms the backbone of our analysis. The column names are

  • comments
  • follows
  • likes
  • photo_tags
  • photos
  • tags
  • users

Entity Relationship Diagram

SqlProjectSocialMedia

Case Study Questions

  1. Create an ER diagram or draw a schema for the given database.

  2. We want to reward the user who has been around the longest. Find the 5 oldest users.

  3. To understand when to run the ad campaign, figure out the day of the week most users register on?

  4. To target inactive users in an email ad campaign, find the users who have never posted a photo.

  5. Suppose you are running a contest to find out who got the most likes on a photo. Find out who won?

  6. The investors want to know how many times does the average user post.

  7. A brand wants to know which hashtag to use on a post. Find the top 5 most used hashtags.

  8. To find out if there are bots, find users who have liked every single photo on the site.

  9. To know who the celebrities are, find users who have never commented on a photo.

  10. Now it's time to find both of them together, find the users who have never commented on any photo or have commented on every photo.

to view the solution for this case study check social-media-data-analysis-with-sql(1).sql file!

Thank you for exploring my SQL project. Your interest and support are greatly appreciated.

About

This project uses SQL to analyze social media data. It answers questions like finding the oldest users, best days to run ads, and more. Get insights for better ad campaigns and marketing decisions.

Resources

Stars

Watchers

Forks

Packages

No packages published