Install sqlformat by entering the following commands in the terminal:
sudo apt update sudo apt install sqlformat
Description:
SQL formatting utility
The sqlformat command-line tool can be used to reformat SQL file according to specified options or prepare a snippet in some programming language (only Python and PHP currently supported).
Homepage: https://github.com/andialbrecht/sqlparse
Version: 0.2.4-0.1
Section: universe/text