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 -> wrong output from Join

wrong output from Join

From: Jagjeet Singh <jagjeet_malhi_at_hotmail.com>
Date: 22 Jul 2005 09:04:05 -0700
Message-ID: <1122048245.213880.296090@o13g2000cwo.googlegroups.com>


Hi,

 I need to calculate the sum of tablespace's size and its free size.

Select a.tablespace_name,sum(a.bytes) total_mb,sum(b.bytes) Free_mb from dba_data_files a , dba_free_space b where a.tablespace_name = b.tablespace_name group by a.tablespace_name
/

This query is givien wrong output.

Can anyone is explain it why is it giving wrong output.

Thanks,
Js Received on Fri Jul 22 2005 - 11:04:05 CDT

Original text of this message

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