Professional Documents
Culture Documents
NAME VARCHAR(100),
ADDRESS VARCHAR(200) ,
);
CUSTNO NUMBER(10) ,
INTEREST_RATE NUMBER(3,2),
Primary KEY(FDNO),
);
/*insert data*/
/*add fdopening_date*/
/*display customer name whose fdamt is same as average of all all fd*/
Select DISTINCT C.NAME from customer c join fdmaster fd on fd.custno = c.custno and fdamt = (select
avg(fdamt) from fdmaster)