X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id E1A023F52D4 for ; Sun, 26 Dec 2004 12:31:56 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 08375-06 for ; Sun, 26 Dec 2004 12:31:48 +0000 (GMT) Received: from floppy.pyrenet.fr (news.pyrenet.fr [194.250.190.2]) by svr1.postgresql.org (Postfix) with ESMTP id D6A773F52EC for ; Sun, 26 Dec 2004 12:31:50 +0000 (GMT) Received: by floppy.pyrenet.fr (Postfix, from userid 106) id 4D97731972; Sun, 26 Dec 2004 13:31:49 +0100 (MET) From: "Nico" X-Newsgroups: pgsql.interfaces.jdbc Subject: Re: SQL Query Related Date: Sun, 26 Dec 2004 13:31:46 +0100 Organization: Hub.Org Networking Services Lines: 94 Message-ID: References: <20041226102551.24147.qmail@web14301.mail.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0066_01C4EB4F.3ED337B0" X-Complaints-To: usenet@news.hub.org X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 To: pgsql-jdbc@postgresql.org X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=3.229 tagged_above=0 required=5 tests=AWL, FORGED_YAHOO_RCVD, HTML_40_50, HTML_MESSAGE, PRIORITY_NO_NAME X-Spam-Level: *** X-Archive-Number: 200412/188 X-Sequence-Number: 11854 This is a multi-part message in MIME format. ------=_NextPart_000_0066_01C4EB4F.3ED337B0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I can make head nor tales from your message. Give the table = structures(name table+names & type fields). Then tell what you want to = extract from it. Then I can help you. Kind regards, Nico. "Rakesh Shembekar" schreef in bericht = news:20041226102551.24147.qmail@web14301.mail.yahoo.com... Dear Masters I want to retrieve data from table as following how can I build a = query? I will extact PRODUCT_ID from table say T_DAILY_SALE_DETAIL which is = having column as PRODUCT_ID which is char type. Using this PRODUCT_ID I will extract another 2 product number which I = am storing in table say T_PRODUCT_MST having column names PRODUCT_TYPE and = PRODUCT_SUB_TYPE both pf char datatype Using PRODUCT_TYPE and PRODUCT_SUB_TYPE got from this query I want to = retrive names of=20 of product from T_GOODS_KIND table. How I can proceed? Please help me out... Raj -------------------------------------------------------------------------= ----- Do you Yahoo!? The all-new My Yahoo! - Get yours free! ------=_NextPart_000_0066_01C4EB4F.3ED337B0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I can make head nor tales from your = message. Give=20 the table structures(name table+names & type fields). Then tell what = you=20 want to extract from it. Then I can help you.
Kind=20 regards,
Nico.
"Rakesh Shembekar" <srakesh_22@yahoo.com> = schreef in=20 bericht news:200= 41226102551.24147.qmail@web14301.mail.yahoo.com...

Dear Masters

I want to retrieve data from table as following how can I build a=20 query?
I will extact PRODUCT_ID from table say T_DAILY_SALE_DETAIL = which is=20 having column as
PRODUCT_ID which is char type.
Using this = PRODUCT_ID I=20 will extract another 2 product number which I am storing in = table
say=20 T_PRODUCT_MST having column names PRODUCT_TYPE and PRODUCT_SUB_TYPE = both pf=20 char datatype
Using PRODUCT_TYPE and PRODUCT_SUB_TYPE got from this = query I=20 want to retrive names of
of product from T_GOODS_KIND = table.
How I can=20 proceed?
Please help me out...

Raj


Do you Yahoo!?
The all-new My = Yahoo! =96=20 Get yours free! ------=_NextPart_000_0066_01C4EB4F.3ED337B0--