Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: SQL Query
3 2002 12:03, :
> I have a table test((NAME VARCHAR2(10),AGE NUMBER(2));
>
> data of the table is
>
> NAME AGE
> ---------- ---------
> ANAND 1
> BALU 2
> CHANDU 3
> DAVID 4
>
>
> I want a query which give me the result as
>
> NAME AGE
> ---------- ---------
> ANAND 4
> BALU 3
> CHANDU 2
> DAVID 1
>
select NAME, 5-AGE AGE from test;
Are you want that or "general" revers of AGE ?
> Can any body pl. help me.
>
> Anand Kumar
> ITW Signode India Ltd
-- y筅~'"jS kڝاzN nu楊w{Zx I_at_NDReceived on Thu Oct 03 2002 - 03:48:24 CDT