Tag: mysql case statement in stored procedure