salix/db/routines/vn/views/annualAverageInvoiced.sql

7 lines
222 B
MySQL
Raw Normal View History

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