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

10 lines
267 B
MySQL
Raw Normal View History

CREATE OR REPLACE DEFINER=`root`@`localhost`
SQL SECURITY DEFINER
VIEW `vn2008`.`Origen`
AS SELECT `o`.`id` AS `id`,
`o`.`code` AS `Abreviatura`,
`o`.`name` AS `Origen`,
`o`.`countryFk` AS `Id_Paises`,
`o`.`warehouseFk` AS `warehouse_id`
FROM `vn`.`origin` `o`