Emacs with databases without org would be interessing. I now there is sql-mode which supposedly works to connect with an inferior process but a tuorial about that would be nice
I also use: https://github.com/kostafey/ejc-sql for stuff not natively supported by sql-mode in emacs FWIW
I second that and would be interested in the sqlite-mode version of the tutorial.
M-x sql-sqlite
Then C-c C-c on paragraph you want to send/execute
M-x sql-send- for the other commands
The mode is called sql-interactive-mode
That's it.
You may be interested in PGmacs, a viewing/editing interface for PostgreSQL.
https://github.com/emarsden/pgmacs
(self-plug)