salix/services/db/install/changes/1.0.9/05-clientSample.sql

16 lines
444 B
MySQL
Raw Normal View History

2018-07-27 09:18:27 +00:00
USE `vn`;
CREATE
OR REPLACE ALGORITHM = UNDEFINED
DEFINER = `root`@`%`
SQL SECURITY DEFINER
VIEW `clientSample` AS
SELECT
`e`.`id` AS `id`,
`e`.`Id_Cliente` AS `clientFk`,
`e`.`escritos_id` AS `typeFk`,
`e`.`fecha` AS `created`,
`e`.`Id_Trabajador` AS `workerFk`,
`e`.`userFk` AS `userFk`,
`e`.`empresa_id` AS `companyFk`
FROM
2018-08-21 11:38:16 +00:00
`vn2008`.`escritos_det` `e`;