Friends know how I can do a stored procedure using like that that receives a parameter, where when I say let's put the letter "a", look for all those that begin with that letter
create procedure sp_busca_albun(
in nombres varchar(200)
)
begin
select idalbum,nombrealbum,fotoalbum,nombreartista from
tb_album as tal inner join tb_artista as tar
on tal.idartista=tar.idartista
where tal.nombrealbum like '%' + nombres + '%' and tal.tipo='FREE';
END$$