Version 1.7 of package Sql-Indent has just been released in GNU ELPA. You can now find it in M-x list-packages RET.
Sql-Indent describes itself as: ======================================== Support for indenting code in SQL files. ======================================== More at https://elpa.gnu.org/packages/sql-indent.html ## Summary: `sqlind-minor-mode' is a minor mode that enables syntax-based indentation for `sql-mode' buffers: the TAB key indents the current line based on the SQL code on previous lines. To setup syntax-based indentation for every SQL buffer, add `sqlind-minor-mode' to `sql-mode-hook'. Indentation rules are flexible and can be customized to match your personal coding style. For more information, see the "sql-indent.org" file. ## Recent NEWS: [Not provided 🙁]
