coba group by no_cust saja..

--- abang sunda <[EMAIL PROTECTED]> wrote:

> dear all,
> mo tanya soal sql plus statement.
> gimana caranya group by memakai column alias ?
> 
> mis : select no_cust CUST_, sum(amount) from tableA
>       group by CUST_ ?
> 
> kok selalu error.
> jadi kurang praktis kalo  misalnya memakai
> case
>   when .....
>   when .....
> else
>   ...
> end.
> 
> kan harus mengulang syntax dr 'case sampai end'
> di group by nya ?
> 
> maaf kl membingungkan kata2nya.
> 
> oracle 9i

Mauliate,
  Fernando Napitupulu


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


--
-----------I.N.D.O - O.R.A.C.L.E---------------
Keluar: [EMAIL PROTECTED]
Website: http://indo-oracle.lizt.org (NEW)
-----------------------------------------------

Bergabung dengan Indonesia Thin Client User Groups, 
Terminal Server, Citrix, New Moon Caneveral, di:
http://indo-thin.vze.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/indo-oracle/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Kirim email ke