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

11 lines
316 B
MySQL
Raw Permalink Normal View History

CREATE OR REPLACE DEFINER=`root`@`localhost`
SQL SECURITY DEFINER
VIEW `vn2008`.`cl_act`
AS SELECT `c`.`id` AS `id`,
`c`.`saleFk` AS `Id_Movimiento`,
`c`.`claimFk` AS `cl_main_id`,
`c`.`workerFk` AS `Id_Trabajador`,
`c`.`claimDestinationFk` AS `cl_sol_id`,
`c`.`isGreuge` AS `greuge`
FROM `vn`.`claimEnd` `c`