USE `vn`;
CREATE 
     OR REPLACE ALGORITHM = UNDEFINED 
    DEFINER = `root`@`%` 
    SQL SECURITY DEFINER
VIEW `vn`.`saleChecked` AS
    SELECT 
        `m`.`Id_Movimiento` AS `saleFk`,
        `m`.`checked` AS `isChecked`
    FROM
        `vn2008`.`Movimientos_checked` `m`;
