11 lines
341 B
SQL
11 lines
341 B
SQL
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`
|