CREATE OR REPLACE DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `vn`.`preparationException` AS SELECT `p`.`exception_day` AS `exceptionDay`, `p`.`warehouse_id` AS `warehouseFk`, `p`.`percentage` AS `percentage` FROM `vn2008`.`preparation_exception` `p`