Added IF NOT EXISTS to the view creation query

Signed-off-by: plamen911 <plamen@lynxlake.org>