You are on page 1of 1

create table employee(id number,addr varchar(20),salary float);

select * from employee

create sequence c
start with 1
increment by 5
minvalue 1
maxvalue 10
cache 10;

insert into employee values(c.nextval,'sangli',5000);

create or replace synonym staff for employee


insert into staff values(c.nextval,'sangli',500);

select * from staff

You might also like