Eh, kenapa kok gak GROUP BY no_cust ?

Sorry klo tambah bingung...
Syauqi

On 3/23/06, 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
>
>
>  __________________________________________________
>  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
>
>
>
>
>  SPONSORED LINKS
>  Membership database software Database mortgage software Pda database
> software
>  Database management software Oracle database administration Oracle database
> management
>
>  ________________________________
>  YAHOO! GROUPS LINKS
>
>
>  Visit your group "indo-oracle" on the web.
>
>  To unsubscribe from this group, send an email to:
>  [EMAIL PROTECTED]
>
>  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
>
>  ________________________________
>




--
-----------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