SELECT NOME,
(CASE WHEN LIMITE_DE_CREDITO >= 150000 THEN 'CLIENTE GRANDE'
WHEN LIMITE_DE_CREDITO BETWEEN 110000 AND 150000 THEN 'CLIENTE MEDIO'
ELSE 'CLIENTE PEQUENO'
END)AS "TIPO DE CLIENTE"
from tabela_de_clientes ORDER BY "TIPO DE CLIENTE";