An open API service indexing awesome lists of open source software.

https://github.com/senaldolage/mock-social-platform-sql

A hands-on SQL practice project simulating a social media app. Includes dummy tables, sample data, and analytical queries using joins, CTEs, subqueries, and window functions.
https://github.com/senaldolage/mock-social-platform-sql

postgresql sql

Last synced: about 1 year ago
JSON representation

A hands-on SQL practice project simulating a social media app. Includes dummy tables, sample data, and analytical queries using joins, CTEs, subqueries, and window functions.

Awesome Lists containing this project

README

          

## Social Media SQL Practice Project

This project is a personal initiative where I recreated a small-scale social media platform to refresh and strengthen my core SQL skills. Using mock data for users, posts, likes, and comments, I explored a range of realistic queries that reflect common patterns that would be encountered in real-world analytics.

It gave me the opportunity to revise concepts like filtering, aggregation, window functions, CTEs, and conditional logic.. I plan to extend this to test more advanced topics like performance tuning and integrate with data visualization tools in the future.

## Data Model

[![datamodel-drawio.png](https://i.postimg.cc/nLBV5PB3/datamodel-drawio.png)](https://postimg.cc/bGYjSL6n)

## How to Use

- Clone the repo
- Run the `DDL - Create tables and Insert data.sql` to create tables and insert mock data
- Explore and run queries from `Analysis.sql`