salix/services/db/install/changes/1.0.10/01-claimBeginning.sql

14 lines
326 B
SQL

USE `vn`;
CREATE
OR REPLACE ALGORITHM = UNDEFINED
DEFINER = `root`@`%`
SQL SECURITY DEFINER
VIEW `claimBeginning` AS
SELECT
`c`.`id` AS `id`,
`c`.`cl_main_id` AS `claimFk`,
`c`.`Id_Movimiento` AS `saleFk`,
`c`.`numero` AS `quantity`
FROM
`vn2008`.`cl_det` `c`;