CREATE OR REPLACE DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `vn2008`.`Tickets_turno` AS SELECT `tw`.`ticketFk` AS `Id_Ticket`, `tw`.`weekDay` AS `weekDay` FROM `vn`.`ticketWeekly` `tw`