CREATE OR REPLACE DEFINER=`vn`@`localhost` SQL SECURITY DEFINER VIEW `vn`.`itemTaxCountrySpain` AS SELECT `i`.`id` AS `id`, `i`.`name` AS `name`, `i`.`typeFk` AS `typeFk`, `i`.`stems` AS `stems`, `i`.`description` AS `description`, `i`.`intrastatFk` AS `intrastatFk`, `i`.`expenseFk` AS `expenseFk`, `i`.`comment` AS `comment`, `i`.`relevancy` AS `relevancy`, `i`.`image` AS `image`, `i`.`generic` AS `generic`, `itc`.`taxClassFk` AS `taxClassFk` FROM ( `vn`.`item` `i` JOIN `vn`.`itemTaxCountry` `itc` ON(`itc`.`itemFk` = `i`.`id`) ) WHERE `itc`.`countryFk` = 1