Re: equivalent for 'compute' in sql server
Roland, ok i understood.
thanx for the suggestion. i had modified the query as :
CREATE PROCEDURE `pubs_dbo`.`reptq1` ()
select avg(price),pub_id, title_id, price, pubdate
from `pubs_dbo`.`titles`
where price is NOT NULL
group by pub_id
order by pub_id with rollup;
and it displays group-wise records only.
UJVALA
Subject
Views
Written By
Posted
5387
November 04, 2005 06:16AM
3266
November 04, 2005 09:03AM
3218
November 05, 2005 04:04AM
Re: equivalent for 'compute' in sql server
2851
November 07, 2005 05:21AM
8972
November 07, 2005 06:02AM
4048
November 05, 2005 07:20AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.