17 lines
473 B
SQL
17 lines
473 B
SQL
|
|
CREATE
|
|
OR REPLACE ALGORITHM = UNDEFINED
|
|
DEFINER = `root`@`%`
|
|
SQL SECURITY DEFINER
|
|
VIEW `vn`.`componentRate` AS
|
|
SELECT
|
|
`t`.`Id_Componente` AS `id`,
|
|
`t`.`Componente` AS `name`,
|
|
`t`.`tarifa_componentes_series_id` AS `componentTypeRate`,
|
|
`t`.`tarifa_class` AS `classRate`,
|
|
`t`.`tax` AS `tax`,
|
|
`t`.`is_renewable` AS `isRenewable`,
|
|
`t`.`code` AS `code`
|
|
FROM
|
|
`bi`.`tarifa_componentes` `t`;
|