nialogic: got 'select', 'rename', and simple 'where' working