>Hi Sergey;
>yes I see that way, but I want to avoid it.
>
>thank you any way,
>
>Agnes
If you still want to use SQL Select than it has to be two step process. Sometimes those two steps can be combined in one select using subquery or correlated subquery.
--sb--