Oracle cube/crosstab query
Hi, I am a bit rusty on SQL and have the following problem.
I have a table ObjectData that contains the following fields:
For every ObjId there is a set of ObjAttribute 10-15 with corresponding ObjValue. The ObjCategory determins the set of ObjAttribute
Is there a way of making an SQL statement (oracle 9i) that gives the output as columns?
ObjAttribute can be hardcoded in the query if necessary, as the will not change and the attribute names are known
Output should be like this (showing column names)
Thanks in advance
ObjID ObjCategory Attribute1 Attribute2 Attribute3
By Ron Weller in forum Database
Last Post: 08-24-2007, 07:15 AM
By kylemcna in forum ASP.NET
Last Post: 04-13-2007, 02:23 AM
By Mark in forum Database
Last Post: 07-30-2002, 12:56 PM
By Jim Homa in forum VB Classic
Last Post: 07-21-2000, 04:15 PM
Tags for this Thread
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL