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!)
v2.0.0, Jul 2017 - Download
About
Tips
Demos

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!)