create table R (a char(1), b integer);
create table S (a char(1), c integer);

insert into R values
       ('a',1), ('b',2), ('c',3), ('d',4);
insert into S values
       ('a',2), ('b',2), ('d',2);
