Collection of SQL snippets that might be useful for this and that.