--- On Tue, 1/29/08, Ivan Sergio Borgonovo <mail(at)webthatworks(dot)it> wrote:
>> other than defining a function such that I can write:
SELECT ( a-b ) as pippo
FROM Yourtable
WHERE ( a-b ) = 7
UNION ALL
SELECT ( a*b ) as pippo
FROM Yourtable
WHERE ( a*b ) < 12
AND a > 3
UNION ALL
SELECT ( a+b ) as pippo
FROM Yourtable
WHERE ( a+b ) < 12
AND a < 3;