add table output for sql. make Ctrl-Q shortcut to run code