SQL-mode

SQL-mode is an emacs mode for editing and testing SQL. The most useful feature of SQL-mode is sending SQL statements to a SQL interpreter. SQL-mode was originally created for use with isql from Sybase, but now works with sqlplus from Oracle, psql from PostgreSQL, mysql from MySQL, and sqlite3 from SQLite.

Here's the latest version.