USE `bs`; CREATE OR REPLACE ALGORITHM = UNDEFINED DEFINER = `root`@`%` SQL SECURITY DEFINER VIEW `bs`.`workerMana` AS SELECT `m`.`Id_Trabajador` AS `workerFk`, `m`.`used` AS `amount` FROM `bs`.`mana_spellers` `m`;