salix/services/db/install/changes/1.0.3/06-ticketWeekly.sql

10 lines
255 B
SQL

USE `vn`;
CREATE
OR REPLACE ALGORITHM = UNDEFINED
DEFINER = `root`@`%`
SQL SECURITY DEFINER
VIEW `ticketWeekly` AS
SELECT
`t`.`Id_Ticket` AS `ticketFk`, `t`.`weekDay` AS `weekDay`
FROM
`vn2008`.`Tickets_turno` `t`;