Hallo,

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

Caranya mudah :

select * from
(select no_cust CUST_, amount from tableA)
group by CUST_;

Pasti jalan.
Mudah bukan.

Semoga membantu.

Thanks,

Andri L. Vicko





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