[jmdb] Adding basic sql capablities