I have the following Query:
SELECT * FROM folhapagamento_storages WHERE idFolhaParametro = '1' AND valor_min >= '1083.4' AND valor_max <= '1083.4'
Only the return will always be 0, what would you be doing wrong? What would be the correct logic?
In this case, you would only have to return to track 1, as a result, and it is zeroed ...