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

9 lines
311 B
SQL

CREATE OR REPLACE DEFINER=`root`@`localhost`
SQL SECURITY DEFINER
VIEW `vn2008`.`account_detail`
AS SELECT `ac`.`id` AS `account_detail_id`,
`ac`.`value` AS `value`,
`ac`.`accountDetailTypeFk` AS `account_detail_type_id`,
`ac`.`supplierAccountFk` AS `Id_Proveedores_account`
FROM `vn`.`accountDetail` `ac`