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

12 lines
300 B
MySQL
Raw Permalink Normal View History

2024-02-13 06:52:09 +00:00
CREATE OR REPLACE DEFINER=`root`@`localhost`
SQL SECURITY DEFINER
VIEW `vn2008`.`credit`
AS SELECT
`c`.`id` AS `id`,
`c`.`clientFk` AS `Id_Cliente`,
`c`.`workerFk` AS `Id_Trabajador`,
`c`.`amount` AS `amount`,
`c`.`created` AS `odbc_date`
FROM
`vn`.`clientCredit` `c`