Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Select distinct record set from two identical tables
Message
From
05/02/2005 11:18:58
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Select distinct record set from two identical tables
Miscellaneous
Thread ID:
00984173
Message ID:
00984173
Views:
75
Hi All,

I have two tables which are identical in all respects; number of records, fields per record, and even the value of all fields except for the value of a particular datatime field. The records contain user access info, one record per user, and the datetime field contains the last access datetime.

I need to extract from these two files the latest record only for each user. So either the record from file1 or from file2, whichever has the latest datetime access.

I can obviously code this easily enough but was wondering if there was an easy one-liner SELECT statement or some such?

Thanks,
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.
Next
Reply
Map
View

Click here to load this message in the networking platform