CREATE OR REPLACE DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `hedera`.`myTicketRow` AS SELECT `s`.`id` AS `id`, `s`.`itemFk` AS `itemFk`, `s`.`ticketFk` AS `ticketFk`, `s`.`concept` AS `concept`, `s`.`quantity` AS `quantity`, `s`.`price` AS `price`, `s`.`discount` AS `discount`, `s`.`reserved` AS `reserved`, `s`.`isPicked` AS `isPicked` FROM ( `vn`.`sale` `s` JOIN `hedera`.`myTicket` `t` ON(`s`.`ticketFk` = `t`.`id`) ) WITH CASCADED CHECK OPTION