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.

Help in generating the query

702934Aug 27 2009 — edited Nov 4 2010
Hi All,

I have the below requirement.
Master table:
Product ID 	Product Name
1			TV
2			Cellphone
3			Laptop
4			DVD Player

Details table:
Product ID	Spec type	Spec Detail
1			Color		Blue
1			Weight		20
2			Color		Blue
2			Weight		20
3			Color		Blue
3 			Weight		25
4			Color		Blue
4			Weight		20
4			Height		10
Im looking for a way to identify the products that has exact same specifications.

ie., in the above example TV and Cellphone has the exact specifications.
So the output of the query should be TV and Cellphone here.

Is it possible to do in a query or we need to have some sql block to perform this action.

Any help would be greatly appreciated.

Thanks,
Agathya
This post has been answered by Rob van Wijk on Aug 27 2009
Jump to Answer

Comments

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

Post Details

Locked on Sep 25 2009
Added on Aug 27 2009
14 comments
1,752 views