CREATE OR REPLACE DEFINER=`root`@`localhost`
SQL SECURITY DEFINER
VIEW `vn2008`.`recibida_intrastat`
AS SELECT `i`.`invoiceInFk` AS `recibida_id`,
`i`.`intrastatFk` AS `Codintrastat`,
`i`.`amount` AS `importe`
FROM `vn`.`invoiceInIntrastat` `i`