Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.tools -> Re: possible: different WHEREs per column??
Yes, with clever use of DECODEs. Use the FROM and WHERE clause to deliver the 'lowest common denominator', and then use the DECODEs to determine whether of not to display the value of that column for that row.
HTH,
Michael J. Ort
In article <8dffu7$1pe$1_at_nnrp1.deja.com>,
li <vsp_at_us.net> wrote:
> Hi,
>
> This is rather an SQL question, I guess:
>
> Can I build a view from 3 tables having a different WHERE condition
for
> each non-key column without creating intermediary views?
>
> Thanks for helping,
>
> vsp
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
>
Sent via Deja.com http://www.deja.com/
Before you buy.
Received on Mon Apr 17 2000 - 00:00:00 CDT
![]() |
![]() |