Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: URGENT : Query for Aggregate functions
One line expression is like
select column_name * 1.5,column_name1 - column_name2
from <table>
aggreate function is like
select column_name1,max(column_name2),sum(column_name3)
from <table>
group by column_name1
Yes, you can use them together and then you have to group by function.
Brgds
Thava
Sekhons <anoops_at_sympatico.ca> wrote in message
news:gZWd3.23610$5a.29532_at_news20.bellglobal.com...
> Hi,
>
> Could anyone tell me what is the difference between aggregate functions
and
> one line expressions and whether we can use them together. And if we can
> then do we have to use a ".
> group-by-function".
>
> It would be of great help if someone could please reply to me soon.
>
> Thanks.
>
> Sherry
>
>
Received on Wed Jun 30 1999 - 07:13:40 CDT
![]() |
![]() |