10 lines
299 B
MySQL
10 lines
299 B
MySQL
|
CREATE OR REPLACE DEFINER=`root`@`localhost`
|
||
|
SQL SECURITY DEFINER
|
||
|
VIEW `vn`.`exchangeInsuranceInPrevious`
|
||
|
AS SELECT `ei`.`finished` AS `dated`,
|
||
|
`ei`.`amount` AS `amount`,
|
||
|
`ei`.`rate` AS `rate`
|
||
|
FROM `vn`.`exchangeInsurance` `ei`
|
||
|
WHERE `ei`.`amount` <> 0
|
||
|
AND `ei`.`financialProductTypefk` = 'SC'
|