Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Records matching MAX(Date)
Message
From
16/08/2002 06:18:31
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Records matching MAX(Date)
Miscellaneous
Thread ID:
00690278
Message ID:
00690278
Views:
60
Hi

Can I, in 1 SELECT statement, achieve the following:

Table1 contains fields PK = Primary Key, FK = Foreign Key, Date = Date.

I need to obtain the records from the table that have the highest date entry, do I need to select the dates first and then include those results in a sub-query in a 2nd Select?

Any ideas?

Thanks
Kev
Next
Reply
Map
View

Click here to load this message in the networking platform