CREATE OR REPLACE DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `bi`.`facturacion_media_anual` AS SELECT `cac`.`clientFk` AS `Id_Cliente`, `cac`.`invoiced` AS `Consumo` FROM `bs`.`clientAnnualConsumption` `cac`