Ha
Harlequin
The SQL IDE for Your Terminal. Now with hsql, your agent's favorite sql client.
Pricing
Open source
The source code is public, so you can run it yourself. Hosting, and any outside services it uses, may still cost money.
Prices change often. Check the official site for current plans before you buy.
Official website