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

11 lines
298 B
MySQL
Raw Normal View History

CREATE OR REPLACE DEFINER=`root`@`localhost`
SQL SECURITY DEFINER
VIEW `vn2008`.`province`
AS SELECT `p`.`id` AS `province_id`,
`p`.`name` AS `name`,
`p`.`countryFk` AS `Paises_Id`,
`p`.`warehouseFk` AS `warehouse_id`,
`p`.`zoneFk` AS `zone`,
`p`.`geoFk` AS `geoFk`
FROM `vn`.`province` `p`