Julio Cesar Rodriguez Dominguez escribió:
> http://www.postgresql.org/docs/current/static/functions-conditional.html
Muchas gracias,
Esta parte andaba buscando
SELECT a,
CASE a WHEN 1 THEN 'one'
WHEN 2 THEN 'two'
ELSE 'other'
END
FROM test;
Asunto resuelto.
Cordialmente,
Juan Ramírez
El Salvdor