Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to select TOP 1 in a LEFT JOIN?
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
How to select TOP 1 in a LEFT JOIN?
Environment versions
Visual FoxPro:
VFP 9
Database:
MS SQL Server
Miscellaneous
Thread ID:
01036783
Message ID:
01036783
Views:
46
I want to select list of companies and the lastest order for each company. I am trying to see if I could use TOP # syntax but can't find a way to apply it to a LEFT JOIN table.

Anybody has any suggestions?

Thank you.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Next
Reply
Map
View

Click here to load this message in the networking platform