http://www.oreilly.com/catalog/mastorasql/toc.html

The draw back is that it is dedicated to Oracle. Hopefully one can extrapolate it for other databases.