MARIADB Создайте представление

create [or replace] 
view [if not exists] view_name[(column_list)]
as 
select-statement;
Lovely Lemur