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

7 lines
216 B
MySQL
Raw Permalink Normal View History

2024-08-20 08:06:10 +00:00
CREATE OR REPLACE DEFINER=`vn`@`localhost`
SQL SECURITY DEFINER
VIEW `vn`.`annualAverageInvoiced`
AS SELECT `cec`.`clientFk` AS `clientFk`,
`cec`.`invoiced` AS `invoiced`
FROM `bs`.`clientAnnualConsumption` `cec`