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

11 lines
307 B
SQL

CREATE OR REPLACE DEFINER=`root`@`localhost`
SQL SECURITY DEFINER
VIEW `vn2008`.`balance_nest_tree`
AS SELECT `bnt`.`lft` AS `lft`,
`bnt`.`rgt` AS `rgt`,
`bnt`.`name` AS `name`,
`bnt`.`id` AS `id`,
`bnt`.`expenseFk` AS `Id_Gasto`,
`bnt`.`isSelected` AS `isSelected`
FROM `vn`.`balanceNestTree` `bnt`