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

9 lines
306 B
SQL

CREATE OR REPLACE DEFINER=`root`@`localhost`
SQL SECURITY DEFINER
VIEW `vn2008`.`plantpassport`
AS SELECT `pp`.`producerFk` AS `producer_id`,
`pp`.`plantpassportAuthorityFk` AS `plantpassport_authority_id`,
`pp`.`number` AS `number`,
`pp`.`isRequested` AS `isRequested`
FROM `vn`.`plantpassport` `pp`