Ver originalSELECT *, ROUND(REPLACE(ValorNum,",",".")) as pTotal FROM tabla_numeros *WHERE ROUND(REPLACE(ValorNum,",",".")) BETWEEN 551 AND 899 ORDER BY pTotal desc, id
Ver originalselect * from (SELECT *,ROUND(REPLACE(ValorNum,",",".")) as pTotal FROM tabla_numeros) T1 WHERE T1.pTotal BETWEEN 551 AND 899 ORDER BY T1.pTotal desc, T1.id