SQL refactor - sqlparser/sql-pretty-printer GitHub Wiki Refactor SQL means we not only change the layout of origin SQL code but also the content. Remove redundant brackets in condition Add parentheses in expressions containing more than one identifier or literal