2024-08-20 08:06:10 +00:00
|
|
|
CREATE OR REPLACE DEFINER=`vn`@`localhost`
|
2024-03-07 08:55:29 +00:00
|
|
|
SQL SECURITY DEFINER
|
|
|
|
VIEW `vn`.`exchangeInsuranceInPrevious`
|
2024-03-07 09:07:42 +00:00
|
|
|
AS SELECT `ei`.`dueDated` AS `dated`,
|
2024-03-07 08:55:29 +00:00
|
|
|
`ei`.`amount` AS `amount`,
|
|
|
|
`ei`.`rate` AS `rate`
|
|
|
|
FROM `vn`.`exchangeInsurance` `ei`
|
|
|
|
WHERE `ei`.`amount` <> 0
|
|
|
|
AND `ei`.`financialProductTypefk` = 'SC'
|