Enable auto-complete in sql-mode
Use sql-indent
Don't show trailing whitespace in term-mode