Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: How to sum dba_data_files by tablespace? Help!!

Re: How to sum dba_data_files by tablespace? Help!!

From: G Quesnel <dbaguy_ott_at_yahoo.com>
Date: 21 Dec 2004 07:28:39 -0800
Message-ID: <1103642919.031688.220450@c13g2000cwb.googlegroups.com>


Simply put your entire select statement within a from clause of another select statement.
ie select tablespace_name, sum(free_mb)
from (Select ...)
group by tablespace_name;
Also remember to remove your order by clause in the inner Select clause. Received on Tue Dec 21 2004 - 09:28:39 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US