create table iot ( 
  x number,  
  y number,  
  constraint iot_pk primary key (x,y) 
) organization indexTable created.
create index secondary_idx on iot (y)Index created.
insert into iot select rownum,mod(rownum,3) from dual connect by level<=77 row(s) inserted.
commitStatement processed.
alter table iot add z numberTable altered.
update iot set z=42 where x=11 row(s) updated.
commitStatement processed.
select * from iot| X | Y | Z | 1 | 1 | 42 | 2 | 2 | - | 3 | 0 | - | 4 | 1 | - | 5 | 2 | - | 6 | 0 | - | 7 | 1 | - | 
|---|
select * from iot where y=1| X | Y | Z | 1 | 1 | 42 | 4 | 1 | 42 | 7 | 1 | 42 | 
|---|
select /*+ index_ffs (iot) */ * from iot where y=1| X | Y | Z | 1 | 1 | 42 | 4 | 1 | - | 7 | 1 | - | 
|---|