[dba-SQLServer] Accees Grouping Vs SQL

Susan Harkins ssharkins at setel.com
Fri Sep 22 18:59:17 CDT 2006


MIN and MAX aren't interchangeable with FIRST and LAST. 

Susan H. 

Something that may help is the MIN or MAX arguments

E.g. select min(StartDate) as 'First Date' from SomeTable





More information about the dba-SQLServer mailing list