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

9 lines
296 B
MySQL
Raw Normal View History

CREATE OR REPLACE DEFINER=`root`@`localhost`
SQL SECURITY DEFINER
VIEW `vn2008`.`Cubos_Retorno`
AS SELECT `rb`.`id` AS `idCubos_Retorno`,
`rb`.`freightContainerType` AS `Soporte`,
`rb`.`freightPackagingEmpty` AS `Vacio`,
`rb`.`freightPackagingFull` AS `Lleno`
FROM `vn`.`returnBuckets` `rb`