ストアドプロシージャ
like に変数を使う
SET @ARTIST='Michael' ;
SELECT artist_name FROM artist_master
WHERE
artist_name LIKE CONCAT('%',@ARTIST,'%')
;
SET @ARTIST='Michael' ;
SELECT artist_name FROM artist_master
WHERE
artist_name LIKE CONCAT('%',@ARTIST,'%')
;