DECLARE VAR IN MYSQL COMMAND LINE 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;