Poor SQL

: Take pity on your SQL with instant, free and open-source, online formatting using the Poor Man's T-SQL Formatter library. If you like it, download the SSMS / Visual Studio plugin, the command-line bulk formatter, and/or the WinMerge plugin to integrate it into your workflow and use it offline - equally free. (Or if you're feeling cruel, obfuscate your SQL instead!)
v1.5.1, Oct 2013 - Download
Put your mangled SQL in the box below, then tab or click outside the box (don't forget to play with the options on the right!)