12 lines
308 B
SQL
12 lines
308 B
SQL
CREATE OR REPLACE DEFINER=`root`@`localhost`
|
|
SQL SECURITY DEFINER
|
|
VIEW `vn2008`.`gastos_resumen`
|
|
AS SELECT
|
|
`es`.`id` AS `id`,
|
|
`es`.`expenseFk` AS `Id_Gasto`,
|
|
`es`.`year` AS `year`,
|
|
`es`.`month` AS `month`,
|
|
`es`.`amount` AS `importe`,
|
|
`es`.`companyFk` AS `empresa_id`
|
|
FROM
|
|
`vn`.`expenseManual` `es`; |