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

8 lines
223 B
MySQL
Raw Normal View History

CREATE OR REPLACE DEFINER=`root`@`localhost`
SQL SECURITY DEFINER
VIEW `vn2008`.`reference_rate`
AS SELECT `rr`.`currencyFk` AS `moneda_id`,
`rr`.`dated` AS `date`,
`rr`.`value` AS `rate`
FROM `vn`.`referenceRate` `rr`