how to display value of variable in mysql 1

how to display value of variable in mysql

SELECT @variableName;

Here is what the above code is Doing:
1. We’re creating a variable called @variableName.
2. We’re setting the value of @variableName to the result of the query.
3. We’re selecting the value of @variableName.

Similar Posts