【工具】在线代码格式化工具 https://tool.oschina.net/codeformat/sql 可以格式化 html,xml,css,json,js,java,sql等,我试了sql格式化的效果,比较好用。