7 lines
221 B
MySQL
7 lines
221 B
MySQL
|
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`
|