Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: Pls correct SQL - Urgent

Re: Pls correct SQL - Urgent

From: Mark D Powell <Mark.Powell_at_eds.com>
Date: 19 Jul 2005 07:39:30 -0700
Message-ID: <1121783969.975835.287080@f14g2000cwb.googlegroups.com>


KK, the first query is not returning duplicates as you claim. Each recored is unique. Your problem is that all the data is the same except for the last column selected which returns one column equal to 'success' and one equal to 'failure'.

In your note later you state what you want for a return list from the first query but you do not state the criteria for determing that the success or failure row should be returned. Something like you want the last action, first action, count of successes and failures for each activity etc....

HTH -- Mark D Powell -- Received on Tue Jul 19 2005 - 09:39:30 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US