salix/db/routines/bi/views/tarifa_componentes.sql

12 lines
359 B
SQL

CREATE OR REPLACE DEFINER=`root`@`localhost`
SQL SECURITY DEFINER
VIEW `bi`.`tarifa_componentes`
AS SELECT `c`.`id` AS `Id_Componente`,
`c`.`name` AS `Componente`,
`c`.`typeFk` AS `tarifa_componentes_series_id`,
`c`.`classRate` AS `tarifa_class`,
`c`.`tax` AS `tax`,
`c`.`isRenewable` AS `is_renewable`,
`c`.`code` AS `code`
FROM `vn`.`component` `c`