Professional Documents
Culture Documents
Indian Bank Case Study - Ges
Indian Bank Case Study - Ges
DATABASE DESIGN:
TABLES:
ACCOUNT MASTER
PRODUCT MASTER
REGION MASTER
w w w . GuruEsolutions . c o m Pg: 1
INDIAN BANK – CASE STUDY
BRANCH MASTER
USER MASTER
TRANSACTION MASTER
I. . BUSINESS INTEGRIT Y RULES ( PK, UK, FK, CHECK C ONSTRAINTS & TRIGGERS)
1. Account ID, Branch ID, Product ID and Region ID fields should be UNIQUE
2. Date of Tr ansact ion ( DO T) and Date of Opening ( DOO) should be the current date
3. A Cheque which is more than s ix months old should not be accepted
4. No Tr ansact ions should be allowed on Acc ount s marked “ Inoperati ve”
5. When a Tr ansact ion is altered, the differenc e between the old amount and the new
amount cannot be more than 10 %, if the transact ion has been effect ed by the teller
6. More than three Cash Wit hdrawal transac ti ons in a s ingle account on the same day
should not be allowed
7. Cheque Number and Cheque Date columns should not be ‘ NULL’, if the Transac ti on
type is ‘ Cheque Deposi t’
8. A product should not be removed, i f there are accounts attach ed to i t ( Similar
checks are required wherever appropriate)
9. Transac ti on Amount should not be negati ve
10. Transac ti on Type should only be ‘ CW’ or ‘ CD’ or ‘ CQD’
11. An account should not be closed, if its related Cheques are in transit ( i. e. i f the Cleared
and Un-clear ed bal ances are not equal)
12. Un-cleared balance should not be less than Cleared balance
13. Minimum balance for Savi ngs Bank should be Rs. 1 , 000 /=
14. When there i s an insert/ update in the transac ti on amount for an account, Balance
( Clear & Unclear ) in the ‘ Account Master’ should be updated im plicit ly.
15. I f there is no minimum balance in the account, wi thdrawal should be prohi bi ted and an
appropr iate message should be displ ayed.
16. I f the cash deposit tr ansact ion amount is greater than Rs.50,000 /=, the same should be
inserted into the ‘High Value Transact ion’ table.
17. Total no. of tr ansact ions per month to be less than 5. I f it exceeds Rs.50 /= to be debited.
18. Total cash wit hdrawals allowed in a day is Rs.50,000 /-. When this is exceeded, a charge of
1 % i s to be debi ted.
INDIAN BANK – CASE STUDY
1. Only the Account Number, Name and Address f rom the ‘ Account Master’
2. Account Number, Name, Date of last Transac t i on, total number of transac t i ons in the
Account
3. Branch- wise, Product - wise, sum of Un-cl eared balance
4. C ustomer- wise, number of acc ount s held
5. Transac ti on Type - wise, Ac count- wise, sum of transact ion amount for the current
month
1. List the transac ti ons that have taken place in a given Branch during the previous
month
2. Give the branch- wise total cash deposit s that have taken place during the last 5 days
3. Give the branc h- wise total cash wi thdrawal s during the last month, where the total
cash wit hdrawals are gr eater than Rs 1 , 00 , 000
4. List the names of the account holders with correspondi ng branch names, in respect of
the max imum and minimum Cleared balance
5. List the names of the account holders with c orrespondi ng branch names, in respect
of the second- highest maximum and minimum Cleared balance
6. List the name of the account holder w ho has the second - highest cleared balance in
the branch having the account with the max imum cleared balance.
7. Give the Transac ti on Type - wise, branch- wise, total amount for the day
8. Give the names of the account holders who have not put thru not even a s ingle Cash
deposit transac ti on during the last 15 days
9. List the product having the max imum number of acc ount s
10. List the product having the max imum mont hly, average number of transact ions
( consider the last 6 months data)
11. List the product showing an inc reasing t re nd in average number of transac ti ons per
month.
12. List the names of the account holders and the number of t ransac ti ons put thru by
them, in a given day.
13. List the account holder’ s name, account number and sum amount for c ustomers who
have made more than one c ash wi thdrawal t ransac ti on in the same day ( Consider the
tr ansact ions in the last 20 days for this query)
14. List the account holder’ s name, account number and amount for c ustomers who have
made at least one transac ti on in each transact ion type in the last 10 days
15. List the number of t ransac ti ons that have been authoriz ed by the Manager so far
today
16. C onsi deri ng all transac ti ons which took place in the last 3 days, g ive the region -
wise, branch- wise breakup of number of t ransact ions only for those regions where
the total number of t r ansact ions exceeds 100 .
17. List the names of the cli ents who have accounts in all the product s
INDIAN BANK – CASE STUDY
18. List the acc ount s that are l ikely to become “ Inoperati ve” next month
19. List the user who has entered the max imum number of t ransac ti ons today
20. Given a branch, l ist the heaviest day in terms of number of transac t i ons/ value of
Cash Deposit s during the last one month
21. List the clients who have not used their cheque books during the last 15 days
22. List the t ransac ti ons that have happened wherein the transa cting branch is different
from the branch in which the account i s opened, but the Region i s the same
23. List the t r ansact ions that have happened wherein the transact ing branch is di fferent
from the branch in which the account is opened, and the two branc hes belong to
different regions
24. List the average tr ansact ion amount, Transac ti on Type - wise for a given branch and
for a given date
25. Provide the foll owing inform ati on f rom the ‘ Account Master’ table:
Product- wise, month- wise, number of accounts
Total number of ac counts for each product
Total number of acc ount s for each month
Total number of acc ount s in our bank
-------------------------------------------------------------------------------------------
Product Name :
Account No : Branch:
Cash Deposit s :
Cheque Deposi ts : …
Dates when the Balance dropped below the Minimum Balance for the Product: Closing
Balance :
- -- - -- -- - -- -- -- - -- -- - -- -- -- - -- -- - -- -- -- - -- -- - -- -- -- - -- -- - -- -- -- - -- -- - -- -- -- - -- -- - -- -- -- - -- -- - -- -- -- - -- -- - -