11 lines
341 B
MySQL
11 lines
341 B
MySQL
|
CREATE OR REPLACE DEFINER=`root`@`localhost`
|
||
|
SQL SECURITY DEFINER
|
||
|
VIEW `bi`.`claims_ratio`
|
||
|
AS SELECT `cr`.`clientFk` AS `Id_Cliente`,
|
||
|
`cr`.`yearSale` AS `Consumo`,
|
||
|
`cr`.`claimAmount` AS `Reclamaciones`,
|
||
|
`cr`.`claimingRate` AS `Ratio`,
|
||
|
`cr`.`priceIncreasing` AS `recobro`,
|
||
|
`cr`.`packingRate` AS `inflacion`
|
||
|
FROM `vn`.`claimRatio` `cr`
|