initial sql curses update

initial sql curses update