14 lines
393 B
MySQL
14 lines
393 B
MySQL
|
CREATE
|
||
|
ALGORITHM = UNDEFINED
|
||
|
DEFINER = `root`@`%`
|
||
|
SQL SECURITY DEFINER
|
||
|
VIEW `vn`.`sharingCart` AS
|
||
|
SELECT
|
||
|
`s`.`id` AS `id`,
|
||
|
`s`.`Id_Trabajador` AS `workerFk`,
|
||
|
`s`.`datSTART` AS `started`,
|
||
|
`s`.`datEND` AS `ended`,
|
||
|
`s`.`Id_Suplente` AS `workerSubstitute`,
|
||
|
`s`.`odbc_date` AS `created`
|
||
|
FROM
|
||
|
`vn2008`.`sharingcart` `s`
|