Re: Retrieving 'Credit' when 'C'

From: Rodrigo De León <rdeleonp(at)gmail(dot)com>
To: pgsql-sql(at)postgresql(dot)org
Subject: Re: Retrieving 'Credit' when 'C'
Date: 2007-02-15 16:28:10
Message-ID: a55915760702150828h769483d4p2255157b52435483@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

SELECT CASE
WHEN TYPE = 'C'
THEN 'CREDIT'
END AS TYPE
FROM mytable

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Alvaro Herrera 2007-02-15 16:30:14 Re: Retrieving 'Credit' when 'C'
Previous Message Ezequias Rodrigues da Rocha 2007-02-15 16:17:46 Retrieving 'Credit' when 'C'