how to query taking only initial variable in mysql 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;