Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Query solution needed

BolevNov 8 2010 — edited Nov 9 2010
from the following tables:
Table 1 (ord)

ord_id	prod_id
101		1
101		2
102      	1
102      	3
103      	1
103		2
103		3
104      	1


Table  2 (map)

pkg_id	prod_id
1	1
1	2
2       1
2	3
3	2
3       3
4       1
4       2
4       3

Output

ord_id	pkg_id
101		1
102      	2
103      	4
104
Thanks.

Comments

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Dec 7 2010
Added on Nov 8 2010
7 comments
553 views