SELECT vuedailypkg && This is the View which contains data from table "PkG" TABLEUPDATE() SELECT pkg && This is the table to be updated TABLEUPDATE()