hi sir urgent..required a Query

From: "Rajeev Chaudhary, Noida" <rajeevc(at)noida(dot)hcltech(dot)com>
To: "'pgsql-sql(at)postgresql(dot)org'" <pgsql-sql(at)postgresql(dot)org>
Subject: hi sir urgent..required a Query
Date: 2004-04-09 12:28:19
Message-ID: 1B3885BC15C7024C845AAC78314766C583DC42@exch-01.noida.hcltech.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Hi Sir,
I am attaching a document with this file showing two table.. <<table_for_
you.doc>>

It consist of two table VALUE AND VALUE_TYPE..

when i have value_type_id=1 i must get Value_varchar column value

when i have value_type_id=2 i must get Value_int column value
Please send a SQL query for this...

I want to retrive

Thanks and Regards

Rajeev Chaudhary
HCL Technologies Ltd,
A-11, Sector 16, Noida, (U.P.) India
Email : rajeevc(at)noida(dot)hcltech(dot)com
Phone: +91 (120) 2510701 extn :3321

Disclaimer:

This message and any attachment(s) contained here are information that is
confidential,proprietary to HCL Technologies and its customers, privileged
or otherwise protected by law.The information is solely intended for the
individual or the entity it is addressed to. If you are not the intended
recipient of this message, you are not authorized to read, forward,
print,retain, copy or disseminate this message or any part of it. If you
have received this e-mail in error, please notify the sender immediately by
return e-mail and delete it from your computer.

Attachment Content-Type Size
table_for_ you.doc application/msword 27.0 KB

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message James Robinson 2004-04-09 14:33:57 Utility of recursive queries?
Previous Message SZŰCS Gábor 2004-04-09 12:23:07 Re: could not devise a query plan