USE `vn`;
CREATE 
     OR REPLACE ALGORITHM = UNDEFINED 
    DEFINER = `root`@`%` 
    SQL SECURITY DEFINER
VIEW `vn`.`agencyModeZone` AS
    SELECT 
        `a`.`Id_Agencia` AS `agencyModeFk`,
        `a`.`zona` AS `zone`,
        `a`.`price` AS `price`,
        `a`.`Id_Article` AS `itemFk`,
        `a`.`warehouse_id` AS `warehouseFk`,
        `a`.`porte_minimo` AS `minimCost`,
        `a`.`inflacion` AS `inflation`
    FROM
        `vn2008`.`Agencias_zonas` `a`;
