Changed the mat_view table cration query