I am working on database where I am trying to create view to get all records from Art table but i am getting error.

My SQL query for creating the view is as follows:

```
CREATE VIEW artInfo 
AS
    SELECT * 
    FROM art 
    WHERE artName = 'Guernica'; 

```