Can anyone recommend a good tutorial (or book perhaps) that covers advanced topics in the use of Analytic Functions?
I'm looking for something that covers both Oracle and SQLServer - or two separate guides if a single one doesn't exist. Something that offers good examples of using nontrivial functions (LAG, LEAD, GROUPING, PERCENTILE) would be helpful.
Please don't point me at the basic Oracle Technet or MSDN reference material - I've seen that. I'm looking for something that goes beyond just syntax or trivial examples.