making query support command.db, data table, etc