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

8 lines
208 B
MySQL
Raw Permalink Normal View History

CREATE OR REPLACE DEFINER=`root`@`localhost`
SQL SECURITY DEFINER
VIEW `vn2008`.`producer`
AS SELECT `p`.`id` AS `producer_id`,
`p`.`name` AS `name`,
`p`.`isVisible` AS `visible`
FROM `vn`.`producer` `p`