Support empty query resultAlias

Don't add "." in fully qualified result name if query.resultAlias is empty.