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

9 lines
251 B
SQL

CREATE OR REPLACE DEFINER=`root`@`localhost`
SQL SECURITY DEFINER
VIEW `vn2008`.`Remesas`
AS SELECT `r`.`id` AS `Id_Remesa`,
`r`.`dated` AS `Fecha Remesa`,
`r`.`accountingFk` AS `Banco`,
`r`.`companyFk` AS `empresa_id`
FROM `vn`.`remittance` `r`