Skip to content

Bheki0987/Ubuntu-National-Bank-UNB-Data-Analytics-Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

31 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🏦 Ubuntu National Bank (UNB) β€” Banking Data Analytics Project

MySQL Status Domain

πŸ“Œ Project Overview

This repository hosts an end-to-end, real-world simulated banking data analytics project built using MySQL. It represents the data environment of a fictional financial institution, Ubuntu National Bank (UNB).

This repository demonstrates the full data lifecycleβ€”from business requirement gathering and conceptual modeling to data quality assurance, reconciliation, and executive analytics. It is designed to mirror the actual workflows of Data Analysts and Database Analysts in the financial sector.


πŸ“– Table of Contents

  1. Business Context
  2. Project Philosophy & Design
  3. Data Architecture
  4. Technical Capabilities
  5. Repository Structure
  6. How to Run
  7. Author

🏦 Business Context

Ubuntu National Bank (UNB) is a fictional retail and commercial bank operating across multiple branches. The project models core banking functions including:

  • Customer Management: KYC data, demographic segmentation, and relationship history.
  • Account Operations: Savings, Cheque, and Credit account lifecycles.
  • Transaction Processing: High-volume credits/debits, inter-branch transfers, and fees.
  • Lending: Loan origination, repayment tracking, and exposure analysis.
  • Audit & Governance: Staff activity logging and operational reconciliation.

🎯 Key Business Objectives

The analytics suite in this project solves specific business problems:

  • Customer 360: Consolidating customer data for personalized service.
  • Risk Management: Monitoring loan exposure and outstanding balances.
  • Operational Efficiency: Evaluating branch-level performance and transaction volumes.

πŸ’‘ Project Philosophy & Design

This project adheres to banking data best practices:

"Balances are derived, not stored."

  • Immutable Transaction Modeling: No data is overwritten. Balances are calculated dynamically from transaction history to ensure auditability.
  • Separation of Duties: Distinct handling of transactional data (OLTP concepts) and master data.
  • Historical Tracking: Implementation of logic to track status changes over time.
  • Reconciliation First: Includes specific SQL scripts to validate that Sum(Transactions) = Ending Balance, ensuring data integrity before reporting.

πŸ— Data Architecture

Insert Entity Relationship Diagram Here

The database schema includes normalized tables designed for high referential integrity.

  • Conceptual Data Model: High-level entity relationships.
  • Logical & Physical Models: Detailed schema designs including constraints, primary/foreign keys, and indexes.

πŸ›  Technical Capabilities

πŸ’» Tech Stack

  • Database: MySQL
  • Tools: MySQL Workbench, AI (ChatGPT)

πŸ“Š SQL Skills Demonstrated

  • Advanced DDL: Table creation with strict constraints and indexing strategies.
  • Complex DML: Window functions (RANK, LEAD, LAG) for time-series analysis.
  • Data Quality: Scripting for duplicate detection, null handling, and orphan record identification.
  • Reconciliation Logic: Automated checks to verify ledger accuracy.
  • Reporting Views: Creating abstraction layers for Executive KPIs and decision support.

πŸ“‚ Repository Structure

Ubuntu-National-Bank-UNB-Data-Analytics-Project/
β”œβ”€β”€ 1️⃣ UNB Documentation/
β”‚
β”œβ”€β”€ 2️⃣ UNB MySQL File/
β”‚
β”œβ”€β”€ 3️⃣ UNB MySQL Screenshots/
β”‚
β”œβ”€β”€ LICENSE
└── README.md

πŸš€ How to Run

1. Clone the Repository

Bash

git clone https://github.com/Bheki0987/Ubuntu-National-Bank-UNB-Data-Analytics-Project.git

2. Initialize Database

  • Open your MySQL client (Workbench/DBeaver).
  • Execute the scripts in 2️⃣ UNB MySQL File/ in numeric order (01 -> 04).

3. Run Analytics

  • Execute the 04_Analytical_Views.sql to generate report tables.
  • Run specific KPI queries to see the "Customer 360" or "Branch Performance" reports.

πŸ‘€ Author

Bheki Mogola Data Analyst | Business Analyst | Database Analyst

LinkedIn

About

🏦 An end-to-end banking data analytics project simulating a real-world financial environment (Ubuntu National Bank). Features advanced MySQL architecture, immutable transaction modeling, reconciliation frameworks, and executive KPI reporting. Designed to demonstrate full-cycle data ownership from schema design to business intelligence.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors