この構文の何が問題になっていますか?
mysql 5.5、phpmyadmin 3.4
delimiter ;;
create procedure foo(a text, b int, c text)
begin
select * from table_a where attribute1 like %a%
and attribute2 = b
and attribute3 like %c%
end
;;
phpmyadmin は 1 行目で間違った構文を教えてくれますが、何があっても機能していないようです。