pg.ddx.io pgsql-jdbc@postgresql.org mailing list archive
help / color / mirror / Atom feedSQL Query Related
3+ messages / 3 participants
[nested] [flat]
* SQL Query Related
@ 2004-12-26 10:25 Rakesh Shembekar <srakesh_22@yahoo.com>
0 siblings, 2 replies; 3+ messages in thread
From: Rakesh Shembekar @ 2004-12-26 10:25 UTC (permalink / raw)
To: pgsql-jdbc
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!
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: SQL Query Related
@ 2004-12-26 12:31 Nico <nicohmail-postgresql@yahoo.com>
parent: Rakesh Shembekar <srakesh_22@yahoo.com>
1 sibling, 0 replies; 3+ messages in thread
From: Nico @ 2004-12-26 12:31 UTC (permalink / raw)
To: pgsql-jdbc
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" <srakesh_22@yahoo.com> 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
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!
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: SQL Query Related
@ 2004-12-26 17:04 Dave Cramer <pg@fastcrypt.com>
parent: Rakesh Shembekar <srakesh_22@yahoo.com>
1 sibling, 0 replies; 3+ messages in thread
From: Dave Cramer @ 2004-12-26 17:04 UTC (permalink / raw)
To: Rakesh Shembekar <srakesh_22@yahoo.com>; +Cc: pgsql-jdbc
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! <http://my.yahoo.com; – Get yours free!
--
Dave Cramer
http://www.postgresintl.com
519 939 0336
ICQ#14675561
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2004-12-26 17:04 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2004-12-26 10:25 SQL Query Related Rakesh Shembekar <srakesh_22@yahoo.com>
2004-12-26 12:31 ` Nico <nicohmail-postgresql@yahoo.com>
2004-12-26 17:04 ` Dave Cramer <pg@fastcrypt.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