Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: need help with sql
Starton X. Mangrove wrote:
> Sorry, Im majorly stressed out due to a deadline. I sincerely apologize for
> saying all that.
If you can say it twice ... I'll back off. Apology accepted.
Seriously ... you were given two workable solutions. Your original post described two situations ... some column = 0 or it doesn't. You can use decode to solve it or you can put together two separate queries as I indicated and UNION or UNION ALL them together: Either will work.
-- Daniel A. Morgan University of Washington damorgan_at_x.washington.edu (replace 'x' with 'u' to respond)Received on Thu Mar 03 2005 - 10:20:48 CST