pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
hi sir urgent..required a Query
2+ messages / 2 participants
[nested] [flat]

* hi sir urgent..required a Query
@ 2004-04-09 12:28  Rajeev  Chaudhary, Noida <rajeevc@noida.hcltech.com>
  0 siblings, 1 reply; 2+ messages in thread

From: Rajeev Chaudhary, Noida @ 2004-04-09 12:28 UTC (permalink / raw)
  To: 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.

Attachments:

  table_for_ you.doc (application/msword, 27.0K) download

^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: hi sir urgent..required a Query
@ 2004-04-10 15:16  Josh Berkus <josh@agliodbs.com>
  parent: Rajeev  Chaudhary, Noida <rajeevc@noida.hcltech.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Josh Berkus @ 2004-04-10 15:16 UTC (permalink / raw)
  To: Rajeev Chaudhary, Noida <rajeevc@noida.hcltech.com>; pgsql-sql

Rajeev,

> 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...

Please re-post this with your table design in the body of your e-mail, and NO 
doc attachment.

-- 
Josh Berkus
Aglio Database Solutions
San Francisco



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2004-04-10 15:16 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2004-04-09 12:28 hi sir urgent..required a Query Rajeev  Chaudhary, Noida <rajeevc@noida.hcltech.com>
2004-04-10 15:16 ` Josh Berkus <josh@agliodbs.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox