USE `vn`;
CREATE 
     OR REPLACE ALGORITHM = UNDEFINED 
    DEFINER = `root`@`%` 
    SQL SECURITY DEFINER
VIEW `sample` AS
    SELECT 
        `e`.`id` AS `id`,
        `e`.`abrev` AS `code`,
        `e`.`descripcion` AS `description`,
        `e`.`visible` AS `isVisible`
    FROM
        `vn2008`.`escritos` `e`;

