14 lines
358 B
MySQL
14 lines
358 B
MySQL
|
USE `vn`;
|
||
|
CREATE
|
||
|
OR REPLACE ALGORITHM = UNDEFINED
|
||
|
DEFINER = `root`@`%`
|
||
|
SQL SECURITY DEFINER
|
||
|
VIEW `vn`.`specialPrice` AS
|
||
|
SELECT
|
||
|
`p`.`Id_PrecioEspecial` AS `id`,
|
||
|
`p`.`Id_Cliente` AS `clientFk`,
|
||
|
`p`.`Id_Article` AS `itemFk`,
|
||
|
`p`.`PrecioEspecial` AS `value`
|
||
|
FROM
|
||
|
`vn2008`.`PreciosEspeciales` `p`;
|