USE `vn`;
CREATE 
     OR REPLACE ALGORITHM = UNDEFINED 
    DEFINER = `root`@`%` 
    SQL SECURITY DEFINER
VIEW `clientRisk` AS
    SELECT 
        `c`.`customer_id` AS `clientFk`,
        `c`.`company_id` AS `companyFk`,
        `c`.`amount` AS `amount`
    FROM
        `bi`.`customer_risk` `c`;
