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:
01593541
Views:
30
>For finding the maximum rating that a particular account had from 2011 through 2013, the output should look like this:
>
>
>Account    mYear    MaxRatings
>31425       2012        4.77
>87625       2013        1.23
>
>
>For finding the max rating, by account, and from 2011 through 2013, the output should look like this:
>
>
>Account    mYear    mMonth MaxRatings
>31425       2012        6             4.77
>87625       2013        9             1.23
>
>
>Thank you!!

Ok, good.

Now, based on all queries I already gave you, would you be able to create working queries to produce the output you need?

Please post what you come up with.

BTW, please enable AutoQuote in UT. To do so click on the Options menu of the message and check the 'Enable AutoQuote' option at the bottom.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform