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 32A303F67E7 for ; Sun, 26 Dec 2004 17:04:42 +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 74033-05 for ; Sun, 26 Dec 2004 17:04:35 +0000 (GMT) Received: from net2.micro-automation.com (net2.micro-automation.com [64.7.141.29]) by svr1.postgresql.org (Postfix) with SMTP id 885973F67E3 for ; Sun, 26 Dec 2004 17:04:34 +0000 (GMT) Received: (qmail 10657 invoked from network); 26 Dec 2004 17:04:08 -0000 Received: from dcdsl.ebox.com (HELO ?192.168.1.36?) (davec@64.7.143.116) by net2.micro-automation.com with SMTP; 26 Dec 2004 17:04:08 -0000 Message-ID: <41CEEF1B.2080302@fastcrypt.com> Date: Sun, 26 Dec 2004 12:04:27 -0500 From: Dave Cramer Reply-To: pg@fastcrypt.com Organization: Postgres International User-Agent: Mozilla Thunderbird 1.0 (X11/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Rakesh Shembekar Cc: pgsql-jdbc@postgresql.org Subject: Re: SQL Query Related References: <20041226102551.24147.qmail@web14301.mail.yahoo.com> In-Reply-To: <20041226102551.24147.qmail@web14301.mail.yahoo.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.005 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200412/189 X-Sequence-Number: 11855 This is not really related to jdbc, please post to general, or for a more immediate, and interactive experience try #postgresql on irc.freenode.net Dave Rakesh Shembekar wrote: > 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 > 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! -- Dave Cramer http://www.postgresintl.com 519 939 0336 ICQ#14675561