organizing thoughts for sql db