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

9 lines
232 B
SQL

CREATE OR REPLACE DEFINER=`root`@`localhost`
SQL SECURITY DEFINER
VIEW `vn2008`.`Monedas`
AS SELECT `c`.`id` AS `Id_Moneda`,
`c`.`code` AS `Moneda`,
`c`.`name` AS `Descripcion`,
`c`.`ratio` AS `Cambio`
FROM `vn`.`currency` `c`