Uploaded by manojpradeep91

DBMS DA 2nd

advertisement
PRADEEP KUMAR
21BIT0592
Q3.
1.
Syntax:
account :
AID number(10),
type varchar(100) check(type in('savings','current')),
balance number(10),
bank_code varchar(100),
CID varchar(100),
constraint Pk_Account Primary key(AID),
constraint Fk1_Account Foreign key(bank_code) references Bank_master(Code),
constraint Fk2_Account Foreign key(CID) references Customer(CID));
Loan :
create table Loan(
LNO number(10),
type varchar(100) check(type in('vechicle','house','education','personal')),
Amount_sanctioned varchar(100),
balance varchar(100),
bank_code varchar(100),
CID varchar(100),
constraint Pk_loan Primary key(LNO),
constraint Fk1_Loan Foreign key(bank_code) references Bank_master(Code),
constraint Fk2_Loan Foreign key(CID) references Customer(CID));
2.
Online deposits:
PRADEEP KUMAR
21BIT0592
Transaction:
Q3.
PRADEEP KUMAR
21BIT0592
Q4.
PRADEEP KUMAR
21BIT0592
Q5.
Q6.
Amount:
Loan:
PRADEEP KUMAR
21BIT0592
Q7.
Q8.
Q9.
PRADEEP KUMAR
21BIT0592
Q10.
PRADEEP KUMAR
21BIT0592
Q4.
Q1.
Q2.
Q3.
Q4.
PRADEEP KUMAR
21BIT0592
Q5.
Q6.
PRADEEP KUMAR
21BIT0592
Q7.
Q8.
PRADEEP KUMAR
21BIT0592
Q9.
Q10.
Q11.
Q12.
Q13.(Assuming the bank as Indian bank)
PRADEEP KUMAR
21BIT0592
Q14.
Q15.
Download