hi sir urgent..required a Query - Mailing list pgsql-sql

From Rajeev Chaudhary, Noida
Subject hi sir urgent..required a Query
Date
Msg-id 1B3885BC15C7024C845AAC78314766C583DC42@exch-01.noida.hcltech.com
Whole thread Raw
Responses Re: hi sir urgent..required a Query  (Josh Berkus <josh@agliodbs.com>)
List 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@noida.hcltech.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

pgsql-sql by date:

Previous
From: "yek ching"
Date:
Subject: pgsql multi-database queries
Next
From: Bruce Momjian
Date:
Subject: Re: Crypt() encryption