select a.tablespace_name, round(a.bytes_alloc / 1024 / 1024, 2) as current_size ,round(nvl(b.bytes_free, 0) / 1024 / 1024, 2) as free_size ,round(a.bytes_alloc - nvl(b.bytes_free, 0) / 1024 / 1024, 2) as used_si ,round((nvl(b.bytes_free, 0) / a.bytes_alloc)*100, 2) as free_rate ,100 - round((nvl(b.bytes_free, 0) / a.bytes_alloc)*100, 2) as used_rate -- ,round(a.MAXBYTES/ 1024 / 1024, 2) as curre..