SQL SELECT statement is invalid (Error 1498)

The SQL statement which defines a view is missing the SELECT or FROM clause. Correct the syntax of the SQL statement. For more information, see SELECT - SQL.