Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Unix and Oracle
Hi all,
I have a table with 3 columns which are Counter, Officer, TYPE, PRICE,
Counter number 4
TYPE is only contain either Sell or Buy
Officer number 4
price number 11
I want to spool out report with SQL to be like this example
Counter : 0 -----Buy----- -----Sell----- Officer ========================================================== 1111 10 11 2222 12 13 1212 0 1 1213 0 0 Total 22 25
I have a problem combining buy and sell column can someone help me please
Thank you
Sinardy
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Sinardy
INET: sinardyxing_at_bcsis.com
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists --------------------------------------------------------------------To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Tue Aug 07 2001 - 22:59:52 CDT
![]() |
![]() |