Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Group BY with two fields
Message
From
15/09/2010 12:34:16
 
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Environment versions
SQL Server:
SQL Server 2008
Application:
Web
Miscellaneous
Thread ID:
01481287
Message ID:
01481291
Views:
31
>In your case you just need to get MAX(Event.DateTime) as LastDateTime
>
>SELECT Event.RO_No,max(Event.DateTime) as LastDateTime FROM Event GROUP BY Event.RO_No
I am pretty sure I tried that a few minutes before I posted this message. I must have typed something wrong. It is working. Thanks
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Reply
Map
View

Click here to load this message in the networking platform