(15 Marks) A bank introduces a Digital Gold Banking System that allows customers to maintain both conventional bank accounts and digital gold…

(15 Marks) A bank introduces a Digital Gold Banking System that allows customers to maintain both conventional bank accounts and digital gold investments. A customer may open one or more accounts, but each account belongs to only one customer and is maintained by a specifie branch. Customers may deposit, withdraw, or transfer money between accounts. Every transaction is processed by an employee and is assigned a iique reference number with its date and time. Customers can also buy or sell digital gold using money from one of their accounts. Since the market price of gold changes throughout the day, the bank records every price update with its effective timestamp. When a gold transaction occurs, the transaction must permanently store the price that was applicable at that moment, even if the market price changes later. A customer cannot sell more gold than the amount currently owned.

Now, design and implement the database with necessary tables with relevant constraints.

From the ICB Securities Trading Company Assistant Programmer July 2026 – Written (DU) exam, question 3 of 3.

More from this paper