salix/db/routines/vn2008/views/empresa_grupo.sql

7 lines
220 B
MySQL
Raw Normal View History

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`