CREATE OR REPLACE DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `vn`.`annualAverageInvoiced` AS SELECT `cec`.`clientFk` AS `clientFk`, `cec`.`invoiced` AS `invoiced` FROM `bs`.`clientAnnualConsumption` `cec`