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

Home -> Community -> Usenet -> c.d.o.tools -> Re: GROUP BY

Re: GROUP BY

From: <xmark.powell_at_eds.com.x>
Date: 21 May 2001 13:32:00 GMT
Message-ID: <9eb5cg$f4j$1@news.netmar.com>

In article <9i8O6.591$_ub.180023808_at_news.telia.no>, inger ruud <iru_at_provida.no> writes:
>Hi!
>
>I would like to group my query by part of a field.
>
>Ex.
>
>25000000497670000000000
>27600000450947000000000
>57800000491818000000002
>57800000492500000000000
>
>I want to group by the 6 first characters.
>
>
>HELP!
>
>

Try "group by substr(colname,1,6) "

Received on Mon May 21 2001 - 08:32:00 CDT

Original text of this message

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