Vou passar um escore por parametro e quero que me retorne … o registro que tem a classificação com escore passado dentro da faixa entre vlEscoreMinimo e vlEscoreMaximo
Considerando o escore 5, com SQL faria assim :
1. Select * from CLASSIFICACAO where 5 between VL_ESCORE_MINIMO and VL_ESCORE_MAXIMO
Select * from CLASSIFICACAO where 5 between VL_ESCORE_MINIMO and VL_ESCORE_MAXIMO