USE `vn`; CREATE OR REPLACE ALGORITHM = UNDEFINED DEFINER = `root`@`%` SQL SECURITY DEFINER VIEW `vn`.`expedition` AS SELECT `e`.`expeditions_id` AS `id`, `e`.`agency_id` AS `agencyModeFk`, `e`.`ticket_id` AS `ticketFk`, `e`.`EsBulto` AS `isBox`, `e`.`odbc_date` AS `created`, `e`.`Id_Article` AS `itemFk`, `e`.`counter` AS `counter`, `e`.`checked` AS `checked`, `e`.`workerFk` AS `workerFk` FROM `vn2008`.`expeditions` `e`