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

9 lines
311 B
MySQL
Raw Permalink Normal View History

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`