An online banking database design is the process of creating a database to help manage banking operations. The database typically includes features such as customer accounts, transactions, payment processing, and fraud detection. It is important to properly design the database to ensure that it is secure and can handle large volumes of data. The database should also be indexed so that queries can be executed quickly. Additionally, the database should be designed in a way that allows for scalability and flexibility. Online banking Database design and ER diagram is uploaded in this article. You can download this project code by following link..

Database Name: banking

Table: accounts

FieldTypeNullDefault
acc_typevarchar(50)Yes 
minbalancevarchar(20)Yes 

Table: complaints

FieldTypeNullDefault
slnoint(250)Yes 
comp_tovarchar(20)Yes 
comp_fromvarchar(50)Yes 
subjectvarchar(150)Yes 
complaintvarchar(750)Yes 
comp_datedatetimeYes 

Table: customer

FieldTypeNullDefault
custidvarchar(200)Yes 
first_namevarchar(200)Yes 
last_namevarchar(200)Yes 
agevarchar(3)Yes 
addressvarchar(200)Yes 
countryvarchar(15)Yes 
emailvarchar(200)Yes 
sexvarchar(15)Yes 
contact_numbervarchar(200)Yes 
acc_numbervarchar(200)Yes 
balancefloatYes 
acc_typevarchar(200)Yes 
opendatedateYes 

Table: found_tran

FieldTypeNullDefault
deb_acct_novarchar(50)Yes 
cre_acct_noint(20)Yes 
datedatetimeYes 
balanceint(50)Yes 
deb_amountint(20)Yes 

Table: interest

FieldTypeNullDefault
acc_numint(20)Yes 
datedateYes 
old_balfloatYes 
interestfloatYes 
tot_balfloatYes 

Table: loan

FieldTypeNullDefault
custidint(20)Yes 
loan_typevarchar(50)Yes 
loan_amountint(20)Yes 
durationint(4)Yes 
namevarchar(25)Yes 
addressvarchar(150)Yes 
professionvarchar(20)Yes 
incomeint(20)Yes 
teleint(25)Yes 
emailvarchar(30)Yes 
requestdatedateYes 
statusvarchar(20)Yes 

Table: loan_accept

FieldTypeNullDefault
cust_idint(20)Yes 
loan_idint(20)Yes 
typevarchar(100)Yes 
amountint(50)Yes 
durationint(20)Yes 
start_datedateYes 
monthly_instint(20)Yes 

Table: loan_paid

FieldTypeNullDefault
cust_idint(20)Yes 
loan_idint(20)Yes 
insta_datedateYes 
pay_datedateYes 
due_amountint(20)Yes 
inst_amountint(20)Yes 
balanceint(50)Yes 
statusint(11)Yes 

Table: loan_type

FieldTypeNullDefault
loan_typevarchar(100)Yes 
durationvarchar(20)Yes 
loan_amountvarchar(50)Yes 

Table: login

FieldTypeNullDefault
user_namevarchar(200)Yes0
user_passwordvarchar(200)Yes0
user_typevarchar(200)Yes0
questionvarchar(200)Yes 
ansvarchar(50)Yes 

Table: rejected_information

FieldTypeNullDefault
cust_idvarchar(20)Yes 
informationvarchar(500)Yes 

Table: transactions

FieldTypeNullDefault
tranidvarchar(200)Yes 
trantypevarchar(200)Yes 
tranmethodvarchar(200)Yes 
datetimestampYesCURRENT_TIMESTAMP
cheque_numvarchar(25)Yes 
acc_numvarchar(200)Yes 
amountvarchar(200)Yes 
current_balancefloatYes 
remarksvarchar(200)Yes 
custidvarchar(20)Yes 
14 thoughts on “Online banking Database design”
    1. Yes. this table is not in sql format.. just copy this table in mysql foler – > data foler..
      Then type localhost/phpmyadmin in browser..

      1. I have error from login.php file
        that says invalid identifier from below line
        $_SESSION[tp] =$type;
        Please help this..
        Best Regard

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.