SQL read back

SQL read back

Hi I have a SQL table with my variables, values and timestamp column. I want read the value and assign to my variable in zenon. What is the best possible solution