Professional Documents
Culture Documents
select * from customer where rating > (select max(rating) from customer where ci
ty='Rome');
select * from customer where rating not in (select rating from customer where c
ity='Rome');
insert into salesmen values('S1008','Rakesh',null,'.14');
CREATE TABLE LONDON_SATFF AS SELECT * FROM SALESMEN WHERE 1=2;
delete from orders where cnum =(select cnum from customer where cname='Piyush');
delete from orders where snum=(select snum from salesmen where sname='Piyush');
update customer set rating=400 where snum=(select snum from salesmen where sname
='Piyush');