salix/db/routines/vn2008/views/recovery.sql

11 lines
296 B
MySQL
Raw Permalink Normal View History

CREATE OR REPLACE DEFINER=`root`@`localhost`
SQL SECURITY DEFINER
VIEW `vn2008`.`recovery`
AS SELECT `r`.`id` AS `recovery_id`,
`r`.`clientFk` AS `Id_Cliente`,
`r`.`started` AS `dstart`,
`r`.`finished` AS `dend`,
`r`.`amount` AS `amount`,
`r`.`period` AS `period`
FROM `vn`.`recovery` `r`