CREATE OR REPLACE DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `vn2008`.`empresa_grupo` AS SELECT `vn`.`companyGroup`.`id` AS `empresa_grupo_id`, `vn`.`companyGroup`.`code` AS `grupo` FROM `vn`.`companyGroup`