I had a need to store SQL queries in a file and execute them for each individual database, like it's done in DataGrip or DBeaver, but in a terminal. I used the editor "kaa" and integrated it with "visidata", then added support for various database clients. Voila!
Show HN: DbCls is a versatile terminal client that supports various databases | Heykuki News