14 lines
358 B
SQL
14 lines
358 B
SQL
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`;
|