EverSQL Minifier is a free online minifier for SQL statements.
The formatter will minify any SQL query while removing spaces, tabs and newlines wherever needed. Try it out to turn your SQL query to a one-liner.
Disclaimer: EverSQL Minifier doesn't require any access to your database. Please be assured that your queries and data are safe with us.