1) create view KOOG(idg, pozisyon) as select staffno,title from staff
where title='Res. Asst.'; 2) select * from KOOG where yearsworked=(select max(yearsworked) from KOOG); 3) drop view KOOG; 4) alter table staff alter domain fname type varchar(25); alter table staff alter domain lname type varchar(25); alter table staff alter domain fname type varchar(25); 5) ALTER TABLE Staff ADD COLUMN Salary decimal(3,2); ALTER TABLE Staff ADD COLUMN phoneNo varchar(11); alter table staff add column DOB date; 6) select c.*,p.iddepo from staff c left join depobilgileri p on c.firmaid=p.firmaid;