OsarohEkhoragbon/SQL-Fraud-Detection-Banking

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repository contains a capstone project focused on fraud detection in the banking sector using PostgreSQL. By querying transactional data from a fictional financial institutionβ€”PioneerTrust Bankβ€”the project uncovers suspicious patterns and provides actionable fraud prevention recommendations.


Business Case
PioneerTrust Bank was facing an increasing volume of flagged transactions resulting in financial loss and reduced customer trust. This project uses SQL to analyze transaction patterns and support real-time fraud detection.

Tools Used

  • PostgreSQL
  • SQL

  1. High-Value Transactions

    • Top 5 highest transactions (₦15,000)
    • Average transaction amount (₦6,650.00)
    • Outliers exceeding average flagged for review
  2. Repeat Offenders

    • Identified customers with multiple flagged transactions
    • Notable: A user with 5 fraud alerts
    • Fraud spikes on March 2nd
  3. Location-Based Anomalies

    • Customers transacting from 3+ locations in one day
    • High-risk locations: San Francisco & New York
  4. Transaction Type Analysis

    • Flagged deposits exceeded withdrawals
    • Indicates vulnerabilities in deposit systems
  5. Account Risk Profiling

    • Individual accounts flagged more than business accounts
    • Recommendation: tighten KYC for individual accounts

  • Behavior-based fraud detection triggers
  • Automated alerts for high-risk transactions
  • Geo-location alerts and time-based fraud insights
  • Improved account monitoring policies

  • PioneerTrust_db case study.sql – Core SQL queries used for analysis
  • SQL question screenshots/ – Screenshots of pgAdmin4 results and outputs
  • SQL_Fraud_Detection_Capstone_Presentation.pdf – Summary of insights and management recommendations
  • README.md – Project overview and documentation

SQL & Data Analytics Enthusiast | Fraud Risk Analyst
πŸ“« [[email protected]]
πŸ”— LinkedIn Profile

πŸ“Œ Linkedin Project Link


This project is open for learning and educational purposes. Attribution is appreciated.

About

A SQL-based fraud detection project using PostgreSQL to analyze transaction data for a bank and uncover high-risk behaviors, repeat offenders, and location-based anomalies.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published