drop table t;
create table t(
  a integer, primary key (a), 
  b integer not null,
  c integer,
  unique (b, c),
  check (a+b>4)
);

insert into t values(1,2,9);
insert into t values(1,4,9);
insert into t values(1,7,9);
insert into t values(2,4,9);
insert into t values(22,3,99);
delete t where a = 1;
update t set c = 88 where a = 22;
select * from t;

create or replace view v as
    select a, c
        from t
	where b < 6;

select * from v;

