Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL -- getting hourly averages of 15 minute bars
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01593485
Message ID:
01593533
Views:
42
select account, mHour, MAX(mRating) as MAxRating FROM Ratings GROUP BY account, mHour, mRating
gives me losts of results -- presumable the max of the 15 minutes ratings in any given hour.
But--without writing a whole program--can I use SQL to show each account's
maximum rating in a given year or a given month.
Thank you again.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform