10 lines
270 B
MySQL
10 lines
270 B
MySQL
|
CREATE OR REPLACE DEFINER=`root`@`localhost`
|
||
|
SQL SECURITY DEFINER
|
||
|
VIEW `vn2008`.`escritos`
|
||
|
AS SELECT `s`.`id` AS `id`,
|
||
|
`s`.`code` AS `abrev`,
|
||
|
`s`.`description` AS `descripcion`,
|
||
|
`s`.`isVisible` AS `visible`,
|
||
|
`s`.`hasCompany` AS `hasCompany`
|
||
|
FROM `vn`.`sample` `s`
|