16 lines
444 B
SQL
16 lines
444 B
SQL
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
|
|
`vn2008`.`escritos_det` `e`; |