If "I created a table for each account, loan, deposit, current account" means that you have more than four tables, then you are doing something very wrong. You must have one table for clients and one table for transactions. A transaction is money moving from one account to another account, therefore, field identifiers, transaction date, credit account, debit account, amount will be indicated in a simple transaction table. In accounting, transactions are often used that include several credit and debit accounts, therefore they cannot be supported in the simple transaction scheme described above.
If you want to present loans, then you probably need two more tables: one table contains the atomic details of all loans (date given, creditor account, total amount, nominal interest rate, etc.) and another table contains the projected payments of each loan .
There is no need for additional tables representing deposits or checking accounts: they can be represented as accounts with a type field indicating what type they are.
source share