Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Help with query
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Bruman wrote:
> Michel Cadot wrote:>
> > I like it. Is there a good source on Analytic Functions other than the > Oracle documentation? Some of us dunderheads have trouble following > the little charts and need examples to understand what is going on. >
Not sure why but it's not returning the same results as my query that doesn't use the analytic functions. I'm just not familiar enough with the analytic functions to debug it yet. Like Bruman, I'm looking for a good reference on them. The Oracle documentation seem to be written for someone who already knows them, not someone who's trying to learn them.
SELECT a.begin_time,
MAX (b.end_time) end_time, SUM (b.undoblks) * 8 / 1024 undo_mb FROM v$undostat a JOIN v$undostat b ON b.begin_time >= a.begin_time AND b.begin_time < a.begin_time + 2/24GROUP BY a.begin_time
iEYEARECAAYFAkV5srkACgkQzIf+rZpn0oQKzQCfeIoow6xua0BDEPZJRH2ovk+R
kz8AoJDKqNHhPwu6SI/37rQKjHw+8xBF
=NgiV
-----END PGP SIGNATURE-----
Received on Fri Dec 08 2006 - 12:45:13 CST