joao
public text v1 · immutableselect rates.*,CHAR_LENGTH(rates.prefix) as somados from rates where prefix=SUBSTRING('11553134961033',1,CHAR_LENGTH(rates.prefix)) order by somados desc limit 1
select rates.*,CHAR_LENGTH(rates.prefix) as somados from rates where prefix=SUBSTRING('11553134961033',1,CHAR_LENGTH(rates.prefix)) order by somados desc limit 1