mysql declare variable in function default value code example
Example: mysql declare variable
SET start = 1;
SET finish = 10;
SELECT * FROM places WHERE place BETWEEN start AND finish;
SET start = 1;
SET finish = 10;
SELECT * FROM places WHERE place BETWEEN start AND finish;