I wasn't familiar with EXISTS. This works nicely. THANKS!!
In article <OVm0aFwLEHA.1168@TK2MSFTNGP11.phx.gbl>, Vishal Parkar
[quoted text, click to view] <REMOVE_THIS_vgparkar@yahoo.co.in> wrote:
> Try:
>
> select distinct color from table1 a
> where exists
> (select * from table2 b
> where b.color = a.color)
>
>
> --
> Vishal Parkar
> vgparkar@yahoo.co.in
>
>