Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

SQL Query

597023Sep 12 2007 — edited Sep 12 2007
Hi,

I have a table with a single column of number type.
and the data is as follows

col1
----------
12
22
33
-4
-6
-4

Now i need a query which gives the output as follows
(Two columns positive and negative)

positive negative
---------- ------------
12 -4
22 -6
33 -4

Comments

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Oct 10 2007
Added on Sep 12 2007
3 comments
1,458 views