Help on crosstab query for oracle [message #373040] |
Fri, 23 March 2001 12:28 |
Lisa Cheng
Messages: 2 Registered: March 2001
|
Junior Member |
|
|
Hi, I need help on the following query to be woring in Oracle. Thanks.
TRANSFORM Sum(tblRequests.Cost) AS SumOfCost
SELECT tblRequests.ProjectNum, tblRequests.Title
FROM tblRequests
WHERE tblRequests.FiscYear Between 1997 And 2001
GROUP BY tblRequests.ProjectNum, tblRequests.Title
ORDER BY tblRequests.ProjectNum
PIVOT tblRequests.FiscalYear In (1997, 1998, 1999, 2000, 2001);
Lisa Cheng
|
|
|
|