Ported unstaged SQL interpreter