mysql declare variable with default in function 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;