henplus | JDBC SQL commandline frontend with TAB-completion | Mehr ...
HenPlus is an SQL shell written in Java that works for any database that has JDBC support. It provides commandline history, commandline completion, and can handle multiple connects to different databases at once. Database-independent table dumps, aliases, and variables are also supported.