salix/db/routines/vn2008/views/ticket_observation.sql

9 lines
301 B
MySQL
Raw Permalink Normal View History

CREATE OR REPLACE DEFINER=`root`@`localhost`
SQL SECURITY DEFINER
VIEW `vn2008`.`ticket_observation`
AS SELECT `to`.`id` AS `ticket_observation_id`,
`to`.`ticketFk` AS `Id_Ticket`,
`to`.`observationTypeFk` AS `observation_type_id`,
`to`.`description` AS `text`
FROM `vn`.`ticketObservation` `to`