DBMS Lab4 146
DBMS Lab4 146
Question - 1
INSERT VALUES:
insert into depositor (customer_no, accno) values ('C001', 101), ('C002', 102),
('C003', 103);
QUERIES:
1. Find customer numbers of all customers who have at least two accounts
at the ‘Main’ branch.
Question - 2
UPDATE Department
SET MgrSSN = '123456789' WHERE DepNo = 1;
UPDATE Department
SET MgrSSN = '987654321' WHERE DepNo = 2;
UPDATE Department
SET MgrSSN = '654987321' WHERE DepNo = 3;
UPDATE Department
SET MgrSSN = '159753486' WHERE DepNo = 4;
UPDATE Department
SET MgrSSN = '951753486' WHERE DepNo = 5;