Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> SQL Question
I have given the following question. I need help on this.
Given a schema for a stock trades table that looks like:
*stocktrades (*
Assuming the above table holds data for exactly one day of
information
(midnight to 11:59.59 PM), write the query needed to summarize the
stock trades data into the following table that holds weighted
average
price for each stock for every hourly period during that day:
*avgtrades (*
![]() |
![]() |