Comparar valor do banco de dados

Boa tarde Pessoal estou com dificuldade em pegar um valor do BD via select e comprar com um outro valor.
Em anexo o meu cenário de teste.


Desde já agradeço a ajuda.

Olá Rodrigo,

There are some problems with your question. For start, asking in other language than English makes difficult to get the needed attention. So please, always communicate in English in this Forum.

Another thing, is to post an image, that too makes very hard to see the problem, or even to attempt to reproduce the problem.

Now, for your actual problem,
The error message is telling us that it could not compare an array with a single element, which is a tuple, where the second member is empty and the first is a function named Decimal having as argument the string ‘826.98’, and this Decimal function is not defined.

To fix this, your Query keyword should return a proper value and not containing a call to a function.

Also, it seems you are defining a variable named ${RESPOSTA_SELECT[0][0]} that would appear to be selecting the first element of the first list of a variable, but it is just a list variable with a misleading name.

2 Likes