You may have to truncate the date column.  You're looking to group it
by dates, yes? Oracle automagically stores times in there, too.

So:
SELECT trunc(date)...
....
GROUP BY trunc(date)

On 8/16/05, Ian Skinner <[EMAIL PROTECTED]> wrote:
> That created the columns but it didn't combine the rows.
> 
> I got results like this:
> > DATE     LOC AP  PL  WB
> > -------- --- --- --- ---
> > 20050706 NS  14  0   0
> > 20050706 NS  0   1   0
> > 20050706 NS  0   0   21
> > 20050706 SM  104 0   0
> > 20050706 SM  0   39  0
> > 20050706 SM  0   0   291
> 
> Not the desired two rows with three values each:
> > DATE     LOC AP  PL  WB
> > -------- --- --- --- ---
> > 20050706 NS  14  1   21
> > 20050706 SM  104 39  291
> 
> --------------
> Ian Skinner
> Web Programmer
> BloodSource
> www.BloodSource.org
> Sacramento, CA
> 
> "C code. C code run. Run code run. Please!"
> - Cynthia Dunning
> 
> Confidentiality Notice:  This message including any
> attachments is for the sole use of the intended
> recipient(s) and may contain confidential and privileged
> information. Any unauthorized review, use, disclosure or
> distribution is prohibited. If you are not the
> intended recipient, please contact the sender and
> delete any copies of this message.
> 
> 
> 
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:215338
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to