USE `vn`; CREATE OR REPLACE ALGORITHM = UNDEFINED DEFINER = `root`@`%` SQL SECURITY DEFINER VIEW `vn`.`preparationPercentage` AS SELECT `p`.`week_day` AS `weekDay`, `p`.`warehouse_id` AS `warehouseFk`, `p`.`percentage` AS `percentage` FROM `vn2008`.`preparation_percentage` `p`;