Aakash
Aakash
DBMS Assignment
A bank database keeps record of the details of customers, accounts, loans and
transactions such as deposits or withdraws. Customer record should include
customer id, customer name, address, age, contact number, email id etc.,
accounts details involves account number, account type(fixed account, savings
account, monthly account etc), date of creation of the account. Transaction detail
keeps information about amount deposited or withdrawn to/from a particular
account and the date of transaction. The database should also store record of
loans which include loan amount, loan date and the account number to which the
loan is granted.
Make appropriate tables for the above database and try to find out the
following queries:
The required table based on the above database is shown below :
b) List the Name and address of account holders with loan amount more than
50,000.
Ans.
d) List the account number with total deposit more than 80,000.
Ans.
g) Display the total amount deposited and withdrawn on 28h Aug, 2008.
Ans.