Process SQL Result as a variable

Please download and post each of those event block(s)/procedures here ...
(sample video)