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`