USE `vn`;
CREATE 
     OR REPLACE ALGORITHM = UNDEFINED 
    DEFINER = `root`@`%` 
    SQL SECURITY DEFINER
VIEW `department` AS
    SELECT 
        `b`.`department_id` AS `id`,
        `b`.`name` AS `name`,
        `b`.`father_id` AS `fatherFk`,
        `b`.`production` AS `isProduction`
    FROM
        `vn2008`.`department` `b`;
