I have a table...
It has many rows for columns VEH and Datetime (long).
How can I retrieve the latest UNIQUE VEH for Datetime - for all VEH?
I want a single record (from the many) which represents the last record where VEH (datetime) is greater than all other records in the set.
Select * from currposition where mydate <= datetime.now AND VEH UNIQUE ...
This should return a unique VEH (only one) with the last record entered into the table..
Thanks
It has many rows for columns VEH and Datetime (long).
How can I retrieve the latest UNIQUE VEH for Datetime - for all VEH?
I want a single record (from the many) which represents the last record where VEH (datetime) is greater than all other records in the set.
Select * from currposition where mydate <= datetime.now AND VEH UNIQUE ...
This should return a unique VEH (only one) with the last record entered into the table..
Thanks