You get a bonus - 1 coin for daily activity. Now you have 1 coin

How to save SELECT INTO into multiple variables in a MySQL procedure

Practice




how to save a SELECT INTO into several variables in a MySQL procedure

SELECT d ,t INTO .. FROM

select field1, field2
into @var1, @var2 From...


or like this

SELECT @vid:= vid,@dist:=dist FROM


then the select will return data

Comments

To leave a comment

If you have any suggestion, idea, thanks or comment, feel free to write. We really value feedback and are glad to hear your opinion.
To reply

Lectures and tutorial on "Databases - MySql (Maria DB)"

Terms: Databases - MySql (Maria DB)