In a CREATE VIEW statement, a named result table was specified in a FROM clause of the QUERY expression. However, only base or view tables may be specified.
Specify a base or view table in the SQL statement and expand the search condition to include the conditions used when the result table was generated.