can somebody tell me how to do the following.

let's say we have a user name test;
under test,

create table a( a int primary key);
create table b( a int references a(a));

then how can i get a ER diagram automatically for this scenario by using designer 6i?

can you give me step by step example.

somebody tell me using import, but i don't know how to
do that exactly.