{"id":15002807,"url":"https://github.com/udipta14/social-media-database-project","last_synced_at":"2026-02-06T21:02:17.164Z","repository":{"id":200348555,"uuid":"705321572","full_name":"udipta14/Social-Media-Database-Project","owner":"udipta14","description":"I have recently worked on a project of analyzing a social media platform data on MS SQL SERVER. In this project I have used advanced SQL functions and keywords like Views, Indexes, CTE, Windows Functions and many more.","archived":false,"fork":false,"pushed_at":"2023-10-20T22:52:55.000Z","size":5244,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-18T13:56:12.381Z","etag":null,"topics":["cte","eda","joins","mssqlserver","schema","views","windowsfunction"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/udipta14.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-10-15T17:34:44.000Z","updated_at":"2023-10-18T04:43:26.000Z","dependencies_parsed_at":"2023-10-16T17:02:43.661Z","dependency_job_id":"aadedb97-125a-4e50-98ce-a4a83ca4636d","html_url":"https://github.com/udipta14/Social-Media-Database-Project","commit_stats":null,"previous_names":["udipta14/social-media-database-project"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/udipta14%2FSocial-Media-Database-Project","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/udipta14%2FSocial-Media-Database-Project/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/udipta14%2FSocial-Media-Database-Project/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/udipta14%2FSocial-Media-Database-Project/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/udipta14","download_url":"https://codeload.github.com/udipta14/Social-Media-Database-Project/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243153579,"owners_count":20244787,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cte","eda","joins","mssqlserver","schema","views","windowsfunction"],"created_at":"2024-09-24T18:52:42.704Z","updated_at":"2026-02-06T21:02:17.114Z","avatar_url":"https://github.com/udipta14.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003eSocial Media Database Project\u003c/h1\u003e\n\n# About\n\u003cul\u003e\n\u003cli\u003eThrough this project  I am creating a basic structure of social media database which could easily be connected to frontend interface.  \u003c/li\u003e\n\u003cli\u003eHere I am managing the data of multiple users, their followers, interests and public activity on the social media platform which includes postlikes ,comments , commentlikes , hashtag followed ,bookmarks and many more... \u003c/li\u003e\n\u003cli\u003eThrough my SQL query I have shown a clear cut description of connection and inter relation between different activities on social media. \u003c/li\u003e\n\u003cli\u003eWith my true efforts and research I have tried to give a simple and more exact view of a basic social interconnecting site.\u003c/li\u003e\n\u003c/ul\u003e\n\n# Benefits for the Stakeholder\n\n1. **Query 1: Find the user with the most followers**\n   - This query identifies the user who has the largest number of followers. It returns the user's ID, username, and the count of their followers.\n\n2. **Query 2: Calculate the average post size by post type (photo or video)**\n   - This query calculates the average size of posts based on their type, which can be either \"Photo\" or \"Video.\" It provides insights into the average size for each post type.\n\n3. **Query 3: List the top 5 posts with the most comments and their user owners**\n   - This query lists the top 5 posts with the highest number of comments and their respective user owners. It's useful for identifying popular posts and their creators.\n\n4. **Query 4: Calculate the total number of likes on posts by each user**\n   - This query calculates the total number of likes received by each user on their posts. It helps in understanding which users receive the most likes.\n\n5. **Query 5: Create a view to display the total number of comments and likes for each post**\n   - This query creates a view that displays the combined number of comments and likes for each post. It's useful for easily accessing this information in the future.\n\n6. **Query 6: List the 10 most popular hashtags along with the number of posts they are used in**\n   - This query identifies and lists the top 10 most popular hashtags and the number of posts they are associated with. It's helpful for tracking trending topics.\n\n7. **Query 7: List the users who have liked their own posts**\n   - This query identifies users who have liked their own posts. It can be useful for monitoring self-liking behavior.\n\n8. **Query 8: Find users who have not posted any photos or videos**\n   - This query finds users who have not uploaded any photos or videos. It's a way to identify users who haven't shared multimedia content.\n\n9. **Query 9: Find users who have bookmarked the same post that they liked**\n   - This query identifies users who have both liked and bookmarked the same posts. It's helpful for understanding user engagement with posts.\n\n10. **Query 10: Find the users who have commented on the most posts**\n    - This query identifies the top 10 users who have commented on the highest number of posts. It's useful for recognizing highly engaged users in terms of comments.\n\n11. **Query 11: Any specific word in comment**\n    - This query searches for comments containing specific words like \"good\" or \"beautiful.\" It's useful for finding and categorizing comments with particular keywords.\n   \n\nFor More Enquiry Click On 👉 [LinkedIn](www.linkedin.com/in/udipta-anupam)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fudipta14%2Fsocial-media-database-project","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fudipta14%2Fsocial-media-database-project","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fudipta14%2Fsocial-media-database-project/lists"}