1555. Bank Account Summary
Description
+--------------+---------+
| Column Name | Type |
+--------------+---------+
| user\_id | int |
| user\_name | varchar |
| credit | int |
+--------------+---------+
user\_id is the primary key for this table.
Each row of this table contains the current credit information for each user.+---------------+---------+
| Column Name | Type |
+---------------+---------+
| trans\_id | int |
| paid\_by | int |
| paid\_to | int |
| amount | int |
| transacted\_on | date |
+---------------+---------+
trans\_id is the primary key for this table.
Each row of this table contains the information about the transaction in the bank.
User with id (paid\_by) transfer money to user with id (paid\_to).ac
Last updated