11 lines
307 B
MySQL
11 lines
307 B
MySQL
|
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`
|