CREATE OR REPLACE DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `hedera`.`myClient` AS SELECT `c`.`id` AS `id`, `c`.`isToBeMailed` AS `isToBeMailed`, `c`.`defaultAddressFk` AS `defaultAddressFk`, `c`.`credit` AS `credit` FROM `vn`.`client` `c` WHERE `c`.`id` = `account`.`myUser_getId`() WITH CASCADED CHECK OPTION