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

10 lines
308 B
MySQL
Raw Permalink Normal View History

CREATE OR REPLACE DEFINER=`root`@`localhost`
SQL SECURITY DEFINER
VIEW `vn2008`.`Movimientos_componentes`
AS SELECT `sc`.`saleFk` AS `Id_Movimiento`,
`sc`.`componentFk` AS `Id_Componente`,
`sc`.`value` AS `Valor`,
`sc`.`created` AS `created`,
`sc`.`isGreuge` AS `greuge`
FROM `vn`.`saleComponent` `sc`