CREATE OR REPLACE DEFINER=`vn`@`localhost`
	SQL SECURITY DEFINER
	VIEW `hedera`.`myTicketService`
AS SELECT `s`.`id` AS `id`,
	`s`.`description` AS `description`,
	`s`.`quantity` AS `quantity`,
	`s`.`price` AS `price`,
	`s`.`taxClassFk` AS `taxClassFk`,
	`s`.`ticketFk` AS `ticketFk`,
	`s`.`ticketServiceTypeFk` AS `ticketServiceTypeFk`
FROM (
		`vn`.`ticketService` `s`
		JOIN `hedera`.`myTicket` `t` ON(`s`.`ticketFk` = `t`.`id`)
	)
WITH CASCADED CHECK OPTION
