Re: Intermediate values and unprivileged users

From: Grzegorz Jaśkiewicz <gryzman(at)gmail(dot)com>
To: Mark Morgan Lloyd <markMLl(dot)pgsql-general(at)telemetry(dot)co(dot)uk>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Intermediate values and unprivileged users
Date: 2009-09-24 14:18:29
Message-ID: 2f4958ff0909240718o762afeejf6a7a027cd882e50@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Use subselect...

SELECT f.foo, (CASE WHEN f.foo > 'something' THEN ...) FROM ( SELECT .... )
f;

In response to

Browse pgsql-general by date

  From Date Subject
Next Message sheepjxx 2009-09-24 14:19:09 What is the difference of foreign key?
Previous Message 纪晓曦 2009-09-24 14:18:27 What is the difference of foreign key?