DELIMITER $$ CREATE OR REPLACE DEFINER=`root`@`localhost` PROCEDURE `hedera`.`myTicket_getServices`(vSelf INT) BEGIN /** * Returns a current user ticket services. * * @param vSelf The ticket identifier * @select The ticket services */ SELECT id, description, quantity, price FROM myTicketService WHERE ticketFk = vSelf; END$$ DELIMITER ;