Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting top occurrence of master table
Message
From
26/08/2010 14:38:15
 
General information
Forum:
Microsoft SQL Server
Category:
Other
Environment versions
SQL Server:
SQL Server 2008
Application:
Web
Miscellaneous
Thread ID:
01478636
Message ID:
01478678
Views:
23
Thanks, I was able to find something:
SELECT Parent.Numero,ParentVersion.Title FROM Parent
INNER JOIN Child ON Parent.Numero=Child.NoParent 
WHERE Child.Numero = 
 (SELECT TOP 1 Numero FROM Child Child2
 WHERE Child2.NoParent=Parent.Numero
 ORDER BY Child2.ModDate DESC)
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
Next
Reply
Map
View

Click here to load this message in the networking platform