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 903E13F4180 for ; Sun, 26 Dec 2004 10:25:58 +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 78188-04 for ; Sun, 26 Dec 2004 10:25:50 +0000 (GMT) Received: from web14301.mail.yahoo.com (web14301.mail.yahoo.com [216.136.173.77]) by svr1.postgresql.org (Postfix) with SMTP id 7E1F53F4161 for ; Sun, 26 Dec 2004 10:25:51 +0000 (GMT) Received: (qmail 24149 invoked by uid 60001); 26 Dec 2004 10:25:51 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=4H6+hLCWJ0Z4djBdNm9u53SlcznF8R7LesCgWisZwQjzrwTFzRQO+GRXm8Y2Zidee13YMe5wYu4imjQOYjnpEaHBbXHU+GTRsTahNDB7BVsL9Gae6Ed24VMF5SXnk/m7QXTkvXCpz5GNDZRPJLx/z3zKGyouTpe6Zhp/lo/sBnM= ; Message-ID: <20041226102551.24147.qmail@web14301.mail.yahoo.com> Received: from [211.1.95.207] by web14301.mail.yahoo.com via HTTP; Sun, 26 Dec 2004 02:25:51 PST Date: Sun, 26 Dec 2004 02:25:51 -0800 (PST) From: Rakesh Shembekar Subject: SQL Query Related To: pgsql-jdbc@postgresql.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1618517339-1104056751=:23754" X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=1.393 tagged_above=0 required=5 tests=DNS_FROM_RFC_ABUSE, FROM_ENDS_IN_NUMS, HTML_10_20, HTML_MESSAGE, UPPERCASE_25_50 X-Spam-Level: * X-Archive-Number: 200412/187 X-Sequence-Number: 11853 --0-1618517339-1104056751=:23754 Content-Type: text/plain; charset=us-ascii 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! --0-1618517339-1104056751=:23754 Content-Type: text/html; charset=us-ascii

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! --0-1618517339-1104056751=:23754--