A SQL-based data analytics project that analyzes user spending behavior, detects budget overruns, and generates financial insights using Oracle SQL.
This project simulates a real-world expense tracking system where users' spending is analyzed across different categories and compared against predefined budgets.
The goal is not just data storage, but financial behavior analysis using SQL queries.
- Track user expenses across categories
- Compare actual spending with budgets
- Identify overspending patterns
- Generate financial insights using SQL
- Practice real-world data analysis logic
- Oracle SQL
- SQL (Joins, Aggregations, Subqueries, CASE statements)
- Database Design Concepts
The project contains the following tables:
- users β stores user details
- categories β expense categories (Food, Travel, etc.)
- expenses β transaction records
- budgets β monthly budget limits per category
Calculates how much each user has spent overall.
Breaks down expenses by category.
Compares spending against budget limits.
Identifies users exceeding their budget.
Finds top spenders using SQL ranking logic.
- Some users consistently exceed budget in Travel & Shopping
- Food category shows moderate but frequent spending
- Rent remains stable and predictable
- Overspending patterns help identify financial behavior trends
- Run
schema.sqlto create tables - Run
sample_data.sqlto insert sample data - Run
analytics_queries.sqlto generate insights
- Database design fundamentals
- Writing complex SQL queries
- Using JOINs for relational analysis
- Aggregation and grouping logic
- Real-world financial data modeling
Akash
Student | Developer
- Add Power BI dashboard for visualization
- Automate monthly expense reports
- Add alerts for budget exceedance
- Convert into full-stack web app