organize my intermediate SQL snippets