I want to execute a prepared statement like
prepare stmt1 from 'select * from tags where name in (?)' set @a='tag1, tag2' ; execute stmt1 using @a ;
But alas, it does not work as expected (it seems to treat the argument to in as a single string).
Is it possible to form a list like this using in in a prepared statement?