USE `vn`; CREATE OR REPLACE ALGORITHM = UNDEFINED DEFINER = `root`@`%` SQL SECURITY DEFINER VIEW `claimBeginning` AS SELECT `c`.`id` AS `id`, `c`.`cl_main_id` AS `claimFk`, `c`.`Id_Movimiento` AS `saleFk`, `c`.`numero` AS `quantity` FROM `vn2008`.`cl_det` `c`;