DROP VIEW IF EXISTS `vn`.`dmsTicket` ; USE `vn`; CREATE OR REPLACE ALGORITHM = UNDEFINED DEFINER = `root`@`%` SQL SECURITY DEFINER VIEW `vn`.`ticketDms` AS SELECT `g`.`Id_Ticket` AS `ticketFk`, `g`.`gestdoc_id` AS `dmsFk` FROM `vn2008`.`tickets_gestdoc` `g`;