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:
01593542
Views:
27
I am getting a "syntax error" when I try the above, namely
select R.* from Ratings R INNER JOIN (select Account, max(mRating) as MaxRatingForAccount from Ratings GROUP BY Account) Mx 
ON R.Account = Mx.Account and R.mRating = Mx.MaxRatingForAccount
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform