SQL queries can get hairy and I rely a lot on my desktop app's beautifier.
This works great most of the time, but unfortunately it removes curly braces, so if I have something like where ({{!table1.selectedRow.data.email}} or email = {{table1.selectedRow.data.email}}), it will turn it into where (!table1.selectedRow.data.email or email = table1.selectedRow.data.email), which obviously doesn't work.
It would be great if Retool would give me a button to beautify my SQL query code.
+1 to this. Do you have an update on this feature request?
I have ~70 queries in the Query Library and I end up having to copy/paste the query into another SQL editor to format it and copy/paste the query back in.