CREATE OR REPLACE DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `vn2008`.`payroll_employee` AS SELECT `pw`.`workerFkA3` AS `CodTrabajador`, `pw`.`companyFkA3` AS `codempresa`, `pw`.`workerFk` AS `workerFk` FROM `vn`.`payrollWorker` `pw`;