--- I have written this below procedure but getting syntax error in prepare statement ----
DELIMITER $$
drop procedure if exists test;
CREATE PROCEDURE te