SyntaxFix
Write A Post
Hire A Developer
Questions
Use set or select
SET @counter := 100; SELECT @variable_name := value;
example :
SELECT @price := MAX(product.price) FROM product