1587. Bank Account Summary II
Description
+--------------+---------+
| Column Name | Type |
+--------------+---------+
| account | int |
| name | varchar |
+--------------+---------+
account is the primary key for this table.
Each row of this table contains the account number of each user in the bank.+---------------+---------+
| Column Name | Type |
+---------------+---------+
| trans\_id | int |
| account | int |
| amount | int |
| transacted\_on | date |
+---------------+---------+
trans\_id is the primary key for this table.
Each row of this table contains all changes made to all accounts.
amount is positive if the user received money and negative if they transferred money.
All accounts start with a balance 0.ac
Last updated