A view definition must contain at least a SELECT and FROM directive. Please, take into account that keywords in the view definition are case sensitive.