"how to store query result in variable using mysql" Code Answer

3

surround that select with parentheses.

set @v1 := (select count(*) from user_rating);
select @v1;
By Eric Normand on January 12 2022

Answers related to “how to store query result in variable using mysql”

Only authorized users can answer the Search term. Please sign in first, or register a free account.