A rather simplistic question - in the following SQL statement, is it standard ANSI SQL to be able to select the max(statementdate) for each record as shown below? or is that an "extension" allowed by the particular DBMS? (in this case Sybase's Transact SQL) I haven't come across this usage in my ANSI SQL books.
Thanks!
Mark
Code:
select
brokercompany, statementdate = max(statementdate)
from dbo.brokeracctbalance
group by brokercompany
order by statementdate
Mark