+ 1

How we declare temporary variable in MySQL ..

Declaration of temporary variable..

8th Jan 2020, 2:41 PM
Ravi gupta
Ravi gupta - avatar
1 Antwort
+ 5
SET @anyVariableName=(SELECT yourColumnName FROM yourTableName WHERE yourCondition); See this link https://www.tutorialspoint.com/mysql-temporary-variable-assignment
22nd Jan 2020, 3:24 PM
Pedro H.J
Pedro H.J - avatar