C
carl
I am using this query...
TRANSFORM Sum(Nz([PC Vol]/2,0)+Nz([BD Vol]/2,0)+Nz([MM Vol]/2,0)) AS
Expr1
SELECT Sum([PC Vol]/2)+Sum([BD Vol]/2)+Sum([MM Vol]/2) AS OCC_Vol
FROM OCC_Data
WHERE (((OCC_Data.date) Between [BeginDate] And [EndDate]) AND
((OCC_Data.Product) In ('OSTK','OIND')) AND ((OCC_Data.underlying) Not
In ('VIX','SPX','OEX','DJX')))
GROUP BY date
PIVOT OCC_Data.exchange In ("B","A","P","Z","C","W","I","Q","X");
I would lke to change the query so that is does not list out each date
- but instead sums all the days aonto one record.
Thank you in advance.
TRANSFORM Sum(Nz([PC Vol]/2,0)+Nz([BD Vol]/2,0)+Nz([MM Vol]/2,0)) AS
Expr1
SELECT Sum([PC Vol]/2)+Sum([BD Vol]/2)+Sum([MM Vol]/2) AS OCC_Vol
FROM OCC_Data
WHERE (((OCC_Data.date) Between [BeginDate] And [EndDate]) AND
((OCC_Data.Product) In ('OSTK','OIND')) AND ((OCC_Data.underlying) Not
In ('VIX','SPX','OEX','DJX')))
GROUP BY date
PIVOT OCC_Data.exchange In ("B","A","P","Z","C","W","I","Q","X");
I would lke to change the query so that is does not list out each date
- but instead sums all the days aonto one record.
Thank you in advance.